OLD | NEW |
---|---|
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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('total_dartest'); | 5 #library('total_dartest'); |
6 | 6 |
7 #import('dart:html'); | 7 #import('dart:html'); |
8 #import('../../../../base/base.dart'); | 8 #import('../../../../base/base.dart'); |
9 #import('../../../../samples/total/src/TotalLib.dart'); | 9 #import('../../../../samples/total/src/TotalLib.dart'); |
10 #import('../../../../testing/unittest/unittest_dartest.dart'); | 10 #import('../../../../testing/unittest/unittest_html.dartest.dart'); |
Siggi Cherem (dart-lang)
2012/02/29 18:11:02
mmm... sounds like you used a very aggressive perl
Jacob
2012/02/29 22:46:25
correct.. i clearly got lazy and used a "." instea
| |
11 #import('../../../../testing/dartest/dartest.dart'); | 11 #import('../../../../testing/dartest/dartest.dart'); |
12 #import('../../../../view/view.dart'); | 12 #import('../../../../view/view.dart'); |
13 #source('../../../../../samples/total/src/SYLKProducer.dart'); | 13 #source('../../../../../samples/total/src/SYLKProducer.dart'); |
14 #source('total_test_lib.dart'); | 14 #source('total_test_lib.dart'); |
15 | 15 |
16 fakeTests() { | 16 fakeTests() { |
17 group('Failing Tests::', () { | 17 group('Failing Tests::', () { |
18 test('Int Test', () { | 18 test('Int Test', () { |
19 Expect.equals(1,2); | 19 Expect.equals(1,2); |
20 }); | 20 }); |
(...skipping 27 matching lines...) Expand all Loading... | |
48 | 48 |
49 // Load the tests | 49 // Load the tests |
50 totalTests(); | 50 totalTests(); |
51 | 51 |
52 fakeTests(); | 52 fakeTests(); |
53 | 53 |
54 // Run DARTest | 54 // Run DARTest |
55 new DARTest().run(); | 55 new DARTest().run(); |
56 | 56 |
57 } | 57 } |
OLD | NEW |