| Index: milo/appengine/buildbot/html_data.go
|
| diff --git a/milo/appengine/buildbot/html_data.go b/milo/appengine/buildbot/html_data.go
|
| index 17752be28c1fb4f5ed66cf12cf3e4ecb75b5e2ab..b68f4ffd2ea8e58c529c0398507e988299a52a7c 100644
|
| --- a/milo/appengine/buildbot/html_data.go
|
| +++ b/milo/appengine/buildbot/html_data.go
|
| @@ -24,16 +24,8 @@ var testCases = []struct {
|
| {"win_chromium_rel_ng", 246309},
|
| }
|
|
|
| -// TestableBuild is a subclass of Build that interfaces with TestableHandler and
|
| -// includes sample test data.
|
| -type TestableBuild struct{ Build }
|
| -
|
| -// TestableBuilder is a subclass of Builder that interfaces with TestableHandler
|
| -// and includes sample test data.
|
| -type TestableBuilder struct{ Builder }
|
| -
|
| -// TestData returns sample test data.
|
| -func (b Build) TestData() []settings.TestBundle {
|
| +// BuildTestData returns sample test data for build pages.
|
| +func BuildTestData() []settings.TestBundle {
|
| c := memory.Use(context.Background())
|
| c, _ = testclock.UseTime(c, testclock.TestTimeUTC)
|
| bundles := []settings.TestBundle{}
|
| @@ -54,8 +46,8 @@ func (b Build) TestData() []settings.TestBundle {
|
| return bundles
|
| }
|
|
|
| -// TestData returns sample test data.
|
| -func (b Builder) TestData() []settings.TestBundle {
|
| +// BiulderTestData returns sample test data for builder pages.
|
| +func BuilderTestData() []settings.TestBundle {
|
| return []settings.TestBundle{
|
| {
|
| Description: "Basic Test no builds",
|
|
|