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

Side by Side Diff: utils/tests/archive/utils_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
« no previous file with comments | « utils/tests/archive/reader_test.dart ('k') | utils/tests/pub/lock_file_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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('utils_test'); 5 #library('utils_test');
6 6
7 #import('../../../pkg/unittest/unittest.dart'); 7 #import('../../../pkg/unittest/lib/unittest.dart');
8 #import('../../archive/utils.dart'); 8 #import('../../archive/utils.dart');
9 9
10 main() { 10 main() {
11 // TODO(nweiz): re-enable this once issue 4378 is fixed. 11 // TODO(nweiz): re-enable this once issue 4378 is fixed.
12 return; 12 return;
13 13
14 group('attachFinalizer', () { 14 group('attachFinalizer', () {
15 test('calls the finalizer eventually once the object is collected', () { 15 test('calls the finalizer eventually once the object is collected', () {
16 var finalized = null; 16 var finalized = null;
17 17
(...skipping 15 matching lines...) Expand all
33 void finalizer(String data) { 33 void finalizer(String data) {
34 finalized = data; 34 finalized = data;
35 } 35 }
36 36
37 var list = [1, 2, 3]; 37 var list = [1, 2, 3];
38 attachFinalizer(list, finalizer, 'finally finalized!'); 38 attachFinalizer(list, finalizer, 'finally finalized!');
39 expect(finalized, isNull); 39 expect(finalized, isNull);
40 }); 40 });
41 }); 41 });
42 } 42 }
OLDNEW
« no previous file with comments | « utils/tests/archive/reader_test.dart ('k') | utils/tests/pub/lock_file_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698