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

Unified Diff: tests/html/element_types_constructors4_test.dart

Issue 988243005: Fix element_types_constructors split out tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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
« no previous file with comments | « tests/html/element_types_constructors3_test.dart ('k') | tests/html/element_types_constructors5_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/element_types_constructors4_test.dart
diff --git a/tests/html/element_types_constructors4_test.dart b/tests/html/element_types_constructors4_test.dart
index c4dfb90b99fc98b1031f98ec2ac3fa983a2ff8af..38223c936adb1dca9e4b43de2ece3b93faeee9b7 100644
--- a/tests/html/element_types_constructors4_test.dart
+++ b/tests/html/element_types_constructors4_test.dart
@@ -20,17 +20,19 @@ main() {
});
}
- check('p', () => new ParagraphElement() is ParagraphElement);
- check('param', () => new ParamElement() is ParamElement);
- check('pre', () => new PreElement() is PreElement);
- check('progress', () => new ProgressElement() is ProgressElement,
- ProgressElement.supported);
- check('q', () => new QuoteElement() is QuoteElement);
- check('script', () => new ScriptElement() is ScriptElement);
- check('select', () => new SelectElement() is SelectElement);
- check('shadow',
- () => new ShadowElement() is ShadowElement, ShadowElement.supported);
- check('source', () => new SourceElement() is SourceElement);
- check('span', () => new SpanElement() is SpanElement);
- check('style', () => new StyleElement() is StyleElement);
+ group('constructors', () {
+ check('p', () => new ParagraphElement() is ParagraphElement);
+ check('param', () => new ParamElement() is ParamElement);
+ check('pre', () => new PreElement() is PreElement);
+ check('progress', () => new ProgressElement() is ProgressElement,
+ ProgressElement.supported);
+ check('q', () => new QuoteElement() is QuoteElement);
+ check('script', () => new ScriptElement() is ScriptElement);
+ check('select', () => new SelectElement() is SelectElement);
+ check('shadow',
+ () => new ShadowElement() is ShadowElement, ShadowElement.supported);
+ check('source', () => new SourceElement() is SourceElement);
+ check('span', () => new SpanElement() is SpanElement);
+ check('style', () => new StyleElement() is StyleElement);
+ });
}
« no previous file with comments | « tests/html/element_types_constructors3_test.dart ('k') | tests/html/element_types_constructors5_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698