 Chromium Code Reviews
 Chromium Code Reviews Issue 10037027:
  unittest step2: bye bye to multiple entrypoints for unittest  (Closed) 
  Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
    
  
    Issue 10037027:
  unittest step2: bye bye to multiple entrypoints for unittest  (Closed) 
  Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart| 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 | 
| 
Siggi Cherem (dart-lang)
2012/04/12 01:13:53
this will hopefully be gone in step4 of this proce
 | 
| // 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); |