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

Unified Diff: samples/tests/samples/src/lib/touch/TouchTest.dart

Issue 10037027: unittest step2: bye bye to multiple entrypoints for unittest (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: samples/tests/samples/src/lib/touch/TouchTest.dart
diff --git a/samples/tests/samples/src/lib/touch/TouchTest.dart b/samples/tests/samples/src/lib/touch/TouchTest.dart
index 77c3d066da32d92736ee72f8b9b9442d44429e5e..a118e7b9b6669aceea99b99262c238792d2fe003 100644
--- a/samples/tests/samples/src/lib/touch/TouchTest.dart
+++ b/samples/tests/samples/src/lib/touch/TouchTest.dart
@@ -6,10 +6,12 @@
#import('dart:html'); // TODO(rnystrom): Only needed to tell architecture.py
// that this is a web test. Come up with cleaner solution.
-#import('../../../../../../lib/unittest/unittest_html.dart');
+#import('../../../../../../lib/unittest/unittest.dart');
+#import('../../../../../../lib/unittest/html_config.dart');
#import('../../../../../ui_lib/touch/touch.dart');
main() {
+ useHtmlConfiguration();
test('Solver', () {
expect(Solver.solve((x) => x * x, 81, 10)).approxEquals(9);
expect(Solver.solve((x) => x * x, 0, 10)).approxEquals(0);
« no previous file with comments | « samples/tests/samples/src/lib/observable/ObservableTest.dart ('k') | samples/tests/samples/src/lib/util/UtilTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698