| 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.test.only_lib_content_in_pkg; | 5 library docgen.test.only_lib_content_in_pkg; |
| 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 '../lib/docgen.dart' as dg; | 13 import '../lib/docgen.dart' as dg; |
| 15 import 'util.dart'; | 14 import 'util.dart'; |
| 16 | 15 |
| 17 void main() { | 16 void main() { |
| 18 | 17 |
| 19 setUp(() { | 18 setUp(() { |
| 20 scheduleTempDir(); | 19 scheduleTempDir(); |
| 21 }); | 20 }); |
| 22 | 21 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 43 d.matcherFile('index.json', isJsonMap), | 42 d.matcherFile('index.json', isJsonMap), |
| 44 d.matcherFile('index.txt', hasSortedLines), | 43 d.matcherFile('index.txt', hasSortedLines), |
| 45 d.matcherFile('library_list.json', isJsonMap), | 44 d.matcherFile('library_list.json', isJsonMap), |
| 46 d.nothing('test_lib.json'), | 45 d.nothing('test_lib.json'), |
| 47 d.nothing('test_lib-bar.json'), | 46 d.nothing('test_lib-bar.json'), |
| 48 d.nothing('test_lib-foo.json') | 47 d.nothing('test_lib-foo.json') |
| 49 ]).validate(); | 48 ]).validate(); |
| 50 | 49 |
| 51 }); | 50 }); |
| 52 } | 51 } |
| OLD | NEW |