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

Unified Diff: third_party/pkg/angular/lib/mock/mock_window.dart

Issue 1058283006: Update pubspecs and dependencies to get pkgbuild tests working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pkg/angular/lib/mock/log.dart ('k') | third_party/pkg/angular/lib/mock/module.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/angular/lib/mock/mock_window.dart
diff --git a/third_party/pkg/angular/lib/mock/mock_window.dart b/third_party/pkg/angular/lib/mock/mock_window.dart
deleted file mode 100644
index 7e7c4e928578716a43a13a0049d8b2752e3a5496..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/lib/mock/mock_window.dart
+++ /dev/null
@@ -1,34 +0,0 @@
-part of angular.mock;
-
-@proxy
-class MockWindow extends Mock implements Window {
- final history = new MockHistory();
- final location = new MockLocation();
- final document = new MockDocument();
-
- final onPopStateController = new dart_async.StreamController<PopStateEvent>();
- final onHashChangeController = new dart_async.StreamController<Event>();
- final onClickController = new dart_async.StreamController<MouseEvent>();
-
-
- dart_async.Stream<PopStateEvent> get onPopState => onPopStateController.stream;
- dart_async.Stream<Event> get onHashChange => onHashChangeController.stream;
- dart_async.Stream<Event> get onClick => onClickController.stream;
-
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-@proxy
-class MockHistory extends Mock implements History {
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-@proxy
-class MockLocation extends Mock implements Location {
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-@proxy
-class MockDocument extends Mock implements HtmlDocument {
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
« no previous file with comments | « third_party/pkg/angular/lib/mock/log.dart ('k') | third_party/pkg/angular/lib/mock/module.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698