summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2011-05-13neuter overspecified testsStuart Halloway
2011-05-13Changes to support defrecord and deftype literals. See CLJ-374fogus
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-05-06Remove bit-ops' support for boxed numbers.Alexander Taggart
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-05-06Fix false-negative test for (long Float/MAX_VALUE) and (long ↵Alexander Taggart
Double/MAX_VALUE). Fix unintentionally unchecked conversion of decimal objects to long. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-29case changes: handles hash collisions, can emit return type, performance ↵Alexander Taggart
path for all-int test constants Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-08Fix handling of the ~:(~) directive when the contents are the empty string. ↵Tom Faulhaber
Refs #751 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-03-20Add (vector a b c ...) like functionality to vector-of, plus testsDaniel Solano Gómez
Signed-off-by: Stuart Halloway <stu@Orolo-2.local>
2011-03-20Adds the every-pred and some-fn combinators and their tests. refs. CLJ-729fogus
Signed-off-by: Stuart Halloway <stu@Orolo-2.local>
2011-03-11fix regression from #737Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-02-25tests for #737Stuart Halloway
2011-02-25Fix whitespaceStuart Sierra
Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
2011-02-25Add test for nil in case; refs CLJ-702Stuart Sierra
Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
2011-02-25#715. Eliminate unnecessary fragile test.Aaron Bedra and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
2011-02-25Do not check for specific exception types or messages in reify; refs CLJ-728Stuart Sierra
Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
2011-02-02Revert "keys and vals check for instanceof Map"Rich Hickey
breaks subseq This reverts commit 13d9404b5227f3b9e8f86371d211be890e5302a9.
2011-01-28keys and vals check for instanceof MapStuart Sierra
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-01-28restore detection of cyclic load dependenciesStephen C. Gilardi
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-01-28CLJ-719: call correct diff function for arrays as first argumentStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-01-14disable test failing only on Hudson (race condition?)Stuart Halloway
2011-01-14#710 diff mutable setsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-01-05Handle edge case in arbitrary-precision substraction. refs #690Colin Jones
Signed-off-by: Stuart Halloway <stu@Orolo.local>
2011-01-05Build and deploy with Maven 2; CLJ-681Stuart Sierra
* Real pom.xml * Simpler build.xml for local development with Ant * No Clojure plugin; uses AntRun to build Clojure * POM inheritance from Sonatype OSS deployment * Build instructions in README * Automatically builds "slim" and "sources" JARs as before * 'distribution' profile generates a ZIP * version.properties generated by the version in pom.xml * slightly different format * minor changes to clojure.core to handle version.properties * Fix tests that assumed Ant as the test driver * Tweaked run_tests.clj to work against current master
2011-01-05Added sorted-by support for walk and testsTimothy Pratley
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-31I added a new macro, print-length-loop, that augments loop to only iterate ↵Tom Faulhaber
*print-length* times and then emit the "...". This makes it easy to write correct hand-coded dispatch functions. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-19#684: fixed race condition in the test codeStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-17Fixed into-array behavior #678Alan Dipert
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-17coalesce test helpers into clojure.test-helper, so new contributors can find ↵Stuart Halloway
them easily. cleanup from #300 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-17Update tests to recogize appropriate newlines for the platform that they're on.Tom Faulhaber
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-17disallow recur across try, refs #31Kevin Downey (hiredman)
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-30disable agent self-send testStuart Halloway
2010-11-29removed this reffogus
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29Added tests and updated docs for init-proxy and update-proxy. Also updated ↵fogus
the docstrings. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29properly munge namespaces -> java package names for protocols and deftype ↵Chas Emerick
and friends; fixes CLJ-432 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29extra test for send from agent errorChouser
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29test sending from an error handler #390Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29Fixes that aliasing an unknown namespace gave an unhelpful error; will now ↵David Rupp
throw the same Exception thrown by (the-ns) when the namespace is not found Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29#672: limit binding to just conveyor-fn, add regression test for "Pop ↵Stuart Halloway
without matching push" symptom Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29Restore *agent* binding in agent action. CLJ-672Chouser
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-26Added unchecked casts; fixes bug #441. Code and original patches supplied by ↵Aaron Bedra
@stuarthalloway Signed-off-by: Rich Hickey <richhickey@gmail.com>
2010-11-05397 better error message when calling macros with arityMike Hinchey
Error message for macro arity was +2 for the internal params. Introduce specific class ArityException to correct it. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-05add conversion from BigInt to BigIntegerAlexander Taggart
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-05CLJ-665 test improvements: don't touch a core var, and verify that value is ↵Stuart Halloway
put back correctly Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-05Add with-redefs macro and with-redefs-fn, CLJ-665Chouser
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-25#465 make with-local-vars dynamicCosmin Stejerean
2010-10-18Stable var caching. The values of non-dynamic ns-resolved (def'ed) vars ↵Rich Hickey
appearing by name in code are fixed at fn entry point, and will be cached for subsequent calls until the vars change (e.g. via a new def). Access to unbound vars will not always throw an exception, and may instead return Unbound objects. These Unbound objects throw exceptions when invoked. Note that modifications of var roots in a fn body will not be seen by the code compiled against those names in the same fn body. If you want to treat top-level vars as boxes, use #' This change allows the overhead of placing things in vars and small wrapper fns to be substantially eliminated.
2010-10-15require dynamically rebindable vars be explicitly declared dynamic, via ↵Rich Hickey
^:dynamic metadata support in def, or setDynamic builder method in Var. Also auto-enable :dynamic for *var*s as a bridge - prints warning, and will be removed before release.
2010-10-15#453 reflectionStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-15#364 test queue countStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-15test for #263Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-12:added metadata for diffStuart Halloway