Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Unified Diff: milo/appengine/common/testBundle.go

Issue 2748073006: Milo Refactor: Remove theme support (Closed)
Patch Set: Fix builder.html pointer Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: milo/appengine/common/testBundle.go
diff --git a/milo/appengine/settings/testable_handler.go b/milo/appengine/common/testBundle.go
similarity index 63%
rename from milo/appengine/settings/testable_handler.go
rename to milo/appengine/common/testBundle.go
index e7b517a19564231029154420a6d1cde099a435b7..19a7eaeb1591c18b926cd8b4026d13f4ff50ed4f 100644
--- a/milo/appengine/settings/testable_handler.go
+++ b/milo/appengine/common/testBundle.go
@@ -4,20 +4,12 @@
// Data Structures used for defining test data for use with testing each theme.
-package settings
+package common
import (
"github.com/luci/luci-go/server/templates"
)
-// TestableHandler pairs up a handler with a list of test data.
-type TestableHandler interface {
- // ThemedHandler represents the Hanler that this TestableHandler is associated with.
- ThemedHandler
- // TestData returns a list of example data used for testing if a theme renders correctly.
- TestData() []TestBundle
-}
-
// TestBundle is a template arg associated with a description used for testing.
type TestBundle struct {
// Description is a short one line description of what the data contains.

Powered by Google App Engine
This is Rietveld 408576698