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

Side by Side Diff: samples/swarm/test/swarm_ui_lib/observable/abstract_observable_tests.dart

Issue 23717003: Reorganize tests for samples so the test is discoverable from the sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 part of observable_tests; 5 part of observable_tests;
6 6
7 testAbstractObservable() { 7 testAbstractObservable() {
8 group('addChangeListener()', () { 8 group('addChangeListener()', () {
9 test('adding the same listener twice returns false the second time', () { 9 test('adding the same listener twice returns false the second time', () {
10 final target = new AbstractObservable(); 10 final target = new AbstractObservable();
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 validateUpdate(res.events[0], target, 'pM', null, 10, 11); 66 validateUpdate(res.events[0], target, 'pM', null, 10, 11);
67 res = null; 67 res = null;
68 68
69 target.recordPropertyUpdate('pL', '11', '13'); 69 target.recordPropertyUpdate('pL', '11', '13');
70 70
71 expect(res, isNotNull); 71 expect(res, isNotNull);
72 expect(res.events, hasLength(1)); 72 expect(res.events, hasLength(1));
73 validateUpdate(res.events[0], target, 'pL', null, '11', '13'); 73 validateUpdate(res.events[0], target, 'pL', null, '11', '13');
74 }); 74 });
75 } 75 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698