| 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 package buildbot | 5 package buildbot |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "bytes" | 8 "bytes" |
| 9 "compress/zlib" | 9 "compress/zlib" |
| 10 "encoding/base64" | 10 "encoding/base64" |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 So(m.Project.Title, ShouldEqual, "some title") | 485 So(m.Project.Title, ShouldEqual, "some title") |
| 486 So(m.Slaves["testslave"].Name, ShouldEqual, "tes
tslave") | 486 So(m.Slaves["testslave"].Name, ShouldEqual, "tes
tslave") |
| 487 So(len(m.Slaves["testslave"].Runningbuilds), Sho
uldEqual, 0) | 487 So(len(m.Slaves["testslave"].Runningbuilds), Sho
uldEqual, 0) |
| 488 So(len(m.Slaves["testslave"].RunningbuildsMap),
ShouldEqual, 1) | 488 So(len(m.Slaves["testslave"].RunningbuildsMap),
ShouldEqual, 1) |
| 489 So(m.Slaves["testslave"].RunningbuildsMap["Fake
buildername"][0], | 489 So(m.Slaves["testslave"].RunningbuildsMap["Fake
buildername"][0], |
| 490 ShouldEqual, 2222) | 490 ShouldEqual, 2222) |
| 491 }) | 491 }) |
| 492 }) | 492 }) |
| 493 }) | 493 }) |
| 494 } | 494 } |
| OLD | NEW |