Commit Graph

108 Commits

Author SHA1 Message Date
Alan K 0cfb29eaec Merge pull request #140 from humphd/issue132
Support fs.watch(), FSWatcher. Fixes #132
2014-03-08 16:04:15 -05:00
kwkofler 4ff7c7d7cb Fixed README issues, and fixed misuse of expect() syntax. 2014-03-08 13:53:53 -05:00
kwkofler 880f70d3de Merge remote-tracking branch 'upstream/develop' into issue#112
Conflicts:
	src/fs.js
	tests/test-manifest.js
2014-03-07 18:47:32 -05:00
kwkofler 526f2d0934 Renamed Stats to stats 2014-03-07 18:39:38 -05:00
kwkofler 7c14af9668 Fixed Stats prototypes, created full Mocha test suite 2014-03-07 18:10:02 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca eff4d9b5fc Deal with failing tests for rename, and do a better cleanup job in watcher.close() 2014-03-07 13:46:54 -05:00
kwkofler 0fb099d6c8 Renamed test suite, started rewriting for mocha. 2014-03-07 13:06:11 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 96836f355c Most things passing for change events now, ported node.js watch tests 2014-03-07 11:54:14 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca a365144e97 First passing tests for fs.watch(), use EventEmitter2 via bower 2014-03-06 22:27:10 -05:00
Alan Kligman bb9c34e5b3 Revert "Merge pull request #113 from kwkofler/issue#112"
This reverts commit bfba8c3546, reversing
changes made to f079eaa7dd.
2014-03-06 11:35:53 -05:00
Alan K bfba8c3546 Merge pull request #113 from kwkofler/issue#112
Resolves issue #112, though isBlockDevice(), isCharacterDevice(), isFIFO...
2014-03-06 09:52:40 -05:00
Alan K f079eaa7dd Merge pull request #134 from pbouianov/issue125
Updated error object to match Node.js. Solves issue #125.
2014-03-05 22:39:02 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 72e527dfab Add tests for time mount flag suppression (NOMTIME, NOCTIME) 2014-03-05 21:41:45 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca f580f40016 Tests for ctime, mtime, atime updates 2014-03-05 19:53:21 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 8c743bb95a Fix remaining test failures 2014-03-05 16:27:12 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 61111da85d Finish atime, ctime, mtime updates for fs operations, fix tests 2014-03-05 15:57:28 -05:00
pbouianov c5ed7d4a55 Updated tests already checking error name 2014-03-05 14:28:31 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca f10b86b644 Change fs.utime test to remove constant times, prefering calculated duration. Fixes #103 2014-03-04 15:30:46 -05:00
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
kwkofler 866d8c1876 Issue #112 - Added mode reporting functions to the Stats object prototype, and appropriate tests 2014-03-03 18:54:01 -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
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
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