OLD | NEW |
1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 // Data Structures used for defining test data for use with testing each theme. | 5 // Data Structures used for defining test data for use with testing each theme. |
6 | 6 |
7 package common | 7 package common |
8 | 8 |
9 import ( | 9 import ( |
10 "github.com/luci/luci-go/server/templates" | 10 "github.com/luci/luci-go/server/templates" |
11 ) | 11 ) |
12 | 12 |
13 // TestBundle is a template arg associated with a description used for testing. | 13 // TestBundle is a template arg associated with a description used for testing. |
14 type TestBundle struct { | 14 type TestBundle struct { |
15 // Description is a short one line description of what the data contains
. | 15 // Description is a short one line description of what the data contains
. |
16 Description string | 16 Description string |
17 // Data is the data fed directly into the template. | 17 // Data is the data fed directly into the template. |
18 Data templates.Args | 18 Data templates.Args |
19 } | 19 } |
OLD | NEW |