OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import 'package:args/args.dart'; | 5 import 'package:args/args.dart'; |
6 import 'package:expect/expect.dart'; | 6 import 'package:expect/expect.dart'; |
7 import 'package:gardening/src/buildbot_structures.dart'; | 7 import 'package:gardening/src/buildbot_structures.dart'; |
8 import 'package:gardening/src/util.dart'; | 8 import 'package:gardening/src/util.dart'; |
9 | 9 |
10 import 'test_client.dart'; | 10 import 'test_client.dart'; |
(...skipping 17 matching lines...) Expand all Loading... |
28 if (s.config.testName == testName) { | 28 if (s.config.testName == testName) { |
29 status = s; | 29 status = s; |
30 break; | 30 break; |
31 } | 31 } |
32 } | 32 } |
33 Expect.isNotNull(status, "TestStatus for '$testName' not found."); | 33 Expect.isNotNull(status, "TestStatus for '$testName' not found."); |
34 Expect.equals( | 34 Expect.equals( |
35 expectedStatus, status.status, "Unexpected status for '$testName'."); | 35 expectedStatus, status.status, "Unexpected status for '$testName'."); |
36 } | 36 } |
37 | 37 |
38 checkTest('corelib/list_growable_test', 'pass'); | |
39 checkTest('corelib_2/map_keys2_test', 'fail'); | 38 checkTest('corelib_2/map_keys2_test', 'fail'); |
40 client.close(); | 39 client.close(); |
41 } | 40 } |
OLD | NEW |