OLD | NEW |
1 // Copyright (c) 2015, the Fletch 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 of fletch_test_suite.dart. | 5 /// Tests of fletch_test_suite.dart. |
6 library fletch_tests.self_tests; | 6 library fletch_tests.self_tests; |
7 | 7 |
8 import 'dart:async' show | 8 import 'dart:async' show |
9 Completer, | 9 Completer, |
10 Future; | 10 Future; |
11 | 11 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 testMessage(const TestFailed("arg1", "arg2", "arg3")); | 47 testMessage(const TestFailed("arg1", "arg2", "arg3")); |
48 testMessage(const TestPassed("arg1")); | 48 testMessage(const TestPassed("arg1")); |
49 testMessage(const Info("message")); | 49 testMessage(const Info("message")); |
50 testMessage(const TestStdoutLine("name", "line")); | 50 testMessage(const TestStdoutLine("name", "line")); |
51 } | 51 } |
52 | 52 |
53 /// Test print method. | 53 /// Test print method. |
54 Future testPrint() async { | 54 Future testPrint() async { |
55 suite.print("Debug print from fletch_tests works."); | 55 suite.print("Debug print from fletch_tests works."); |
56 } | 56 } |
OLD | NEW |