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

Side by Side Diff: tests/fletchc/incremental/tests_with_expectations.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Update status files Created 5 years 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 Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Fletch 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 library fletchc.test.tests_with_expectations; 5 library fletchc.test.tests_with_expectations;
6 6
7 /// List of tests on this form: 7 /// List of tests on this form:
8 /// 8 ///
9 /// ``` 9 /// ```
10 /// TEST_NAME 10 /// TEST_NAME
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 435
436 r''' 436 r'''
437 modify_static_method 437 modify_static_method
438 ==> main.dart.patch <== 438 ==> main.dart.patch <==
439 // Test modifying a static method works 439 // Test modifying a static method works
440 440
441 class C { 441 class C {
442 static m() { 442 static m() {
443 <<<< "v1" 443 <<<< "v1"
444 print('v1'); 444 print('v1');
445 ==== {"messages":["v2"],"compileUpdatesShouldThrow":1} 445 ==== ["v2"]
446 // TODO(ahe): Shouldn't throw.
447 print('v2'); 446 print('v2');
448 >>>> 447 >>>>
449 } 448 }
450 } 449 }
451 main() { 450 main() {
452 C.m(); 451 C.m();
453 } 452 }
454 453
455 454
456 ''', 455 ''',
(...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after
2030 compile_time_error_field_becomes_removed_function 2029 compile_time_error_field_becomes_removed_function
2031 ==> main.dart.patch <== 2030 ==> main.dart.patch <==
2032 // Regression test for a syntax error in a field becomes a function that is 2031 // Regression test for a syntax error in a field becomes a function that is
2033 // subsequently removed. 2032 // subsequently removed.
2034 class C { 2033 class C {
2035 <<<< {"messages":[],"hasCompileTimeError":1} 2034 <<<< {"messages":[],"hasCompileTimeError":1}
2036 int sync*; 2035 int sync*;
2037 ==== {"messages":[],"hasCompileTimeError":1} 2036 ==== {"messages":[],"hasCompileTimeError":1}
2038 // TODO(ahe): Should just expect [], no compile-time error 2037 // TODO(ahe): Should just expect [], no compile-time error
2039 sync(); 2038 sync();
2040 ==== {"messages":[],"compileUpdatesShouldThrow":1} 2039 ==== {"messages":[],"hasCompileTimeError":1}
2041 // TODO(ahe): Should just expect [], not throw 2040 // TODO(ahe): Should just expect [], no compile-time error
2042 >>>> 2041 >>>>
2043 } 2042 }
2044 main() { 2043 main() {
2045 new C(); 2044 new C();
2046 } 2045 }
2047 ''', 2046 ''',
2048 2047
2049 r''' 2048 r'''
2050 add_field_and_remove_subclass 2049 add_field_and_remove_subclass
2051 ==> main.dart.patch <== 2050 ==> main.dart.patch <==
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
2372 <<<< [] 2371 <<<< []
2373 enum E { e0 } 2372 enum E { e0 }
2374 ==== {"messages": [], "compileUpdatesShouldThrow":1} 2373 ==== {"messages": [], "compileUpdatesShouldThrow":1}
2375 // TODO(ahe): Shouldn't throw 2374 // TODO(ahe): Shouldn't throw
2376 >>>> 2375 >>>>
2377 2376
2378 main() { 2377 main() {
2379 } 2378 }
2380 ''', 2379 ''',
2381 ]; 2380 ];
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698