summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2010-09-22Fixed a race in the pprint agent testTom Faulhaber
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-08-12organize common helpersStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-08-12more expressive tests for derive/underiveStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-08-12Fixing underive issues, adding testsRobert Lachlan
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-08-12Fix and tests for issue #404Rasmus Svensson
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-08-04fix record equality with other maps, = includes type, .equals doesn't. see #418Rich Hickey
2010-07-30#407 use munge as cheap validity test for Java method namesStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-27♯413 parse-args defaults in-enc and out-enc to UTF-8, as required by shBen Smith-Mannschott
Previously parse-args was defaulting in-enc and out-enc to the platform default charset. This contradicted the intent of sh, which is to default to UTF-8 on all platforms. This appears not to have been noticed because the unit tests were still testing for the previous behavior of defaulting to platform encoding. (As it turns out the old behavior of using Charset/defaultCharset would have been wrong on Mac OS X since it claims "Mac Roman" here despite the fact that Mac OS X uses UTF-8 throughout, including in Terminal.app, shell and file system.) Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-27fix degenerate defrecords, #402Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-09test for #393Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-09#392 de-uglify option names for shStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-09#392 fix reflection warnings and tests + minor cleanupStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-09Tests are now passing on windows refs #376Aaron Bedra & Stuart Sierra
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-30#391 ok for namespaces to replace their own varsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-23Support logical-block macro working correctly in external namespaces.Tom Faulhaber
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-07Added testcase for defrecord with field names that used to clash with method ↵Konrad Hinsen
argument names Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-07tidy up and test #257, remove spurious .rej fileStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-07added fnil to supply default values #257Timothy Pratley
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-07get-in support for default #256Timothy Pratley
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-07fix pop! when the tree depth decreasesChristophe Grand
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03test for #361: merge-with for defrecordStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03#359 request from Stuart Sierra: split-lines, blank?, escapeStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03minor fixes to #359:Stuart Halloway
- add clojure.string to build, - make replace,replace-first use CharSequence in same way Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03#359 driven to abstraction: CharSequence, not stringStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03string fns take an object, you can't pass nil #359Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03abstraction fix to split: preserve vector nature of host return value #359Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03metadata review #359Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03string perf tweaks, tests #359David Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03arg order fix, rename chomp-> trim-nl, drop chop, perfDavid Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03collapse the replace-first-* fns, align arg order with clojure conventionDavid Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03collapse the "all" replace-* fns, align arg order with clojure conventionDavid Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03trim variants differ by suffix, for sortabilityDavid Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03make join faster #359David Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03WIP: literal promotion of contrib code #359David Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03Make disj nil-awareMeikel Brandmeyer
Refers #360 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03Fix reductions on empty input sequenceMeikel Brandmeyer
Refers #362 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03test for #327Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-28place to hang defn error messagesStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-28#330 def/declare do not reset metadata unless init-expr is passedStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-28name handles stringsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-28tweaking what gets exposed (javadoc #357)Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-28related tests from contribStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-27test for #358Stuart Halloway
Signed-off-by: STUART HALLOWAY <stuart@STUART-HALLOWAYs-MacBook-Pro.local>
2010-05-24better error message on failed referStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-24propagate useful metadata to protocol fns #349Stuart Halloway
- also add :added metadata for fns with newly visible docstrings Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-24fix NPE if redefined protocol removes method #333 (Mike Hinchey)Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-22last var wins only for clojure.core, #332Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-20added failed-agent test for pprintStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-20Various pprint updates: Generalized support for various ref types Added ↵Tom Faulhaber
pprint tests for various datatypes Bring private var access in line with the coding standard & all good sense Add support for PersistentQueue objects Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-05-20clear macro meta #352Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>