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

Unified Diff: client/tests/client/samples/smoketest/Smoketest.dart

Issue 9139031: Make browser "sometest" like a regular test run by test.dart/py instead of (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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
Index: client/tests/client/samples/smoketest/Smoketest.dart
===================================================================
--- client/tests/client/samples/smoketest/Smoketest.dart (revision 0)
+++ client/tests/client/samples/smoketest/Smoketest.dart (revision 0)
@@ -0,0 +1,27 @@
+// Copyright (c) 2011, 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.
+
+#library('Smoketest_lib');
+
+#import("benchmarklib.dart");
+#import("dart:html");
+
+/**
+ * This is a sample no-op benchmark to ensure that frog has not dramatically
+ * broken Firefox.
+ */
+class Smoketest extends BenchmarkBase {
+
+ const Smoketest() : super("Smoketest");
+
+ void run() {}
+
+ static void main() {
+ new Smoketest().report();
+ }
+
+ static void log(String str) {
+ window.console.log(str);
+ }
+}
« no previous file with comments | « client/tests/client/samples/smoketest/BenchmarkBase.dart ('k') | client/tests/client/samples/smoketest/benchmarklib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698