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

Unified Diff: utils/tests/archive/utils_test.dart

Issue 226723004: Remove utils/tests/archive (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/tests/archive/reader_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/archive/utils_test.dart
diff --git a/utils/tests/archive/utils_test.dart b/utils/tests/archive/utils_test.dart
deleted file mode 100644
index bd51d75ff69317dc383d1124713e542b687094c2..0000000000000000000000000000000000000000
--- a/utils/tests/archive/utils_test.dart
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library utils_test;
-
-import '../../../pkg/unittest/lib/unittest.dart';
-import '../../archive/utils.dart';
-
-main() {
- // TODO(nweiz): re-enable this once issue 4378 is fixed.
- return;
-
- group('attachFinalizer', () {
- test('calls the finalizer eventually once the object is collected', () {
- var finalized = null;
-
- void finalizer(String data) {
- finalized = data;
- }
-
- while (finalized == null) {
- var list = [1, 2, 3];
- attachFinalizer(list, finalizer, 'finally finalized!');
- }
-
- expect(finalized, equals('finally finalized!'));
- });
-
- test("doesn't call the finalizer while the object is in scope", () {
- var finalized = null;
-
- void finalizer(String data) {
- finalized = data;
- }
-
- var list = [1, 2, 3];
- attachFinalizer(list, finalizer, 'finally finalized!');
- expect(finalized, isNull);
- });
- });
-}
« no previous file with comments | « utils/tests/archive/reader_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698