2014-05-26 21:41:17 +00:00
|
|
|
/**
|
|
|
|
* Add your test spec files to the list in order to
|
|
|
|
* get them running by default.
|
|
|
|
*/
|
|
|
|
|
2021-03-07 15:01:51 +00:00
|
|
|
// Shims
|
|
|
|
require('./spec/shims/fs.spec');
|
2021-03-07 15:21:11 +00:00
|
|
|
require('./spec/shims/path.spec');
|
2021-03-07 15:01:51 +00:00
|
|
|
|
2021-04-10 11:16:38 +00:00
|
|
|
// Webpack Plugin
|
|
|
|
require('./spec/webpack-plugin/webpack-plugin.spec');
|
|
|
|
|
2014-05-26 21:41:17 +00:00
|
|
|
// Filer
|
2018-07-15 17:25:35 +00:00
|
|
|
require('./spec/filer.spec');
|
2018-12-02 00:57:09 +00:00
|
|
|
require('./spec/filer.buffer.spec.js');
|
2014-05-26 21:41:17 +00:00
|
|
|
|
|
|
|
// Filer.FileSystem.*
|
2018-07-15 17:25:35 +00:00
|
|
|
require('./spec/filer.filesystem.spec');
|
|
|
|
require('./spec/fs.spec');
|
2018-11-17 20:31:20 +00:00
|
|
|
require('./spec/fs.access.spec');
|
2018-07-15 17:25:35 +00:00
|
|
|
require('./spec/fs.stat.spec');
|
|
|
|
require('./spec/fs.lstat.spec');
|
|
|
|
require('./spec/fs.exists.spec');
|
|
|
|
require('./spec/fs.mknod.spec');
|
|
|
|
require('./spec/fs.mkdir.spec');
|
2018-09-22 16:12:20 +00:00
|
|
|
require('./spec/fs.mkdtemp.spec');
|
2018-07-15 17:25:35 +00:00
|
|
|
require('./spec/fs.readdir.spec');
|
|
|
|
require('./spec/fs.rmdir.spec');
|
|
|
|
require('./spec/fs.open.spec');
|
|
|
|
require('./spec/fs.write.spec');
|
|
|
|
require('./spec/fs.writeFile-readFile.spec');
|
|
|
|
require('./spec/fs.appendFile.spec');
|
|
|
|
require('./spec/fs.read.spec');
|
|
|
|
require('./spec/fs.close.spec');
|
2014-04-18 18:27:21 +00:00
|
|
|
require('./spec/fs.fsync.spec');
|
2018-07-15 17:25:35 +00:00
|
|
|
require('./spec/fs.link.spec');
|
|
|
|
require('./spec/fs.unlink.spec');
|
|
|
|
require('./spec/fs.rename.spec');
|
|
|
|
require('./spec/fs.lseek.spec');
|
|
|
|
require('./spec/fs.symlink.spec');
|
|
|
|
require('./spec/fs.readlink.spec');
|
|
|
|
require('./spec/fs.truncate.spec');
|
2018-10-16 15:21:49 +00:00
|
|
|
require('./spec/fs.ftruncate.spec');
|
2018-07-15 17:25:35 +00:00
|
|
|
require('./spec/fs.utimes.spec');
|
|
|
|
require('./spec/fs.xattr.spec');
|
|
|
|
require('./spec/path-resolution.spec');
|
|
|
|
require('./spec/trailing-slashes.spec');
|
|
|
|
require('./spec/times.spec');
|
|
|
|
require('./spec/time-flags.spec');
|
|
|
|
require('./spec/fs.watch.spec');
|
2018-10-11 01:44:05 +00:00
|
|
|
require('./spec/fs.unwatchFile.spec');
|
2018-07-15 17:25:35 +00:00
|
|
|
require('./spec/errors.spec');
|
|
|
|
require('./spec/fs.shell.spec');
|
|
|
|
require('./spec/fs.chmod.spec');
|
|
|
|
require('./spec/fs.chown.spec');
|
2018-09-23 23:20:16 +00:00
|
|
|
require('./spec/fs.copyFile.spec');
|
2014-05-26 21:41:17 +00:00
|
|
|
|
|
|
|
// Filer.FileSystem.providers.*
|
2018-07-15 17:25:35 +00:00
|
|
|
require('./spec/providers/providers.spec');
|
|
|
|
require('./spec/providers/providers.indexeddb.spec');
|
|
|
|
require('./spec/providers/providers.memory.spec');
|
2018-12-05 15:09:17 +00:00
|
|
|
require('./spec/providers/serializable-memory-provider.spec');
|
2014-05-26 21:41:17 +00:00
|
|
|
|
|
|
|
// Filer.FileSystemShell.*
|
2018-07-15 17:25:35 +00:00
|
|
|
require('./spec/shell/cd.spec');
|
|
|
|
require('./spec/shell/touch.spec');
|
|
|
|
require('./spec/shell/exec.spec');
|
|
|
|
require('./spec/shell/cat.spec');
|
|
|
|
require('./spec/shell/ls.spec');
|
|
|
|
require('./spec/shell/rm.spec');
|
|
|
|
require('./spec/shell/env.spec');
|
|
|
|
require('./spec/shell/mkdirp.spec');
|
|
|
|
require('./spec/shell/find.spec');
|
2014-05-26 21:41:17 +00:00
|
|
|
|
|
|
|
// Ported node.js tests (filenames match names in https://github.com/joyent/node/tree/master/test)
|
2018-07-15 17:25:35 +00:00
|
|
|
require('./spec/node-js/simple/test-fs-mkdir');
|
|
|
|
require('./spec/node-js/simple/test-fs-null-bytes');
|
|
|
|
require('./spec/node-js/simple/test-fs-watch');
|
|
|
|
require('./spec/node-js/simple/test-fs-watch-recursive');
|
2014-05-26 21:41:17 +00:00
|
|
|
|
2014-06-11 14:54:43 +00:00
|
|
|
// Regressions, Bugs
|
2018-07-15 17:25:35 +00:00
|
|
|
require('./bugs/issue105');
|
|
|
|
require('./bugs/issue106');
|
|
|
|
require('./bugs/issue239');
|
|
|
|
require('./bugs/issue249');
|
|
|
|
require('./bugs/ls-depth-bug');
|
|
|
|
require('./bugs/issue247.js');
|
|
|
|
require('./bugs/issue254.js');
|
|
|
|
require('./bugs/issue258.js');
|
|
|
|
require('./bugs/issue267.js');
|
|
|
|
require('./bugs/issue270.js');
|
|
|
|
require('./bugs/rename-dir-trailing-slash.js');
|
|
|
|
require('./bugs/issue357.js');
|
2021-04-10 11:43:31 +00:00
|
|
|
require('./bugs/issue773.js');
|
2019-01-03 02:21:25 +00:00
|
|
|
|
|
|
|
// Sample code from README
|
|
|
|
require('./spec/readme.example.spec');
|