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

Side by Side Diff: tests/standalone/src/CrashTest.dart

Issue 8440066: Add test_runner.dart to Dart version of test scripts. Include TestRunnerTest unit test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Skip TimeoutTest on dartium Created 9 years, 1 month 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
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
Mads Ager (google) 2011/11/04 09:06:13 I would prefer to find some other way of testing t
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.
4
5
6 // A test that crashes (for now).
Søren Gjesse 2011/11/04 09:05:34 Does this crash due to a VM bug? We have a binary
7 interface Link<T> factory LinkFactory {
8 Link.fromInt(int x);
9 }
10
11 class MyLink<T> implements Link<T> {
12 }
13
14 class LinkFactory {
15 factory Link.fromInt(int x) {
16 return new MyLink();
17 }
18 }
19
20 main() {
21 print("This goes to stdout.");
22 var a = new Link<int>.fromInt(2);
23 }
OLDNEW
« no previous file with comments | « no previous file | tests/standalone/src/FailTest.dart » ('j') | tests/standalone/src/TestRunnerTest.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698