OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 barback.test.logger_test; | 5 library barback.test.logger_test; |
6 | 6 |
7 import 'package:barback/barback.dart'; | 7 import 'package:barback/barback.dart'; |
8 import 'package:scheduled_test/scheduled_test.dart'; | 8 import 'package:scheduled_test/scheduled_test.dart'; |
9 | 9 |
10 import 'utils.dart'; | 10 import 'utils.dart'; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 [new TransformerGroup([[transformer]])] | 43 [new TransformerGroup([[transformer]])] |
44 ]}); | 44 ]}); |
45 | 45 |
46 updateSources(["app|foo.txt"]); | 46 updateSources(["app|foo.txt"]); |
47 buildShouldLog(LogLevel.ERROR, equals("This is an error.")); | 47 buildShouldLog(LogLevel.ERROR, equals("This is an error.")); |
48 buildShouldLog(LogLevel.WARNING, equals("This is a warning.")); | 48 buildShouldLog(LogLevel.WARNING, equals("This is a warning.")); |
49 buildShouldLog(LogLevel.INFO, equals("This is info.")); | 49 buildShouldLog(LogLevel.INFO, equals("This is info.")); |
50 buildShouldLog(LogLevel.FINE, equals("This is fine.")); | 50 buildShouldLog(LogLevel.FINE, equals("This is fine.")); |
51 }); | 51 }); |
52 } | 52 } |
OLD | NEW |