Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: samples/tests/samples/total/total_dartest.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698