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

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

Issue 2748073006: Milo Refactor: Remove theme support (Closed)
Patch Set: Fix tests 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/settings/testBundle.go
diff --git a/milo/appengine/settings/testable_handler.go b/milo/appengine/settings/testBundle.go
similarity index 65%
rename from milo/appengine/settings/testable_handler.go
rename to milo/appengine/settings/testBundle.go
index e7b517a19564231029154420a6d1cde099a435b7..c68b80af7e60d61895c83a5231a0a0275623d79b 100644
--- a/milo/appengine/settings/testable_handler.go
+++ b/milo/appengine/settings/testBundle.go
@@ -10,14 +10,6 @@ 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