| OLD | NEW |
| 1 package model | 1 package model |
| 2 | 2 |
| 3 import ( | 3 import ( |
| 4 "encoding/json" | 4 "encoding/json" |
| 5 "testing" | 5 "testing" |
| 6 | 6 |
| 7 . "github.com/smartystreets/goconvey/convey" | 7 . "github.com/smartystreets/goconvey/convey" |
| 8 ) | 8 ) |
| 9 | 9 |
| 10 func TestFullResult(t *testing.T) { | 10 func TestFullResult(t *testing.T) { |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 "baz": AggregateTest{ | 112 "baz": AggregateTest{ |
| 113 "qux": Aggregate
Test{ | 113 "qux": Aggregate
Test{ |
| 114 "baaz":
&AggregateTestLeaf{ | 114 "baaz":
&AggregateTestLeaf{ |
| 115
Results: []ResultSummary{{1, "C"}}, | 115
Results: []ResultSummary{{1, "C"}}, |
| 116
Runtimes: []RuntimeSummary{{1, 0}}, | 116
Runtimes: []RuntimeSummary{{1, 0}}, |
| 117
Expected: []string{"CRASH", "AUDIO"}, | 117
Expected: []string{"CRASH", "AUDIO"}, |
| 118 }, | 118 }, |
| 119 }, | 119 }, |
| 120 "baax": &Aggrega
teTestLeaf{ | 120 "baax": &Aggrega
teTestLeaf{ |
| 121 Results:
[]ResultSummary{{1, "PAC"}}, | 121 Results:
[]ResultSummary{{1, "PAC"}}, |
| 122 » » » » » » » » » Runtimes
: []RuntimeSummary{{1, 20.9}}, | 122 » » » » » » » » » Runtimes
: []RuntimeSummary{{1, 21}}, |
| 123 Expected
: []string{"PASS", "CRASH"}, | 123 Expected
: []string{"PASS", "CRASH"}, |
| 124 Bugs:
[]string{"crbug.com/700", "crbug.com/900"}, | 124 Bugs:
[]string{"crbug.com/700", "crbug.com/900"}, |
| 125 }, | 125 }, |
| 126 }, | 126 }, |
| 127 }, | 127 }, |
| 128 FailuresByType: map[string][]int
{ | 128 FailuresByType: map[string][]int
{ |
| 129 "A": {5}, | 129 "A": {5}, |
| 130 "Q": {11}, | 130 "Q": {11}, |
| 131 }, | 131 }, |
| 132 ChromeRevs: []string{"45000"}, | 132 ChromeRevs: []string{"45000"}, |
| 133 }, | 133 }, |
| 134 }) | 134 }) |
| 135 }) | 135 }) |
| 136 }) | 136 }) |
| 137 }) | 137 }) |
| 138 } | 138 } |
| OLD | NEW |