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

Side by Side Diff: tests/benchmark_smoke/smoketest_lib.dart

Issue 11358203: Library syntax updates. Covers all remaining files in ~/tests aprt from ~/tests/language and ~/test… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « tests/benchmark_smoke/benchmark_lib.dart ('k') | tests/co19/co19-compiler.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library('smoketest_lib'); 5 library smoketest_lib;
6 6
7 #import("benchmark_lib.dart"); 7 import 'benchmark_lib.dart';
8 #import("dart:html"); 8 import 'dart:html';
9 9
10 /** 10 /**
11 * This is a sample no-op benchmark to ensure that dart2js has not dramatically 11 * This is a sample no-op benchmark to ensure that dart2js has not dramatically
12 * broken Firefox. 12 * broken Firefox.
13 */ 13 */
14 class Smoketest extends BenchmarkBase { 14 class Smoketest extends BenchmarkBase {
15 15
16 const Smoketest() : super("Smoketest"); 16 const Smoketest() : super("Smoketest");
17 17
18 void run() {} 18 void run() {}
19 19
20 static void main() { 20 static void main() {
21 new Smoketest().report(); 21 new Smoketest().report();
22 } 22 }
23 23
24 static void log(String str) { 24 static void log(String str) {
25 print(str); 25 print(str);
26 } 26 }
27 } 27 }
OLDNEW
« no previous file with comments | « tests/benchmark_smoke/benchmark_lib.dart ('k') | tests/co19/co19-compiler.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698