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

Unified Diff: milo/appengine/settings/testable_handler.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/settings/testable_handler.go
diff --git a/milo/appengine/settings/testable_handler.go b/milo/appengine/settings/testable_handler.go
deleted file mode 100644
index e7b517a19564231029154420a6d1cde099a435b7..0000000000000000000000000000000000000000
--- a/milo/appengine/settings/testable_handler.go
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2016 The LUCI Authors. All rights reserved.
-// Use of this source code is governed under the Apache License, Version 2.0
-// that can be found in the LICENSE file.
-
-// Data Structures used for defining test data for use with testing each theme.
-
-package settings
-
-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.
- Description string
- // Data is the data fed directly into the template.
- Data templates.Args
-}

Powered by Google App Engine
This is Rietveld 408576698