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

Side by Side Diff: tests/html/svgelement_test.dart

Issue 2833073002: Stoppp using trippple consonants (Closed)
Patch Set: More spolling Created 3 years, 8 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
« no previous file with comments | « tests/html/js_typed_interop_test.dart ('k') | tests/language/closure_parameter_types_test.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 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 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 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library SvgElementTest; 5 library SvgElementTest;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 import 'dart:svg' as svg; 8 import 'dart:svg' as svg;
9 import 'package:expect/expect.dart'; 9 import 'package:expect/expect.dart';
10 import 'package:unittest/html_individual_config.dart'; 10 import 'package:unittest/html_individual_config.dart';
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 test('empty', () { 71 test('empty', () {
72 expect(() => new svg.SvgElement.svg(""), throwsStateError); 72 expect(() => new svg.SvgElement.svg(""), throwsStateError);
73 }); 73 });
74 74
75 test('too many elements', () { 75 test('too many elements', () {
76 expect(() => new svg.SvgElement.svg("<circle></circle><path></path>"), 76 expect(() => new svg.SvgElement.svg("<circle></circle><path></path>"),
77 throwsStateError); 77 throwsStateError);
78 }); 78 });
79 }); 79 });
80 80
81 // Unfortunately, because the filtering mechanism in unitttest is a regex done 81 // Unfortunately, because the filtering mechanism in unittest is a regex done
82 group('supported_animate', () { 82 group('supported_animate', () {
83 test('supported', () { 83 test('supported', () {
84 expect(svg.AnimateElement.supported, true); 84 expect(svg.AnimateElement.supported, true);
85 }); 85 });
86 }); 86 });
87 87
88 group('supported_animateMotion', () { 88 group('supported_animateMotion', () {
89 test('supported', () { 89 test('supported', () {
90 expect(svg.AnimateMotionElement.supported, true); 90 expect(svg.AnimateMotionElement.supported, true);
91 }); 91 });
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 group('PathElement', () { 484 group('PathElement', () {
485 test('pathSegList', () { 485 test('pathSegList', () {
486 svg.PathElement path = 486 svg.PathElement path =
487 new svg.SvgElement.svg('<path d="M 100 100 L 300 100 L 200 300 z"/>'); 487 new svg.SvgElement.svg('<path d="M 100 100 L 300 100 L 200 300 z"/>');
488 for (var seg in path.pathSegList) { 488 for (var seg in path.pathSegList) {
489 expect(seg is svg.PathSeg, isTrue); 489 expect(seg is svg.PathSeg, isTrue);
490 } 490 }
491 }); 491 });
492 }); 492 });
493 } 493 }
OLDNEW
« no previous file with comments | « tests/html/js_typed_interop_test.dart ('k') | tests/language/closure_parameter_types_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698