Index: client/html/src/_Testing.dart |
diff --git a/client/html/src/_Testing.dart b/client/html/src/_Testing.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0252adaa9e5e9677ebf9b3db139f489d027b69b7 |
--- /dev/null |
+++ b/client/html/src/_Testing.dart |
@@ -0,0 +1,17 @@ |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+// TODO(rnystrom): add a way to supress public classes from DartDoc output. |
+/** |
+ * This class is intended for testing purposes only. |
+ */ |
+class Testing { |
+ static void addEventListener(EventTarget target, String type, EventListener listener, bool useCapture) { |
+ target._addEventListener(type, listener, useCapture); |
+ } |
+ static void removeEventListener(EventTarget target, String type, EventListener listener, bool useCapture) { |
+ target._removeEventListener(type, listener, useCapture); |
+ } |
+ |
+} |