a53e4dd504
Some of these are data files that weren't picked up by the migration script. Some are files that slipped between blocks of tests. Change-Id: I184dc4701758b280444d54ec55c225ade30f3276 Reviewed-on: https://dart-review.googlesource.com/26423 Reviewed-by: Emily Fortuna <efortuna@google.com> Commit-Queue: Bob Nystrom <rnystrom@google.com>
27 lines
598 B
Dart
27 lines
598 B
Dart
import 'dart:html';
|
|
|
|
import 'package:expect/minitest.dart';
|
|
|
|
main() {
|
|
group('supported', () {
|
|
test('supported', () {
|
|
expect(XsltProcessor.supported, true);
|
|
});
|
|
});
|
|
|
|
group('functional', () {
|
|
var isXsltProcessor =
|
|
predicate((x) => x is XsltProcessor, 'is an XsltProcessor');
|
|
|
|
var expectation = XsltProcessor.supported ? returnsNormally : throws;
|
|
|
|
test('constructorTest', () {
|
|
expect(() {
|
|
var processor = new XsltProcessor();
|
|
expect(processor, isNotNull);
|
|
expect(processor, isXsltProcessor);
|
|
}, expectation);
|
|
});
|
|
});
|
|
}
|