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

Unified Diff: third_party/pkg/angular/test/tools/mock_io_service.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
Index: third_party/pkg/angular/test/tools/mock_io_service.dart
diff --git a/third_party/pkg/angular/test/tools/mock_io_service.dart b/third_party/pkg/angular/test/tools/mock_io_service.dart
deleted file mode 100644
index 589d761d135b33abf2ee35c8b87ebc23d94fdd6a..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/test/tools/mock_io_service.dart
+++ /dev/null
@@ -1,21 +0,0 @@
-library angular.mock_io;
-
-import 'package:angular/tools/io.dart';
-
-class MockIoService implements IoService {
-
- Map<String, String> mockData;
-
- MockIoService(this.mockData);
-
- String readAsStringSync(String filePath) {
- if (!mockData.containsKey(filePath)) {
- throw 'file not found';
- }
- return mockData[filePath];
- }
-
- void visitFs(String rootDir, visitor(String file)) {
- mockData.keys.forEach((file) => visitor(file));
- }
-}
« no previous file with comments | « third_party/pkg/angular/test/tools/html_extractor_spec.dart ('k') | third_party/pkg/angular/test/tools/selector_spec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698