projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c4d92
)
Add method to auto tests' proxy to clear the call list for better testing.
author
Robert Konigsberg
<konigsberg@gmail.com>
Sun, 15 Sep 2013 04:42:17 +0000
(
00:42
-0400)
committer
Robert Konigsberg
<konigsberg@gmail.com>
Sun, 15 Sep 2013 04:42:17 +0000
(
00:42
-0400)
auto_tests/tests/Proxy.js
patch
|
blob
|
blame
|
history
diff --git
a/auto_tests/tests/Proxy.js
b/auto_tests/tests/Proxy.js
index
852009e
..
9ffc385
100644
(file)
--- a/
auto_tests/tests/Proxy.js
+++ b/
auto_tests/tests/Proxy.js
@@
-71,3
+71,7
@@
Proxy.prototype.log__ = function(name, args) {
var call = { name : name, args : args, properties: properties };
this.calls__.push(call);
};
+
+Proxy.reset = function(proxy) {
+ proxy.calls__ = [];
+}