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.typedef; | 5 library docgen.test.typedef; |
6 | 6 |
7 import 'dart:convert'; | 7 import 'dart:convert'; |
8 import 'dart:io'; | 8 import 'dart:io'; |
9 | 9 |
10 import 'package:path/path.dart' as p; | 10 import 'package:path/path.dart' as p; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 expect(defaultCtor['qualifiedName'], 'root_lib.RootClass.RootClass-'); | 67 expect(defaultCtor['qualifiedName'], 'root_lib.RootClass.RootClass-'); |
68 }); | 68 }); |
69 }); | 69 }); |
70 } | 70 } |
71 | 71 |
72 // TOOD: [List<A>] is not formatted correctly - issue 16771 | 72 // TOOD: [List<A>] is not formatted correctly - issue 16771 |
73 const _TEST_METHOD_COMMENT = '<p>Processes an ' | 73 const _TEST_METHOD_COMMENT = '<p>Processes an ' |
74 '<a>root_lib.testMethod.input</a> of type <a>root_lib.C</a> ' | 74 '<a>root_lib.testMethod.input</a> of type <a>root_lib.C</a> ' |
75 'instance for testing.</p>\n<p>To eliminate import warnings for ' | 75 'instance for testing.</p>\n<p>To eliminate import warnings for ' |
76 '<a>root_lib.A</a> and to test typedefs.</p>\n<p>It\'s important that the' | 76 '<a>root_lib.A</a> and to test typedefs.</p>\n<p>It\'s important that the' |
77 ' <a>dart-core</a><A> for param <a>root_lib.testMethod.listOfA</a> ' | 77 ' <a>dart:core</a><A> for param <a>root_lib.testMethod.listOfA</a> ' |
78 'is not empty.</p>'; | 78 'is not empty.</p>'; |
79 | 79 |
80 // TODO: [input] is not turned into a param refenece | 80 // TODO: [input] is not turned into a param refenece |
81 // TODO(kevmoo): <a>test_lib.C</a> should be <a>root_lib.C</a> - Issues 18352 | 81 // TODO(kevmoo): <a>test_lib.C</a> should be <a>root_lib.C</a> - Issues 18352 |
82 const _TEST_TYPEDEF_PREVIEW = '<p>Processes an input of type ' | 82 const _TEST_TYPEDEF_PREVIEW = '<p>Processes an input of type ' |
83 '<a>test_lib.C</a> instance for testing.</p>'; | 83 '<a>test_lib.C</a> instance for testing.</p>'; |
84 | 84 |
85 // TOOD: [List<A>] is not formatted correctly - issue 16771 | 85 // TOOD: [List<A>] is not formatted correctly - issue 16771 |
86 // TODO: [listOfA] is not turned into a param reference | 86 // TODO: [listOfA] is not turned into a param reference |
87 // TODO(kevmoo): <a>test_lib.C</a> should be <a>root_lib.C</a> - Issues 18352 | 87 // TODO(kevmoo): <a>test_lib.C</a> should be <a>root_lib.C</a> - Issues 18352 |
88 final _TEST_TYPEDEF_COMMENT = _TEST_TYPEDEF_PREVIEW + '\n<p>To eliminate import' | 88 final _TEST_TYPEDEF_COMMENT = _TEST_TYPEDEF_PREVIEW + '\n<p>To eliminate import' |
89 ' warnings for <a>test_lib.A</a> and to test typedefs.</p>\n<p>It\'s ' | 89 ' warnings for <a>test_lib.A</a> and to test typedefs.</p>\n<p>It\'s ' |
90 'important that the <a>dart-core</a><A> for param listOfA is not ' | 90 'important that the <a>dart:core</a><A> for param listOfA is not ' |
91 'empty.</p>'; | 91 'empty.</p>'; |
92 | 92 |
OLD | NEW |