Commit graph

59 commits

Author SHA1 Message Date
Thomas Athorne
60bf33ffab Change name; add a test spec. 2016-04-17 16:04:22 +01:00
Nathan Marz
6db23aa6c8 fix tests 2016-02-14 13:35:23 -05:00
Nathan Marz
de15b1e23e handle paramsneededpath with 0 params (used for params-reset) correctly in higher order paths 2016-02-11 16:54:14 -05:00
Nathan Marz
b16dbdfdd2 change params-reset to backtrack in params-idx by number of needed params of its path, add test that verifies composability 2016-01-30 12:41:29 -08:00
Nathan Marz
c259583e81 add test for recursive navigation with params 2016-01-30 12:12:26 -08:00
Nathan Marz
7e54757659 auto-coerce map entries to vectors during ALL 2016-01-28 12:41:36 -08:00
Nathan Marz
dd6dafc390 implemented declarepath/providepath 2016-01-14 17:36:49 -05:00
Nathan Marz
1328551a19 added STAY, stay-then-continue, and continue-then-stay selectors 2016-01-14 13:15:19 -05:00
Nathan Marz
2ad873da11 fixed #48 2016-01-11 10:25:03 -05:00
Nathan Marz
c9b78ce0d6 add VOID selector 2016-01-10 10:35:18 -05:00
Nathan Marz
827726cf54 implement tests for protocol paths, make clear that it only works in clj 2015-12-12 12:37:21 -05:00
Nathan Marz
dd5620cfec added nil->val test 2015-10-10 12:20:41 -04:00
Nathan Marz
d76142e448 add subset test 2015-10-10 12:14:20 -04:00
Josh Tilles
9e215b638e Support Clojure 1.6 by adopting cljx.
Fixes nathanmarz/specter#16.
Resolves nathanmarz/specter#18.
2015-10-09 14:55:10 -04:00
Nathan Marz
1f55a0e701 fix tests for cljs 2015-09-24 11:54:20 -05:00
Nathan Marz
df4c3bf974 added paramsfn helper macro for defining filter functions with later bound parameters 2015-09-20 22:24:11 -04:00
Nathan Marz
f12b6bc046 fix typo/formatting 2015-09-18 15:01:01 -04:00
Nathan Marz
993015b128 disable many params test for cljs because of bug in cljs 2015-09-11 17:28:37 -04:00
Nathan Marz
c6522de07d clojurescript port complete, not working for greater than 20 params 2015-09-11 17:17:43 -04:00
Nathan Marz
5aa3bc5da2 parameterized multi-path test 2015-09-11 15:05:49 -04:00
Nathan Marz
9a4a0cb26c nested filterer/selected? test with params 2015-09-11 13:53:27 -04:00
Nathan Marz
a71654b21e test of filterer with parameterization 2015-09-11 13:18:00 -04:00
Nathan Marz
b1e8c54b5f basic parameterization tests 2015-09-11 11:58:50 -04:00
Nathan Marz
f800a510dd remove unnecessary StructureValsPath protocol and move path composer protocol into impl 2015-09-09 15:20:58 -04:00
John Hume
4317831ba8 fix test 2015-07-05 14:56:36 -05:00
Nathan Marz
052d541f8e fix test 2015-07-03 00:11:03 -04:00
Nathan Marz
051ba3f038 added not-selected? and transformed selectors 2015-07-02 17:23:18 -04:00
Nathan Marz
9ebb8dfe3b add test runner file for cljs 2015-06-30 19:59:20 -04:00
Nathan Marz
72b16d1ab1 cleanup namespace for cljs test helpers file 2015-06-30 18:10:25 -04:00
Nathan Marz
0a0bab144b add cljs test helpers file 2015-06-30 18:09:03 -04:00
Nathan Marz
9bef1c6528 tests working in clojurescript but no runner yet 2015-06-30 18:08:49 -04:00
Nathan Marz
aeb86ab396 fix namespace definitions for cljs tests but tests still don't run in cljs 2015-06-30 17:38:57 -04:00
Nathan Marz
c20e4b3fd6 modified namespace of tests so that its clojurescript compatible, removed unncessary helpers 2015-06-30 17:26:19 -04:00
Nathan Marz
b85f761ff9 upgrade to latest version of test.check, for unkonwn reason couldn't use generator name max-size and had to rename to limit-size 2015-06-30 17:08:05 -04:00
Nathan Marz
8900eac847 merge in latest changes to master 2015-06-30 14:31:07 -04:00
Nathan Marz
da554d8247 add test for select-one! returning nil result 2015-06-29 23:42:26 -04:00
Nathan Marz
8053245c48 allow sets to be used directly as selector (acts as filter) 2015-06-29 18:30:30 -04:00
Nathan Marz
7d3c0ca7cb add test for first/last on empty structures 2015-06-29 18:16:33 -04:00
Nathan Marz
f6d23c777d Merge remote-tracking branch 'pietro/cljs-build-support' into cljs 2015-06-26 17:50:44 -04:00
Pietro F. Menna
6416826374 Changed directory structure for test directory to be the same as for src 2015-06-26 13:35:18 -04:00
Nathan Marz
94a451511f merge in new features from master 2015-06-25 16:34:02 -04:00
Nathan Marz
6a2afccbfd add multi-path implementation 2015-06-25 16:30:27 -04:00
Nathan Marz
dc1da8dfcd improve test 2015-06-25 16:27:27 -04:00
Nathan Marz
7520dd7e38 improve test 2015-06-25 13:35:01 -04:00
Pietro F. Menna
3b3bace828 Testing 2015-06-24 14:28:33 -04:00
Pietro F. Menna
1c01a1e808 Renamed update to transform because of Clojure 1.7 2015-06-24 11:42:50 -04:00
Nathan Marz
e4a3275ff1 change cond-path/if-path to take a selector for the conditional (works like selected?) 2015-06-19 14:13:22 -04:00
Nathan Marz
da2019b07b added cond-path and if-path selectors 2015-06-18 00:56:03 -04:00
Nathan Marz
5a6d3fe630 fix composing together something defined with comp-paths with other selectors in a comp-unoptimal setting 2015-06-01 14:21:31 -04:00
Nathan Marz
50576e447b empty selectors and nil count as identity path now fixing #5, remove IDENTITY-PATH in favor of nil 2015-05-31 08:50:00 -04:00