David Humphrey (:humph) david.humphrey@senecacollege.ca
23a9861e82
Deal with provider.open edge case in new provider-agnostic tests. Fixes issue #127 .
2014-03-03 19:11:31 -05:00
Alan Kligman
7d6bd98a31
Merge branch 'develop' of github.com:js-platform/filer into develop
...
Updated null-bytes test to have absolute paths
Conflicts:
dist/filer.js
dist/filer.min.js
2014-02-21 12:51:59 -05:00
pbouianov
0c30d6dd18
Added fs.exists support. Fixes Issue91
2014-02-21 06:56:14 -05:00
Alan K
b6b4ac8fec
Merge pull request #120 from humphd/issue119
...
Default provider for tests should be indexeddb. Fixes #119
2014-02-19 18:22:43 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
715f56b478
Default provider for tests should be indexeddb. Fixes #119
2014-02-19 17:47:14 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
a7a1f4b82e
Change sh.exec to take a list vs. object for passed args
2014-02-19 17:36:26 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
eadd4ec03c
Review fixes
2014-02-19 17:29:11 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
21f5d15f51
Add support for shell.env, PWD, TMP, and tempDir, with tests
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
83c55308dc
Add shell.rm() with tests
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
e4767019cc
Add shell.ls() with tests
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
2829079bd3
Add Shell.cat() with tests
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
ef09526740
Add cd test for symlink'ed dir
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d7cce709f9
Fix shell.cd and add tests
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
263b9cd9b0
Add shell.exec with test
2014-02-19 15:33:36 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
e43b1ba551
Working touch command with tests
2014-02-19 15:33:36 -05:00
Alan Kligman
3d57be4858
Fixes #116 .
2014-02-19 12:53:05 -05:00
Alan Kligman
18958fc585
Updated indexeddb test messages to match websql
2014-02-18 21:49:56 -05:00
Alan Kligman
49cec5df60
Fix #105 . Regression test for #105 had an error so I fixed that also. Updated refactoring-test example.
2014-02-18 21:45:36 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d2f743511e
Turn on jshint and mocha/phantomjs tests with TravisCI. Fixes #48 .
2014-02-17 11:28:40 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
4812861dcf
Refactor tests: switch to Mocha, make providers and filer source configurable. Fixes #59
...
Make provider configurable via URL. Convert fs.close test to use it. Still have timing issue with WebSQL.
Indent fix
Use bower to install mocha
Converting to mocha, Memory provider failing still in fs.close
Got mocha tests working with all providers
Converted more tests
Move more tests over to mocha
Move more tests over
Move more tests over
More tests moved over
More tests converted
More tests moved over
Move more tests over
Move last tests over
Convert more tests
Remove Jasmine and other unnecessary test files, rename tests/spec/regression to tests/bugs
Get tests running with grunt+mocha+phantomjs
Add docs on new tests
2014-02-14 15:44:57 -05:00
David Humphrey
ce39bca20c
Failing test for issue 106
2014-02-11 14:26:37 -05:00
David Humphrey
7e09a4dfe1
Failing test for issue 105
2014-02-06 22:38:39 -05:00
Alan K
4137c12420
Merge pull request #101 from pbouianov/issue88
...
added fs.appendFile support
2014-02-03 19:50:37 -08:00
pbouianov
6ec635e551
fixed, added appendFile tests and updated README
2014-01-30 14:12:32 -05:00
Alan K
a27fd8e1e5
Merge pull request #93 from btulchinsky/utimes
...
utimes test case fix
2014-01-20 16:55:20 -08:00
David Humphrey
6f61249e81
Remove 3DES and Rabbit from encryption adapters, update docs, tests. Fixes #92
2014-01-16 14:46:33 -05:00
Barry Tulchinsky
84c859a14c
test case fix
2014-01-15 21:35:42 -05:00
Barry Tulchinsky
95f3547cfb
fix another error in the spec tests for utimes
2014-01-15 21:15:40 -05:00
Alan Kligman
6c0758c6aa
fix busted tests
2014-01-14 14:50:20 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
641eb870a7
s/IDBFS/Filer/ in all files, docs, tests. Fixes #54
2014-01-14 11:36:18 -05:00
Barry Tulchinsky
d31d33651c
removed comments and patched parameter name and potential undefined error
2014-01-13 20:03:54 -05:00
Barry Tulchinsky
b08a8d15dd
fixed null value and refactored setxattr
2014-01-05 12:22:57 -05:00
Barry Tulchinsky
c4dd0f560c
continue work on tests and clean-up code
2014-01-02 17:50:26 -05:00
Barry Tulchinsky
732218cc1d
fixed unnecessary null checking and replaced it with hasOwnproperty method, also added removexattr and fremovexattr and tests for it
2013-12-24 15:10:17 -05:00
Barry Tulchinsky
7ae907cd5b
changed behaviour to allow falsy values (ie. empty string), added more test cases and modified README.md
2013-12-22 20:58:00 -05:00
Barry Tulchinsky
55c08e6f08
added more tests and added spec file to test manifest
2013-12-21 16:30:40 -05:00
Barry Tulchinsky
5d022c3ca3
started spec tests and exposed to FileSystem prototype
2013-12-20 11:50:59 -05:00
Alan Kligman
9f031397e8
Merge branch 'utimes' into develop
2013-12-20 00:45:50 -05:00
Alan Kligman
7dc0ef6ccb
remove comments; clarify test message
2013-12-20 00:45:11 -05:00
Barry Tulchinsky
08c1ccfd25
removed unnecessary variables in test
2013-12-17 11:36:47 -05:00
Barry Tulchinsky
359b070536
updated/added tests and caching for current time
2013-12-17 11:28:22 -05:00
Barry Tulchinsky
23ace603c9
added/fixed tests and futimes bug
2013-12-15 21:22:36 -05:00
Barry Tulchinsky
b5b2367959
removed console.log statements used for debugging from spec tests
2013-12-15 15:27:48 -05:00
Barry Tulchinsky
e84d639210
fixed bugs where atime and mtime weren't updated on the node and where mtime was valid it would error. Also added more tests
2013-12-15 02:54:51 -05:00
Alan Kligman
e17acff0b1
reorganized for building
2013-12-14 22:36:24 -05:00
Alan Kligman
dac59f97b3
fixes #77 ; also checked for error type to make sure the test passes for the correct reason (and not ENoEntry, for example)
2013-12-14 15:14:44 -05:00
Barry Tulchinsky
d5b5c55fe1
implementation of utimes and futimes
2013-12-13 00:46:31 -05:00
Alan K
170af0baa8
Merge pull request #70 from ispedals/truncate
...
Good code, good tests. Merging.
2013-12-10 11:51:52 -08:00
Abir Viqar
7437aded15
refactor callback chain
2013-12-10 12:32:10 -05:00
Abir Viqar
13abcd2eeb
implement truncate and ftruncate
2013-12-10 12:12:43 -05:00