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

Unified Diff: samples/third_party/dromaeo/dromaeo_end_condition.js

Issue 178223008: Replace run_selenium.py with Dart script that uses the browser controller for performance tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | samples/third_party/dromaeo/generate_dart2js_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/dromaeo/dromaeo_end_condition.js
diff --git a/samples/third_party/dromaeo/dromaeo_end_condition.js b/samples/third_party/dromaeo/dromaeo_end_condition.js
new file mode 100644
index 0000000000000000000000000000000000000000..86c1c0acecc47326d71c2006199917d46487bbca
--- /dev/null
+++ b/samples/third_party/dromaeo/dromaeo_end_condition.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2014, 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.
+
+/// File imported by browser_perf_testing.dart controller page to determine when
+/// a performance test is done. This is specific to each performance test.
+
+// The function that does the test to determine if this performance test is
+// completed, given a String containing the event queue (most recent event is
+// last).
+function testIsComplete(message) {
+ return message.indexOf('alldone') != -1;
+}
« no previous file with comments | « no previous file | samples/third_party/dromaeo/generate_dart2js_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698