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

Unified Diff: third_party/pkg/angular/test/core_dom/http_spec.dart

Issue 180843004: Revert revision 33053 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « third_party/pkg/angular/test/core_dom/directive_spec.dart ('k') | third_party/pkg/angular/test/core_dom/ng_mustache_spec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698