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

Unified Diff: dart/frog/leg/lib/mockimpl.dart

Issue 9419009: Use shared implementation of Stopwatch. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: address review comments Created 8 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
« no previous file with comments | « dart/frog/leg/lib/mock.dart ('k') | dart/frog/leg/resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/lib/mockimpl.dart
diff --git a/dart/frog/leg/lib/mockimpl.dart b/dart/frog/leg/lib/mockimpl.dart
index 959b67536159b3e93ecbb8e0b150fd53627f04e1..8d12cba89d0acd1907439270e9a6a2941df32a1a 100644
--- a/dart/frog/leg/lib/mockimpl.dart
+++ b/dart/frog/leg/lib/mockimpl.dart
@@ -6,8 +6,20 @@
// TODO(ahe): Remove this file.
-class JSSyntaxRegExp {}
-class StringBufferImpl {}
+class JSSyntaxRegExp implements RegExp {
+ JSSyntaxRegExp(String pattern,
+ [bool multiLine = false,
+ bool ignoreCase = false]) {
+ throw 'JSSyntaxRegExp is not implemented';
+ }
+}
+
+class StringBufferImpl {
+ StringBufferImpl() {
+ throw 'StringBufferImpl is not implemented';
+ }
+}
+
class DateImplementation {}
class ReceivePortFactory {}
« no previous file with comments | « dart/frog/leg/lib/mock.dart ('k') | dart/frog/leg/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698