diff options
Diffstat (limited to 'branch-master/mock-api.html')
-rw-r--r-- | branch-master/mock-api.html | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/branch-master/mock-api.html b/branch-master/mock-api.html index d2b1fd42..f7d3bce9 100644 --- a/branch-master/mock-api.html +++ b/branch-master/mock-api.html @@ -6,9 +6,6 @@ <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> <style>.menuWrapper{height: 36px;}</style> <!--[if lte IE 6]> <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> @@ -37,7 +34,7 @@ namespace. </ul> <span class="toc-header">Namespaces</span> <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-base64-api.html" class="wiki_link">test-base64</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> + <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> </ul> <div class="BranchTOC"> <span class="toc-header">Other Versions</span> @@ -134,7 +131,7 @@ Usage: (calls some-fn expectation-hash?)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L209" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L209" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -151,7 +148,7 @@ Usage: (function-under-test a b c))</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L258" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L258" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -170,7 +167,7 @@ Usage: (has-args [arg-pred-1 arg-pred-2 ... arg-pred-n] expectation-hash?)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L223" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L223" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -183,7 +180,7 @@ function. If no argslist meta data is available for the function, it is not called.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L102" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L102" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -198,7 +195,7 @@ designed to be called from the mock function generated in the first argument of the mock info object created by make-mock.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L113" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L113" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -211,7 +208,7 @@ the code under test has all been executed. The function returned takes the name of the associated dependency and the invocation count as arguments.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L129" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L129" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -227,7 +224,7 @@ increases count, returns return value. 4. a symbol of the name of the function being replaced.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L138" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L138" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -243,7 +240,7 @@ Usage: (returns ret-value expectation-hash?)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L197" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L197" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -264,7 +261,7 @@ Usage: (times n expectation-hash)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L240" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L240" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -276,7 +273,7 @@ Usage: count checker for each dependency.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L163" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L163" id="var-source">Source</a> </div> <h2 id="namespace-name">mock.test-adapter</h2> <pre id="namespace-docstr"></pre> @@ -298,7 +295,7 @@ Usage: (calls some-fn expectation-hash?)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L209" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L209" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/has-args">has-args</h2> @@ -316,7 +313,7 @@ Usage: (has-args [arg-pred-1 arg-pred-2 ... arg-pred-n] expectation-hash?)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L223" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L223" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/has-matching-signature?">has-matching-signature?</h2> @@ -328,7 +325,7 @@ function. If no argslist meta data is available for the function, it is not called.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L102" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L102" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/make-arg-checker">make-arg-checker</h2> @@ -342,7 +339,7 @@ designed to be called from the mock function generated in the first argument of the mock info object created by make-mock.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L113" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L113" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/make-count-checker">make-count-checker</h2> @@ -354,7 +351,7 @@ the code under test has all been executed. The function returned takes the name of the associated dependency and the invocation count as arguments.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L129" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L129" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/make-mock">make-mock</h2> @@ -369,7 +366,7 @@ increases count, returns return value. 4. a symbol of the name of the function being replaced.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L138" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L138" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/report-problem">report-problem</h2> @@ -381,7 +378,7 @@ the report-problem function in clojure.contrib.mock. Instead of printing the error to the console, the error is logged via clojure.test.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/636381148b53424c0ea98f5983a2d1574451c6ee/modules/mock/src/main/clojure/clojure/contrib/mock/test_adapter.clj#L24" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/636381148b53424c0ea98f5983a2d1574451c6ee/modules/mock/src/main/clojure/clojure/contrib/mock/test_adapter.clj#L24" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/returns">returns</h2> @@ -396,7 +393,7 @@ Usage: (returns ret-value expectation-hash?)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L197" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L197" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/times">times</h2> @@ -416,7 +413,7 @@ Usage: (times n expectation-hash)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L240" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L240" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/validate-counts">validate-counts</h2> @@ -427,7 +424,7 @@ Usage: count checker for each dependency.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob//modules/clojure/contrib/mock.clj#L163" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b356e2ee0bebfa99bf8fcc6da25c748ad9355adb/modules/mock/src/main/clojure/clojure/contrib/mock.clj#L163" id="var-source">Source</a> </div> |