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

Side by Side Diff: samples/third_party/dromaeo/Suites.dart

Issue 10916028: Revert 11651 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « samples/swarm/htmlconverter_test.py ('k') | samples/third_party/dromaeo/tests/RunnerSuite.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('Suites.dart'); 1 #library('Suites.dart');
2 2
3 class Origin { 3 class Origin {
4 final String author; 4 final String author;
5 final String url; 5 final String url;
6 6
7 const Origin(this.author, this.url); 7 const Origin(this.author, this.url);
8 } 8 }
9 9
10 class SuiteDescription { 10 class SuiteDescription {
(...skipping 12 matching lines...) Expand all
23 static final JOHN_RESIG = const Origin('John Resig', 'http://ejohn.org/'); 23 static final JOHN_RESIG = const Origin('John Resig', 'http://ejohn.org/');
24 24
25 static final CATEGORIES = const { 25 static final CATEGORIES = const {
26 // Platform tags 26 // Platform tags
27 'js': 'DOM Core Tests (JavaScript)', 27 'js': 'DOM Core Tests (JavaScript)',
28 'dart': 'DOM Core Tests (dart)', 28 'dart': 'DOM Core Tests (dart)',
29 'frog': 'DOM Core Tests (frog)', 29 'frog': 'DOM Core Tests (frog)',
30 'dart2js': 'DOM Core Tests (dart2js)', 30 'dart2js': 'DOM Core Tests (dart2js)',
31 31
32 // Library tags 32 // Library tags
33 'dom': 'DOM Core Tests (dart:dom_deprecated)',
33 'html': 'DOM Core Tests (dart:html)', 34 'html': 'DOM Core Tests (dart:html)',
34 'htmlidiomatic': 'DOM Core Tests (dart:html) Idiomatic', 35 'htmlidiomatic': 'DOM Core Tests (dart:html) Idiomatic',
35 }; 36 };
36 37
37 static final _CORE_TEST_OPTIONS = const [ 38 static final _CORE_TEST_OPTIONS = const [
38 // A list of valid combinations for core Dromaeo DOM tests. 39 // A list of valid combinations for core Dromaeo DOM tests.
39 // Each item in the list is a pair of (platform x [variants]). 40 // Each item in the list is a pair of (platform x [variants]).
40 const ['js', const ['']], 41 const ['js', const ['']],
41 const ['dart', const ['html', 'htmlidiomatic']], 42 const ['dart', const ['html', 'htmlidiomatic']],
42 const ['frog', const ['html', 'htmlidiomatic']], 43 const ['frog', const ['dom', 'html', 'htmlidiomatic']],
43 const ['dart2js', const ['html', 'htmlidiomatic']], 44 const ['dart2js', const ['dom', 'html', 'htmlidiomatic']],
44 ]; 45 ];
45 46
46 static final _CORE_SUITE_DESCRIPTIONS = const [ 47 static final _CORE_SUITE_DESCRIPTIONS = const [
47 const SuiteDescription( 48 const SuiteDescription(
48 'dom-attr.html', 49 'dom-attr.html',
49 'DOM Attributes', 50 'DOM Attributes',
50 JOHN_RESIG, 51 JOHN_RESIG,
51 'Setting and getting DOM node attributes', 52 'Setting and getting DOM node attributes',
52 const ['attributes'], 53 const ['attributes'],
53 _CORE_TEST_OPTIONS), 54 _CORE_TEST_OPTIONS),
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 return CATEGORIES[tags]; 159 return CATEGORIES[tags];
159 } 160 }
160 for (final suite in _CORE_SUITE_DESCRIPTIONS) { 161 for (final suite in _CORE_SUITE_DESCRIPTIONS) {
161 if (suite.tags[0] == tags) { 162 if (suite.tags[0] == tags) {
162 return suite.name; 163 return suite.name;
163 } 164 }
164 } 165 }
165 return null; 166 return null;
166 } 167 }
167 } 168 }
OLDNEW
« no previous file with comments | « samples/swarm/htmlconverter_test.py ('k') | samples/third_party/dromaeo/tests/RunnerSuite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698