| Index: milo/appengine/swarming/html_data.go
|
| diff --git a/milo/appengine/swarming/html_data.go b/milo/appengine/swarming/html_data.go
|
| index 6230e543c12d086c31b6f270099d019d8325bc89..3985600ac236dc636df427422bd69c17cdc6ad60 100644
|
| --- a/milo/appengine/swarming/html_data.go
|
| +++ b/milo/appengine/swarming/html_data.go
|
| @@ -147,16 +147,8 @@ func (svc debugSwarmingService) getTaskOutput(c context.Context, taskID string)
|
| return svc.tc.getSwarmingOutput(), nil
|
| }
|
|
|
| -// TestableLog is a subclass of Log that interfaces with TestableHandler and
|
| -// includes sample test data.
|
| -type TestableLog struct{ Log }
|
| -
|
| -// TestableBuild is a subclass of Build that interfaces with TestableHandler and
|
| -// includes sample test data.
|
| -type TestableBuild struct{ Build }
|
| -
|
| -// TestData returns sample test data.
|
| -func (l TestableLog) TestData() []settings.TestBundle {
|
| +// LogTestData returns sample test data for log pages.
|
| +func LogTestData() []settings.TestBundle {
|
| return []settings.TestBundle{
|
| {
|
| Description: "Basic log",
|
| @@ -235,8 +227,8 @@ func datagramGetResponse(project, prefix string, msg proto.Message) *logdog.GetR
|
| }
|
| }
|
|
|
| -// TestData returns sample test data.
|
| -func (b TestableBuild) TestData() []settings.TestBundle {
|
| +// BuildTestData returns sample test data for swarming build pages.
|
| +func BuildTestData() []settings.TestBundle {
|
| basic := resp.MiloBuild{
|
| Summary: resp.BuildComponent{
|
| Label: "Test swarming build",
|
|
|