OLD | NEW |
1 // Copyright 2017 The LUCI Authors. All rights reserved. | 1 // Copyright 2017 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 package buildbot | 5 package buildbot |
6 | 6 |
7 import ( | 7 import ( |
8 "context" | 8 "context" |
9 "testing" | 9 "testing" |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 Builders: map[string]*buildbotBuilder{"fake": {}}, | 32 Builders: map[string]*buildbotBuilder{"fake": {}}, |
33 }, true), ShouldBeNil) | 33 }, true), ShouldBeNil) |
34 | 34 |
35 Convey(`GetAllBuilders()`, func() { | 35 Convey(`GetAllBuilders()`, func() { |
36 cs, err := GetAllBuilders(c) | 36 cs, err := GetAllBuilders(c) |
37 So(err, ShouldBeNil) | 37 So(err, ShouldBeNil) |
38 So(len(cs.BuilderGroups), ShouldEqual, 1) | 38 So(len(cs.BuilderGroups), ShouldEqual, 1) |
39 }) | 39 }) |
40 }) | 40 }) |
41 } | 41 } |
OLD | NEW |