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

Unified Diff: runtime/vm/snapshot_test.dart

Issue 11194037: Fix Ping Pong snapshot test (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot_test.dart
===================================================================
--- runtime/vm/snapshot_test.dart (revision 13756)
+++ runtime/vm/snapshot_test.dart (working copy)
@@ -1086,7 +1086,7 @@
static void main() {
init();
- PingPongGame pingPongGame = new PingPongGame.play();
+ PingPongGame pingPongGame = new PingPongGame();
}
static var _run;
@@ -1095,7 +1095,7 @@
class PingPongGame {
- PingPongGame.play()
+ PingPongGame()
: _ping = new ReceivePort(),
_pingPort = _ping.toSendPort(),
_pong = null,
@@ -1125,7 +1125,7 @@
shutdown();
Benchmark1.add_result((1.0 * _iterations * Benchmark1.MESSAGES) / time);
if (Benchmark1.run() < Benchmark1.RUNS) {
- new PingPongGame.play();
+ new PingPongGame();
} else {
print("PingPong: ", Benchmark1.get_result());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698