| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 library docgen.generate_json_test; | 5 library docgen.generate_json_test; |
| 6 | 6 |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 | 8 |
| 9 import 'package:path/path.dart' as p; | 9 import 'package:path/path.dart' as p; |
| 10 import 'package:scheduled_test/descriptor.dart' as d; | 10 import 'package:scheduled_test/descriptor.dart' as d; |
| 11 import 'package:scheduled_test/scheduled_test.dart'; | 11 import 'package:scheduled_test/scheduled_test.dart'; |
| 12 import 'package:unittest/matcher.dart'; | |
| 13 | 12 |
| 14 import 'util.dart'; | 13 import 'util.dart'; |
| 15 import '../lib/docgen.dart' as dg; | 14 import '../lib/docgen.dart' as dg; |
| 16 | 15 |
| 17 void main() { | 16 void main() { |
| 18 | 17 |
| 19 setUp(() { | 18 setUp(() { |
| 20 scheduleTempDir(); | 19 scheduleTempDir(); |
| 21 }); | 20 }); |
| 22 | 21 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 36 d.matcherFile('test_lib-foo.B.json', isJsonMap), | 35 d.matcherFile('test_lib-foo.B.json', isJsonMap), |
| 37 d.matcherFile('test_lib-foo.json', isJsonMap), | 36 d.matcherFile('test_lib-foo.json', isJsonMap), |
| 38 d.matcherFile('test_lib.A.json', isJsonMap), | 37 d.matcherFile('test_lib.A.json', isJsonMap), |
| 39 d.matcherFile('test_lib.B.json', isJsonMap), | 38 d.matcherFile('test_lib.B.json', isJsonMap), |
| 40 d.matcherFile('test_lib.C.json', isJsonMap), | 39 d.matcherFile('test_lib.C.json', isJsonMap), |
| 41 d.matcherFile('test_lib.json', isJsonMap), | 40 d.matcherFile('test_lib.json', isJsonMap), |
| 42 ]).validate(); | 41 ]).validate(); |
| 43 | 42 |
| 44 }); | 43 }); |
| 45 } | 44 } |
| OLD | NEW |