OLD | NEW |
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 /// Tests for verbs. | 5 /// Tests for verbs. |
6 library fletch_tests.verb_tests; | 6 library dartino_tests.verb_tests; |
7 | 7 |
8 import 'dart:async' show | 8 import 'dart:async' show |
9 Future; | 9 Future; |
10 | 10 |
11 import 'package:expect/expect.dart' show | 11 import 'package:expect/expect.dart' show |
12 Expect; | 12 Expect; |
13 | 13 |
14 import 'package:fletchc/src/verbs/help_verb.dart' as help_verb; | 14 import 'package:dartino_compiler/src/verbs/help_verb.dart' as help_verb; |
15 | 15 |
16 /// Test verifies that the help text is the right shape. | 16 /// Test verifies that the help text is the right shape. |
17 /// | 17 /// |
18 /// The documentation should fit into 80 columns by 20 lines. | 18 /// The documentation should fit into 80 columns by 20 lines. |
19 /// The default terminal size is normally 80x24. Two lines are used for the | 19 /// The default terminal size is normally 80x24. Two lines are used for the |
20 /// prompts before and after running fletch. Another two lines may be | 20 /// prompts before and after running dartino. Another two lines may be |
21 /// used to print an error message. | 21 /// used to print an error message. |
22 /// | 22 /// |
23 /// See commonActions in package:fletchc/src/verbs/actions.dart. | 23 /// See commonActions in package:dartino_compiler/src/verbs/actions.dart. |
24 Future testHelpTextFormatCompliance() async { | 24 Future testHelpTextFormatCompliance() async { |
25 | 25 |
26 // The generation of the help text will self check format compliance. | 26 // The generation of the help text will self check format compliance. |
27 help_verb.generateHelpText(true); | 27 help_verb.generateHelpText(true); |
28 help_verb.generateHelpText(false); | 28 help_verb.generateHelpText(false); |
29 } | 29 } |
OLD | NEW |