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

Side by Side Diff: packages/initialize/test/initializer_cycle_error_test.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 4 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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
5 // TODO(jakemac): swap this to @TestOn('pub-serve') once
6 // https://github.com/dart-lang/test/issues/388 is completed.
7 @TestOn('!js')
4 library initialize.initializer_cycle_error_test; 8 library initialize.initializer_cycle_error_test;
5 9
6 import 'cycle_a.dart'; // Causes a cycle. 10 import 'cycle_a.dart' as cycle_a; // Causes a cycle.
7 import 'package:initialize/initialize.dart'; 11 import 'package:initialize/initialize.dart';
8 import 'package:unittest/unittest.dart'; 12 import 'package:test/test.dart';
9 import 'package:unittest/compact_vm_config.dart';
10 13
14 /// Uses [cycle_a].
11 main() { 15 main() {
12 useCompactVMConfiguration();
13
14 test('super class cycles are not supported', () { 16 test('super class cycles are not supported', () {
15 expect(run, throwsUnsupportedError); 17 expect(run, throwsUnsupportedError);
16 }); 18 }, skip: 'Should be skipped only in pub-serve mode, blocked on '
19 'https://github.com/dart-lang/test/issues/388.');
17 } 20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698