|
Make isolate tests work on drt (and hopefully dartium).
The current isolate tests don't work in drt/dartium because the
DOM isolate can't use Isolate.spawnFunction.
To avoid this problem, this change makes the affected tests start out
by doing an Isolate.spawnUri with their own main file, therevy running the test
in a non-DOM isolate. The test results are propagated back to the original
isolate.
I haven't been able to test dartium yet. I might be missing Selenium.
BUG= http://dartbug.com/14626
R=floitsch@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30610
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+273 lines, -117 lines) |
Patch |
|
M |
tests/isolate/browser/compute_this_script_browser_test.dart
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
tests/isolate/browser/typed_data_message_test.dart
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
tests/isolate/count_test.dart
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/cross_isolate_message_test.dart
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/illegal_msg_function_test.dart
|
View
|
|
2 chunks |
+25 lines, -27 lines |
0 comments
|
Download
|
|
M |
tests/isolate/illegal_msg_mirror_test.dart
|
View
|
1
2
3
|
2 chunks |
+26 lines, -26 lines |
0 comments
|
Download
|
|
M |
tests/isolate/isolate.status
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -23 lines |
0 comments
|
Download
|
|
M |
tests/isolate/isolate_complex_messages_test.dart
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/mandel_isolate_test.dart
|
View
|
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/isolate/message2_test.dart
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/message_test.dart
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/mint_maker_test.dart
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/nested_spawn2_test.dart
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/nested_spawn_test.dart
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/raw_port_test.dart
|
View
|
1
2
3
|
4 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
|
A |
tests/isolate/remote_unittest_helper.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+134 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/isolate/request_reply_test.dart
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/spawn_function_custom_class_test.dart
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/spawn_function_test.dart
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/stacktrace_message_test.dart
|
View
|
|
1 chunk |
+10 lines, -5 lines |
0 comments
|
Download
|
|
M |
tests/isolate/static_function_test.dart
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/isolate/unresolved_ports_test.dart
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|