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

Side by Side Diff: tests/standalone/io/test_extension_test.dart

Issue 10871071: - Change "static final" to "static const" in the tests/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // Dart test program for testing native extensions. 5 // Dart test program for testing native extensions.
6 6
7 #import("dart:io"); 7 #import("dart:io");
8 #import("dart:isolate"); 8 #import("dart:isolate");
9 9
10 // The following source statements, hidden in a string, fool the test script 10 // The following source statements, hidden in a string, fool the test script
11 // tools/testing/dart/multitest.dart 11 // tools/testing/dart/multitest.dart
12 // into copying the files into the generated_tests directory. 12 // into copying the files into the generated_tests directory.
13 // TODO(3919): Rewrite this test, not as a multitest, to copy them manually. 13 // TODO(3919): Rewrite this test, not as a multitest, to copy them manually.
14 final dummyString = ''' 14 const dummyString = '''
15 #source('test_extension_tester.dart'); 15 #source('test_extension_tester.dart');
16 #source('test_extension.dart'); 16 #source('test_extension.dart');
17 '''; 17 ''';
18 18
19 void main() { 19 void main() {
20 Options options = new Options(); 20 Options options = new Options();
21 21
22 // Make this a multitest so that the test scripts run a copy of it in 22 // Make this a multitest so that the test scripts run a copy of it in
23 // [build directory]/generated_tests. This way, we can copy the shared 23 // [build directory]/generated_tests. This way, we can copy the shared
24 // library for test_extension.dart to the test directory. 24 // library for test_extension.dart to the test directory.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 print('Output of test_extension_tester.dart:'); 69 print('Output of test_extension_tester.dart:');
70 print(' stdout:'); 70 print(' stdout:');
71 print(processResult.stdout); 71 print(processResult.stdout);
72 print(' stderr:'); 72 print(' stderr:');
73 print(processResult.stderr); 73 print(processResult.stderr);
74 stdout.flush(); 74 stdout.flush();
75 exit(processResult.exitCode); 75 exit(processResult.exitCode);
76 }); 76 });
77 }); 77 });
78 } 78 }
OLDNEW
« no previous file with comments | « tests/standalone/io/socket_stream_close_test.dart ('k') | tests/standalone/io/test_runner_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698