d7a8aa155f
R=vsm@google.com Change-Id: I77881201f1e89f731476655476eb865e10d581a1 Reviewed-on: https://dart-review.googlesource.com/38164 Commit-Queue: Terry Lucas <terry@google.com> Reviewed-by: Vijay Menon <vsm@google.com>
21 lines
436 B
Dart
21 lines
436 B
Dart
library fileapi;
|
|
|
|
import 'dart:async';
|
|
import 'dart:html';
|
|
|
|
import 'package:unittest/unittest.dart';
|
|
import 'package:unittest/html_config.dart';
|
|
import 'package:async_helper/async_helper.dart';
|
|
|
|
main() {
|
|
useHtmlConfiguration();
|
|
|
|
test('requestFileSystem', () async {
|
|
var expectation = FileSystem.supported ? returnsNormally : throws;
|
|
expect(() async {
|
|
await window.requestFileSystem(100);
|
|
}, expectation);
|
|
});
|
|
}
|
|
|