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

Side by Side Diff: samples/tests/samples/lib/observable/observable_test.dart

Issue 10917275: Update unittest to new package layout. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 #library('observable_tests'); 5 #library('observable_tests');
6 6
7 #import('dart:html'); 7 #import('dart:html');
8 #import('../../../../ui_lib/observable/observable.dart'); 8 #import('../../../../ui_lib/observable/observable.dart');
9 #import('../../../../../pkg/unittest/unittest.dart'); 9 #import('../../../../../pkg/unittest/lib/unittest.dart');
10 #import('../../../../../pkg/unittest/html_config.dart'); 10 #import('../../../../../pkg/unittest/lib/html_config.dart');
11 11
12 #source('abstract_observable_tests.dart'); 12 #source('abstract_observable_tests.dart');
13 #source('change_event_tests.dart'); 13 #source('change_event_tests.dart');
14 #source('event_batch_tests.dart'); 14 #source('event_batch_tests.dart');
15 #source('observable_list_tests.dart'); 15 #source('observable_list_tests.dart');
16 #source('observable_value_tests.dart'); 16 #source('observable_value_tests.dart');
17 17
18 void main() { 18 void main() {
19 useHtmlConfiguration(); 19 useHtmlConfiguration();
20 group('AbstractObservable', testAbstractObservable); 20 group('AbstractObservable', testAbstractObservable);
(...skipping 20 matching lines...) Expand all
41 validateEvent(e, target, pName, index, ChangeEvent.INSERT, newVal, null); 41 validateEvent(e, target, pName, index, ChangeEvent.INSERT, newVal, null);
42 } 42 }
43 43
44 void validateRemove(ChangeEvent e, target, pName, index, oldVal) { 44 void validateRemove(ChangeEvent e, target, pName, index, oldVal) {
45 validateEvent(e, target, pName, index, ChangeEvent.REMOVE, null, oldVal); 45 validateEvent(e, target, pName, index, ChangeEvent.REMOVE, null, oldVal);
46 } 46 }
47 47
48 void validateUpdate(ChangeEvent e, target, pName, index, newVal, oldVal) { 48 void validateUpdate(ChangeEvent e, target, pName, index, newVal, oldVal) {
49 validateEvent(e, target, pName, index, ChangeEvent.UPDATE, newVal, oldVal); 49 validateEvent(e, target, pName, index, ChangeEvent.UPDATE, newVal, oldVal);
50 } 50 }
OLDNEW
« no previous file with comments | « samples/tests/samples/lib/layout/layout_test.dart ('k') | samples/tests/samples/lib/touch/touch_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698