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

Side by Side Diff: samples/tests/dartc/test_config.dart

Issue 10343008: reenable some dartc tests that have been disabled accidentally. Move (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 #library("client_dartc_test_config");
6
7 #import("../../../tools/testing/dart/test_suite.dart");
8
9 class SamplesDartcTestSuite extends DartcCompilationTestSuite {
10 SamplesDartcTestSuite(Map configuration)
11 : super(configuration,
12 'dartc',
13 'samples',
14 [ 'actors',
15 'belay',
16 'calculator',
17 'chat',
18 'clock',
19 'dartcombat',
20 'hi',
21 'isolate',
22 'isolate_html',
23 'leap',
24 'logo',
25 'markdown',
26 'matrix',
27 'pond',
28 'proxy',
29 'sample_extension',
30 'slider',
31 'spirodraw',
32 'sunflower',
33 'swarm',
34 'tests',
35 'third_party',
36 'time',
37 'total',
38 'ui_lib',
39 ],
40 ['samples/tests/dartc/dartc.status']);
41
42 bool isTestFile(String filename) {
43 if (!filename.endsWith(".dart")) return false;
44 // Using readOptionsFromFile here causes the file to be read twice,
45 // because readOptionsFromFile is called again in the superclass.
46 // Avoid this in new code.
47 return readOptionsFromFile(filename)["containsLeadingHash"];
48 }
49
50 bool listRecursively() => true;
51 }
OLDNEW
« no previous file with comments | « samples/tests/dartc/dartc.status ('k') | tools/test.dart » ('j') | tools/test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698