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

Unified Diff: tests/html/element_types_test.dart

Issue 11748003: Fixing up WebComponents types & tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 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
Index: tests/html/element_types_test.dart
diff --git a/tests/html/element_types_test.dart b/tests/html/element_types_test.dart
index c9ad262796c4e2e8bf58d1a99e547a3d5f26ccaa..acc20b109a009f61577c6bd63ed0cd6eb2b01a90 100644
--- a/tests/html/element_types_test.dart
+++ b/tests/html/element_types_test.dart
@@ -64,6 +64,12 @@ main() {
});
});
+ group('supported_shadow', () {
+ test('supported', () {
+ expect(ShadowElement.supported, true);
+ });
+ });
+
group('supported_track', () {
test('supported', () {
expect(TrackElement.supported, true);
@@ -250,6 +256,10 @@ main() {
test('select', () {
expect((new SelectElement()) is SelectElement, true);
});
+ test('shadow', () {
+ expect((new Element.tag('shadow')) is ShadowElement,
+ ShadowElement.supported);
+ });
test('source', () {
expect((new SourceElement()) is SourceElement, true);
});

Powered by Google App Engine
This is Rietveld 408576698