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

Side by Side Diff: samples/tests/samples/src/total/total_test_lib.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 totalTests() { 1 totalTests() {
2 test('DateUtils', () { 2 test('DateUtils', () {
3 _isDate('1/1'); 3 _isDate('1/1');
4 _isDate('12/1'); 4 _isDate('12/1');
5 _isDate('11/31'); 5 _isDate('11/31');
6 _isDate('01/1'); 6 _isDate('01/1');
7 _isDate('1/01'); 7 _isDate('1/01');
8 _isDate('01/01'); 8 _isDate('01/01');
9 _isDate('1-1'); 9 _isDate('1-1');
10 _isDate('12-1'); 10 _isDate('12-1');
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 Expect.isFalse(DateUtils.isDate(date), "DateUtils.isDate(${date})"); 454 Expect.isFalse(DateUtils.isDate(date), "DateUtils.isDate(${date})");
455 } 455 }
456 456
457 _assertNumeric(String s) { 457 _assertNumeric(String s) {
458 Expect.isTrue(StringUtils.isNumeric(s), 'StringUtils.isNumeric("{$s}")'); 458 Expect.isTrue(StringUtils.isNumeric(s), 'StringUtils.isNumeric("{$s}")');
459 } 459 }
460 460
461 _assertNonNumeric(String s) { 461 _assertNonNumeric(String s) {
462 Expect.isFalse(StringUtils.isNumeric(s), '!StringUtils.isNumeric("${s}")'); 462 Expect.isFalse(StringUtils.isNumeric(s), '!StringUtils.isNumeric("${s}")');
463 } 463 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698