aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix test sample.Artur Malabarba2014-11-031-4/+3
|
* A couple of json samples, just in case.Artur Malabarba2014-11-032-0/+5
|
* Fix sampler functionArtur Malabarba2014-11-031-1/+4
|
* Make question samples more complete.Artur Malabarba2014-11-031-509/+3925
|
* Fix get-sample-data and avoid `find-file-noselect'Sean Allred2014-11-021-8/+7
|
* Let-bind stack-cache-directory insteadSean Allred2014-11-021-1/+1
| | | | | There are several variables and functions that depend on it; simply binding the filter-cache file isn't enough.
* Let-bind user-emacs-directory to cwdSean Allred2014-11-021-8/+9
| | | | | | | Useful for testing locally, since now you can simply blow away the `.stackmode' directory instead of searching for it in `.emacs.d'. At any rate, it keeps everything in the project tidy.
* Consolidate testing variables and print requestsSean Allred2014-11-021-2/+4
|
* Fix test cases re file persistenceSean Allred2014-11-021-15/+14
| | | | | | | | | Every time the test was getting run, it would create the file, but not delete it. This meant that tests were not idempotent and artifacts from previous tests were persisting into the next ones. Use `make-temp-file' to let-bind `stack-filter-cache-file' to a temporary file. It is guaranteed to be empty when the tests begin.
* Introduce persistent storage for filtersSean Allred2014-11-021-0/+19
|
* Use a simpler construct to test filter inclusionSean Allred2014-11-021-32/+0
| | | | | Also removed tests for `stack-core-filter-data--item-in-tree' since it no longer exists.
* More readable test cases; whitespaceSean Allred2014-11-011-26/+20
|
* Return the correct type from filterSean Allred2014-11-011-20/+55
| | | | Vectors should not be turning into lists. See test cases.
* Return -no-value if it cannot find sampleSean Allred2014-11-011-1/+3
| | | | | | Allows build to continue if it cannot find the file. This is for reading in sample data. I'm not really sure why the local build cannot find the file, but I will figure it out later today.
* Fix syntax issueSean Allred2014-11-011-1/+3
|
* Make the sample data loader a functionSean Allred2014-11-011-1/+1
|
* Fix testSean Allred2014-11-011-1/+7
|
* More work on data filter; add testsSean Allred2014-11-012-21/+24
|
* Move tests and sample data to test/Sean Allred2014-11-014-0/+1295