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

Unified Diff: client/tests/client/samples/total/total_tests.dart

Issue 8905021: Dartest CL - Please review (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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 side-by-side diff with in-line comments
Download patch
Index: client/tests/client/samples/total/total_tests.dart
===================================================================
--- client/tests/client/samples/total/total_tests.dart (revision 2358)
+++ client/tests/client/samples/total/total_tests.dart (working copy)
@@ -10,8 +10,12 @@
#import('../../../../testing/unittest/unittest.dart');
#import('../../../../view/view.dart');
#source('../../../../../samples/total/src/SYLKProducer.dart');
+#source('total_test_lib.dart');
main() {
+<<<<<<< .mine
Bob Nystrom 2011/12/14 00:15:30 Merge conflict marker. Fix.
shauvik 2011/12/16 07:19:27 Done.
+ totalTests();
+=======
test('DateUtils', () {
_isDate('1/1');
_isDate('12/1');
@@ -432,24 +436,5 @@
spreadsheet.setCellFromContentString(new RowCol(6, 1), "=HLOOKUP(5.3,A1:E2,2)");
Expect.equals(3.0, spreadsheet.getDoubleValue(new RowCol(6, 1)));
});
+>>>>>>> .r2354
}
-
-_checkDate(String date, num value) {
- Expect.equals(value.toString(), DateUtils.parseDate(date).toString());
-}
-
-_isDate(String date) {
- Expect.isTrue(DateUtils.isDate(date), "DateUtils.isDate(${date})");
-}
-
-_isNotDate(String date) {
- Expect.isFalse(DateUtils.isDate(date), "DateUtils.isDate(${date})");
-}
-
-_assertNumeric(String s) {
- Expect.isTrue(StringUtils.isNumeric(s), 'StringUtils.isNumeric("{$s}")');
-}
-
-_assertNonNumeric(String s) {
- Expect.isFalse(StringUtils.isNumeric(s), '!StringUtils.isNumeric("${s}")');
-}

Powered by Google App Engine
This is Rietveld 408576698