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

Unified Diff: tests/standalone/issue14236_source.dart

Issue 506753003: Add a version number for full and script snapshots. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | tests/standalone/issue14236_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/issue14236_source.dart
===================================================================
--- tests/standalone/issue14236_source.dart (revision 39611)
+++ tests/standalone/issue14236_source.dart (working copy)
@@ -1,45 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-//
-// This is the original dart program that was used to generate the snapshot
-// in file issue14236_test.dart
-// The original test/main has been commented out and we have a test/main which
-// throws an error to ensure that this file is not executed as part of the
-// test.
-//
-// When issue14236_test.dart fails, you must regenerate it using the VM
-// with your changes. You should understand what in your change makes
-// regeneration of the snapshot necessary.
-// Steps for regenerating:
-// 1) Swap the test functions below.
-// 2) $ ./xcodebuild/DebugIA32/dart --package-root=./xcodebuild/DebugIA32/packages --snapshot=tests/standalone/issue14236_test.dart tests/standalone/issue14236_source.dart
-// OR:
-// 2) $ ./out/DebugIA32/dart --package-root=./out/DebugIA32/packages --snapshot=tests/standalone/issue14236_test.dart tests/standalone/issue14236_source.dart
-// 3) Undo changes in 1.
-
-library test.issue14236;
-import "dart:isolate";
-import "package:expect/expect.dart";
-import "package:async_helper/async_helper.dart";
-
-
-/*
-test(SendPort replyTo) {
- replyTo.send("from Isolate");
-}
-*/
-
-test(dummy) {
- Expect.fail("Don't expect this to run at all");
-}
-
-main() {
- asyncStart();
- ReceivePort port = new ReceivePort();
- Isolate.spawn(test, port.sendPort);
- port.first.then((msg) {
- Expect.equals("from Isolate", msg);
- asyncEnd();
- });
-}
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | tests/standalone/issue14236_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698