Part of lp.code.browser.tests.test_sourcepackagerecipe View In Hierarchy
Known subclasses: lp.code.browser.tests.test_sourcepackagerecipe.TestSourcePackageRecipeBuildViewBzr, lp.code.browser.tests.test_sourcepackagerecipe.TestSourcePackageRecipeBuildViewGit
Method | setUp | Provide useful defaults. |
Method | makeBuild | Make a build suitable for testing. |
Method | makeBuildView | Return a view of a build suitable for testing. |
Method | test_estimate | Time should be estimated until the job is completed. |
Method | test_eta | ETA should be reasonable. |
Method | getBuildBrowser | Return a browser for the specified build, opened as owner. |
Method | test_render_index | Test the basic index page. |
Method | test_render_index_completed | Test the index page of a completed build. |
Method | makeBuildAndRelease | Make a build and release suitable for testing. |
Method | makeBinaryBuild | Make a binary build with specified release and architecturetag. |
Method | test_render_binary_builds | BinaryBuilds for this source build are shown if they exist. |
Method | test_logtail | Logtail is shown for BUILDING builds. |
Method | getMainText | Return the main text of a view's web page. |
Method | test_buildlog | A link to the build log is shown if available. |
Method | test_uploadlog | A link to the upload log is shown if available. |
It should be None if there is no builder or queue entry. It should be getEstimatedJobStartTime + estimated duration for jobs that have not started. It should be bq.date_started + estimated duration for jobs that have started.