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

Side by Side Diff: frog/tests/frog/src/unittest_node.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 // TODO(nweiz): move this to the same place as unittest.dart and 5 // TODO(nweiz): move this to the same place as unittest_html.dart and
6 // unittest_vm.dart. Currently, that leads to import conflicts relating to the 6 // unittest_vm.dart. Currently, that leads to import conflicts relating to the
7 // node library. 7 // node library.
8 #library("unittest"); 8 #library("unittest");
9 9
10 #import('../../../lib/node/node.dart'); 10 #import('../../../lib/node/node.dart');
11 #source('../../../../client/testing/unittest/shared.dart'); 11 #source('../../../../client/testing/unittest/shared.dart');
12 12
13 _platformInitialize() { 13 _platformInitialize() {
14 // Do nothing. 14 // Do nothing.
15 } 15 }
(...skipping 21 matching lines...) Expand all
37 37
38 if (testsPassed == 0 && testsFailed == 0 && testsErrors == 0) { 38 if (testsPassed == 0 && testsFailed == 0 && testsErrors == 0) {
39 print('No tests found.'); 39 print('No tests found.');
40 } else if (testsFailed == 0 && testsErrors == 0) { 40 } else if (testsFailed == 0 && testsErrors == 0) {
41 print('All $testsPassed tests passed.'); 41 print('All $testsPassed tests passed.');
42 } else { 42 } else {
43 print('$testsPassed PASSED, $testsFailed FAILED, $testsErrors ERRORS'); 43 print('$testsPassed PASSED, $testsFailed FAILED, $testsErrors ERRORS');
44 process.exit(1); 44 process.exit(1);
45 } 45 }
46 } 46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698