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

Side by Side Diff: test/runtime/dart_runtime_test.dart

Issue 1166683005: upgrade dependencies, including migration to package:test (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « test/runtime/dart_logging_runtime_test.dart ('k') | test/test_util.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) 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 4
5 // Test code 5 // Test code
6 import 'dart:collection'; 6 import 'dart:collection';
7 import 'dart:mirrors'; 7 import 'dart:mirrors';
8 import 'package:unittest/unittest.dart'; 8 import 'package:test/test.dart';
9 import 'package:dev_compiler/config.dart'; 9 import 'package:dev_compiler/config.dart';
10 import 'package:dev_compiler/runtime/dart_runtime.dart'; 10 import 'package:dev_compiler/runtime/dart_runtime.dart';
11 11
12 final bool intIsNonNullable = TypeOptions.NONNULLABLE_TYPES.contains('int'); 12 final bool intIsNonNullable = TypeOptions.NONNULLABLE_TYPES.contains('int');
13 final bool doubleIsNonNullable = 13 final bool doubleIsNonNullable =
14 TypeOptions.NONNULLABLE_TYPES.contains('double'); 14 TypeOptions.NONNULLABLE_TYPES.contains('double');
15 15
16 class A { 16 class A {
17 int x; 17 int x;
18 } 18 }
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 326
327 var objectChecker = new Checker<Object>(); 327 var objectChecker = new Checker<Object>();
328 objectChecker.isGround(true); 328 objectChecker.isGround(true);
329 objectChecker.isGroundList(true); 329 objectChecker.isGroundList(true);
330 330
331 objectChecker.check(5, true); 331 objectChecker.check(5, true);
332 objectChecker.check("hello", true); 332 objectChecker.check("hello", true);
333 objectChecker.check(null, true); 333 objectChecker.check(null, true);
334 }); 334 });
335 } 335 }
OLDNEW
« no previous file with comments | « test/runtime/dart_logging_runtime_test.dart ('k') | test/test_util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698