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

Side by Side Diff: dart/samples/tests/samples/lib/observable/change_event_tests.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, 2 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 part of observable_tests;
2
3 // 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
4 // 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
5 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
6 4
7 testChangeEvent() { 5 testChangeEvent() {
8 test('constructor', () { 6 test('constructor', () {
9 // create property, list, global and check the proper initialization. 7 // create property, list, global and check the proper initialization.
10 final target = new AbstractObservable(); 8 final target = new AbstractObservable();
11 9
12 validateUpdate( 10 validateUpdate(
(...skipping 10 matching lines...) Expand all
23 21
24 validateRemove( 22 validateRemove(
25 new ChangeEvent.list(target, ChangeEvent.REMOVE, 3, null, '12'), 23 new ChangeEvent.list(target, ChangeEvent.REMOVE, 3, null, '12'),
26 target, null, 3, '12'); 24 target, null, 3, '12');
27 25
28 validateGlobal( 26 validateGlobal(
29 new ChangeEvent.list(target, ChangeEvent.GLOBAL, null, null, null), 27 new ChangeEvent.list(target, ChangeEvent.GLOBAL, null, null, null),
30 target); 28 target);
31 }); 29 });
32 } 30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698