diff options
Diffstat (limited to 'mock-api.html')
-rw-r--r-- | mock-api.html | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/mock-api.html b/mock-api.html index 557525af..ca5d9796 100644 --- a/mock-api.html +++ b/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" /> @@ -134,7 +131,7 @@ Usage: (calls some-fn expectation-hash?)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L216" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L216" 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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L265" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L265" 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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L228" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L228" 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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L105" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L105" 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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L116" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L116" 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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L131" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L131" 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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L150" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L150" 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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L205" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L205" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -265,7 +262,7 @@ Usage: (times n expectation-hash)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L246" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L246" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -277,7 +274,7 @@ Usage: count checker for each dependency.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L175" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L175" id="var-source">Source</a> </div> <h2 id="namespace-name">mock.test-adapter</h2> <pre id="namespace-docstr"></pre> @@ -299,7 +296,7 @@ Usage: (calls some-fn expectation-hash?)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L216" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L216" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/has-args">has-args</h2> @@ -317,7 +314,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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L228" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L228" 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> @@ -329,7 +326,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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L105" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L105" 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> @@ -343,7 +340,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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L116" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L116" 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> @@ -355,7 +352,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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L131" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L131" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/make-mock">make-mock</h2> @@ -370,7 +367,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/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L150" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L150" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/report-problem">report-problem</h2> @@ -382,7 +379,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/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/mock/test_adapter.clj#L19" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/mock/test_adapter.clj#L19" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/returns">returns</h2> @@ -397,7 +394,7 @@ Usage: (returns ret-value expectation-hash?)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L205" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L205" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/times">times</h2> @@ -418,7 +415,7 @@ Usage: (times n expectation-hash)</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L246" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L246" id="var-source">Source</a> </div><div id="var-entry"> <hr /> <h2 id="clojure.contrib.mock.test-adapter/validate-counts">validate-counts</h2> @@ -429,7 +426,7 @@ Usage: count checker for each dependency.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L175" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/mock.clj#L175" id="var-source">Source</a> </div> |