| OLD | NEW |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 1 library single_library_test; | 5 library single_library_test; |
| 2 | 6 |
| 3 import 'dart:io'; | 7 import 'dart:io'; |
| 4 | 8 |
| 5 import 'package:path/path.dart' as path; | 9 import 'package:path/path.dart' as path; |
| 6 import 'package:unittest/unittest.dart'; | 10 import 'package:unittest/unittest.dart'; |
| 7 | 11 |
| 8 import '../lib/docgen.dart'; | 12 import '../lib/docgen.dart'; |
| 9 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors_util.
dart' | 13 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors_util.
dart' |
| 10 as dart2js_util; | 14 as dart2js_util; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 'doThis').children.first.text; | 123 'doThis').children.first.text; |
| 120 expect(methodDocComment, 'test.A.doThis'); | 124 expect(methodDocComment, 'test.A.doThis'); |
| 121 | 125 |
| 122 // Testing something with no reference | 126 // Testing something with no reference |
| 123 var libraryDocComment = method.fixReference('foobar').text; | 127 var libraryDocComment = method.fixReference('foobar').text; |
| 124 expect(libraryDocComment, 'foobar'); | 128 expect(libraryDocComment, 'foobar'); |
| 125 }).whenComplete(() => temporaryDir.deleteSync(recursive: true)); | 129 }).whenComplete(() => temporaryDir.deleteSync(recursive: true)); |
| 126 }); | 130 }); |
| 127 }); | 131 }); |
| 128 } | 132 } |
| OLD | NEW |