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

Side by Side Diff: test/checker/checker_test.dart

Issue 1014573003: Adding Travis CI and Coveralls support (Closed) Base URL: https://github.com/dart-lang/dart-dev-compiler.git@master
Patch Set: Created 5 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 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 4
5 /// General type checking tests 5 /// General type checking tests
6 library dev_compiler.test.checker_test; 6 library dev_compiler.test.checker_test;
7 7
8 import 'package:unittest/compact_vm_config.dart';
9 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
10 9
11 import 'package:dev_compiler/src/testing.dart'; 10 import 'package:dev_compiler/src/testing.dart';
12 11
13 main() { 12 import '../test_util.dart';
14 useCompactVMConfiguration(); 13
14 void main() {
15 configureTest();
15 16
16 test('conversion and dynamic invoke', () { 17 test('conversion and dynamic invoke', () {
17 testChecker({ 18 testChecker({
18 '/main.dart': ''' 19 '/main.dart': '''
19 class A { 20 class A {
20 String x = "hello world"; 21 String x = "hello world";
21 } 22 }
22 23
23 void foo(String str) { 24 void foo(String str) {
24 print(str); 25 print(str);
(...skipping 2693 matching lines...) Expand 10 before | Expand all | Expand 10 after
2718 '/main.dart': ''' 2719 '/main.dart': '''
2719 class A {} 2720 class A {}
2720 class T1 implements A { 2721 class T1 implements A {
2721 /*severe:InferableOverride*/toString() {} 2722 /*severe:InferableOverride*/toString() {}
2722 } 2723 }
2723 ''' 2724 '''
2724 }, inferFromOverrides: false); 2725 }, inferFromOverrides: false);
2725 }); 2726 });
2726 }); 2727 });
2727 } 2728 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698