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

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

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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/unittest.dart');
10 import '../../../../../pkg/unittest/html_config.dart'; 10 #import('../../../../../pkg/unittest/html_config.dart');
11 11
12 part 'abstract_observable_tests.dart'; 12 #source('abstract_observable_tests.dart');
13 part 'change_event_tests.dart'; 13 #source('change_event_tests.dart');
14 part 'event_batch_tests.dart'; 14 #source('event_batch_tests.dart');
15 part 'observable_list_tests.dart'; 15 #source('observable_list_tests.dart');
16 part '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);
21 group('ChangeEvent', testChangeEvent); 21 group('ChangeEvent', testChangeEvent);
22 group('EventBatch', testEventBatch); 22 group('EventBatch', testEventBatch);
23 group('ObservableList', testObservableList); 23 group('ObservableList', testObservableList);
24 group('ObservableValue', testObservableValue); 24 group('ObservableValue', testObservableValue);
25 } 25 }
26 26
(...skipping 14 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

Powered by Google App Engine
This is Rietveld 408576698