OLD | NEW |
1 library Suites; | 1 library Suites; |
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 'Querying DOM elements in a document', | 65 'Querying DOM elements in a document', |
66 const ['query'], | 66 const ['query'], |
67 _CORE_TEST_OPTIONS), | 67 _CORE_TEST_OPTIONS), |
68 const SuiteDescription( | 68 const SuiteDescription( |
69 'dom-traverse.html', | 69 'dom-traverse.html', |
70 'DOM Traversal', | 70 'DOM Traversal', |
71 JOHN_RESIG, | 71 JOHN_RESIG, |
72 'Traversing a DOM structure', | 72 'Traversing a DOM structure', |
73 const ['traverse'], | 73 const ['traverse'], |
74 _CORE_TEST_OPTIONS), | 74 _CORE_TEST_OPTIONS), |
| 75 const SuiteDescription( |
| 76 '../../../../../tests/html/dromaeo_smoke.html', |
| 77 'Smoke test', |
| 78 const Origin('', ''), |
| 79 'Dromaeo no-op smoke test', |
| 80 const ['nothing'], |
| 81 _CORE_TEST_OPTIONS), |
75 ]; | 82 ]; |
76 | 83 |
77 // Mappings from original path to actual path given platform/library. | 84 // Mappings from original path to actual path given platform/library. |
78 static _getHtmlPathForVariant(platform, lib, path) { | 85 static _getHtmlPathForVariant(platform, lib, path) { |
79 if (lib != '') { | 86 if (lib != '') { |
80 lib = '-$lib'; | 87 lib = '-$lib'; |
81 } | 88 } |
82 switch (platform) { | 89 switch (platform) { |
83 case 'js': | 90 case 'js': |
84 case 'dart': | 91 case 'dart': |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 return CATEGORIES[tags]; | 165 return CATEGORIES[tags]; |
159 } | 166 } |
160 for (final suite in _CORE_SUITE_DESCRIPTIONS) { | 167 for (final suite in _CORE_SUITE_DESCRIPTIONS) { |
161 if (suite.tags[0] == tags) { | 168 if (suite.tags[0] == tags) { |
162 return suite.name; | 169 return suite.name; |
163 } | 170 } |
164 } | 171 } |
165 return null; | 172 return null; |
166 } | 173 } |
167 } | 174 } |
OLD | NEW |