Commit Graph

128 Commits

Author SHA1 Message Date
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
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
pbouianov 51c10e0580 added fs.appendFile support 2014-01-23 21:56:04 -05:00
zmhassan bb04cce826 Fixed linting issues found with Grunt 2014-01-21 09:00:22 -05:00
David Humphrey 6f61249e81 Remove 3DES and Rabbit from encryption adapters, update docs, tests. Fixes #92 2014-01-16 14:46:33 -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
Alan K fc03bb72d3 Merge pull request #84 from btulchinsky/xattr
Implement setxattr, getxattr
2014-01-13 21:59:20 -08: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 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 c29ec0c3b7 fix for issue 81 - error when utimes/futimes fails to queue/run 2013-12-20 21:29:22 -05:00
Barry Tulchinsky 37d998fb55 work on getxattr 2013-12-20 19:55:43 -05:00
Barry Tulchinsky 5d022c3ca3 started spec tests and exposed to FileSystem prototype 2013-12-20 11:50:59 -05:00
Barry Tulchinsky a83ccf6154 implementation of getxattr 2013-12-20 04:36:25 -05:00
Barry Tulchinsky 5e61be5668 rebased 2013-12-20 03:34:05 -05:00
Barry Tulchinsky 848eb734b5 start of setxattr and getxattr implementation 2013-12-20 03:14:40 -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 53e6293494 updated error messages 2013-12-17 14:15:10 -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 a0456e2909 removed console.log statements used for debugging 2013-12-15 02:57:11 -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 8510e4a712 add support for supernode, which contains metadata about the file system itself (currently only the location of the root node); updated refactoring-test 2013-12-14 14:42:00 -05:00
Barry Tulchinsky d5b5c55fe1 implementation of utimes and futimes 2013-12-13 00:46:31 -05:00
Abir Viqar 13abcd2eeb implement truncate and ftruncate 2013-12-10 12:12:43 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 3d11b34893 Update adapter tests to use Uint8Array and fix crypto encodings, complete zlib work. Fixes #52. 2013-12-04 12:14:16 -05:00
David Humphrey 82f4648ef5 Trying to sort out encodings to/from Uint8Array, not working 2013-12-03 16:14:51 -05:00
David Humphrey aca2d80104 Trying to fix encoding issue in crypto.js, not working yet 2013-12-03 15:23:47 -05:00
David Humphrey a3a1c50b4e Add Zlib adapter, generalize adapter tests 2013-12-03 15:14:20 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 8c9127d798 Remove need for encoding-indexes.js, trim bits of lodash.js we don't need. Fixes #57 2013-12-02 15:10:43 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca d2790a4703 Review fixes, move crypto to src/adapters, update tests, update README, rebuild files in dist/ 2013-12-01 16:45:24 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 440b5f2618 Remove dead code in crypto-wrappers.js 2013-12-01 16:44:10 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 05b4262cde Fix encoding issue with decrypted string in crypto wrapper 2013-12-01 16:44:10 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 0ccc9e4dc2 Don't encrypt keys 2013-12-01 16:44:10 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 58f57cca19 WIP on crypto wrapper providers for AES, TripleDES, Rabbit, 3 tests failing 2013-12-01 16:44:09 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 6608a368f5 Mark off changes to path.js with XXXidbfs comment prefix. 2013-11-29 11:28:00 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 00b7866874 Fix up issue in node.js' impl of basename 2013-11-29 11:27:59 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca c411aa1394 Include the rest of node.js' path functions 2013-11-29 11:27:59 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 6ebbdc5915 Finish WebSQL implementation, all tests passing. Fixes #21. 2013-11-29 10:29:04 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca d5db4c51b9 Down to 1 test failure 2013-11-27 19:35:52 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca c92d3a6c5f Passing 1/4 failing tests now 2013-11-27 17:12:46 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 58392efd10 WebSQL Storage Provider with tests (4 tests failing still) 2013-11-27 16:53:06 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 8a33cb0449 Fix load order for TextEncoder/TextDecoder in require.js, update dist/ 2013-11-27 13:08:26 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca d3a7750d75 Switch to node.js' callback pattrn, update public API to match node.js 2013-11-27 10:34:43 -05:00
David Humphrey b7733a591d Working null byte patch checks 2013-11-27 10:34:43 -05:00