| Index: third_party/pkg/angular/test/core_dom/http_spec.dart
|
| ===================================================================
|
| --- third_party/pkg/angular/test/core_dom/http_spec.dart (revision 33054)
|
| +++ third_party/pkg/angular/test/core_dom/http_spec.dart (working copy)
|
| @@ -51,7 +51,7 @@
|
| }));
|
|
|
| afterEach(inject((ExceptionHandler eh, Scope scope) {
|
| - scope.apply();
|
| + scope.$digest();
|
| backend.verifyNoOutstandingRequest();
|
| (eh as LoggingExceptionHandler).assertEmpty();
|
| }));
|
| @@ -826,7 +826,7 @@
|
| callback();
|
| });
|
|
|
| - //$rootScope.apply(() {
|
| + //$rootScope.$apply(() {
|
| canceler.resolve();
|
| //});
|
|
|
| @@ -1321,11 +1321,10 @@
|
| });
|
|
|
| class FakeFile implements File {
|
| - DateTime get lastModifiedDate => null;
|
| - String get name => null;
|
| - String get relativePath => null;
|
| - int get size => 0;
|
| - String get type => null;
|
| + final DateTime lastModifiedDate = null;
|
| + final String name = null;
|
| + final String relativePath = null;
|
| + final int size = 0;
|
| + final String type = null;
|
| Blob slice([int start, int end, String contentType]) => null;
|
| - int get lastModified => new DateTime.now().millisecondsSinceEpoch;
|
| }
|
|
|