| OLD | NEW |
| 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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 dartino_compiler.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 |
| 11 /// ==> a_test_file.dart <== | 11 /// ==> a_test_file.dart <== |
| 12 /// ... source code for a_test_file.dart ... | 12 /// ... source code for a_test_file.dart ... |
| 13 /// ==> another_test_file.dart.patch <== | 13 /// ==> another_test_file.dart.patch <== |
| 14 /// ... source code for another_test_file.dart ... | 14 /// ... source code for another_test_file.dart ... |
| 15 /// ``` | 15 /// ``` |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 print("firstHashCode == secondHashCode: ${firstHashCode == secondHashCode}"); | 129 print("firstHashCode == secondHashCode: ${firstHashCode == secondHashCode}"); |
| 130 >>>> | 130 >>>> |
| 131 } | 131 } |
| 132 ''', | 132 ''', |
| 133 | 133 |
| 134 // Test that we can do a program rewrite (which implies a big GC) while there | 134 // Test that we can do a program rewrite (which implies a big GC) while there |
| 135 // are multiple processes alive that depend on the program. | 135 // are multiple processes alive that depend on the program. |
| 136 r''' | 136 r''' |
| 137 program_gc_with_processes | 137 program_gc_with_processes |
| 138 ==> main.dart.patch <== | 138 ==> main.dart.patch <== |
| 139 import 'dart:fletch'; | 139 import 'dart:dartino'; |
| 140 | 140 |
| 141 class Comms { | 141 class Comms { |
| 142 <<<< "Setup" | 142 <<<< "Setup" |
| 143 ==== "Hello world" | 143 ==== "Hello world" |
| 144 int late_arrival; | 144 int late_arrival; |
| 145 >>>> | 145 >>>> |
| 146 var paused; | 146 var paused; |
| 147 var pausedPort; | 147 var pausedPort; |
| 148 var resumePort; | 148 var resumePort; |
| 149 Process process; | 149 Process process; |
| (...skipping 2527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2677 <<<< [] | 2677 <<<< [] |
| 2678 enum E { e0 } | 2678 enum E { e0 } |
| 2679 ==== {"messages": [], "compileUpdatesShouldThrow":1} | 2679 ==== {"messages": [], "compileUpdatesShouldThrow":1} |
| 2680 // TODO(ahe): Shouldn't throw | 2680 // TODO(ahe): Shouldn't throw |
| 2681 >>>> | 2681 >>>> |
| 2682 | 2682 |
| 2683 main() { | 2683 main() { |
| 2684 } | 2684 } |
| 2685 ''', | 2685 ''', |
| 2686 ]; | 2686 ]; |
| OLD | NEW |