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

Side by Side Diff: tests/lib_strong/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
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 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:svg' as svg; 6 import 'dart:svg' as svg;
7 7
8 import 'package:expect/minitest.dart'; 8 import 'package:expect/minitest.dart';
9 9
10 main() { 10 main() {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 test('empty', () { 68 test('empty', () {
69 expect(() => new svg.SvgElement.svg(""), throwsStateError); 69 expect(() => new svg.SvgElement.svg(""), throwsStateError);
70 }); 70 });
71 71
72 test('too many elements', () { 72 test('too many elements', () {
73 expect(() => new svg.SvgElement.svg("<circle></circle><path></path>"), 73 expect(() => new svg.SvgElement.svg("<circle></circle><path></path>"),
74 throwsStateError); 74 throwsStateError);
75 }); 75 });
76 }); 76 });
77 77
78 // Unfortunately, because the filtering mechanism in unitttest is a regex done 78 // Unfortunately, because the filtering mechanism in unittest is a regex done
79 group('supported_animate', () { 79 group('supported_animate', () {
80 test('supported', () { 80 test('supported', () {
81 expect(svg.AnimateElement.supported, true); 81 expect(svg.AnimateElement.supported, true);
82 }); 82 });
83 }); 83 });
84 84
85 group('supported_animateMotion', () { 85 group('supported_animateMotion', () {
86 test('supported', () { 86 test('supported', () {
87 expect(svg.AnimateMotionElement.supported, true); 87 expect(svg.AnimateMotionElement.supported, true);
88 }); 88 });
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 group('PathElement', () { 481 group('PathElement', () {
482 test('pathSegList', () { 482 test('pathSegList', () {
483 svg.PathElement path = 483 svg.PathElement path =
484 new svg.SvgElement.svg('<path d="M 100 100 L 300 100 L 200 300 z"/>'); 484 new svg.SvgElement.svg('<path d="M 100 100 L 300 100 L 200 300 z"/>');
485 for (var seg in path.pathSegList) { 485 for (var seg in path.pathSegList) {
486 expect(seg is svg.PathSeg, isTrue); 486 expect(seg is svg.PathSeg, isTrue);
487 } 487 }
488 }); 488 });
489 }); 489 });
490 } 490 }
OLDNEW
« no previous file with comments | « tests/language_strong/closure_parameter_types_test.dart ('k') | tools/bots/linux_distribution_support.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698