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

Side by Side Diff: tests/lib_strong/html/xsltprocessor_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files 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 import 'dart:html'; 1 import 'dart:html';
2 2
3 import 'package:expect/minitest.dart'; 3 import 'package:expect/minitest.dart';
4 4
5 main() { 5 main() {
6 group('supported', () { 6 group('supported', () {
7 test('supported', () { 7 test('supported', () {
8 expect(XsltProcessor.supported, true); 8 expect(XsltProcessor.supported, true);
9 }); 9 });
10 }); 10 });
11 11
12 group('functional', () { 12 group('functional', () {
13 var isXsltProcessor = 13 var isXsltProcessor =
14 predicate((x) => x is XsltProcessor, 'is an XsltProcessor'); 14 predicate((x) => x is XsltProcessor, 'is an XsltProcessor');
15 15
16 var expectation = XsltProcessor.supported ? returnsNormally : throws; 16 var expectation = XsltProcessor.supported ? returnsNormally : throws;
17 17
18 test('constructorTest', () { 18 test('constructorTest', () {
19 expect(() { 19 expect(() {
20 var processor = new XsltProcessor(); 20 var processor = new XsltProcessor();
21 expect(processor, isNotNull); 21 expect(processor, isNotNull);
22 expect(processor, isXsltProcessor); 22 expect(processor, isXsltProcessor);
23 }, expectation); 23 }, expectation);
24 }); 24 });
25 }); 25 });
26
27 } 26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698