• Home
  • Raw
  • Download

Lines Matching full:check

27 function check(async, sync) {  function
54 check(fs.access, fs.accessSync, 'foo\u0000bar');
55 check(fs.access, fs.accessSync, 'foo\u0000bar', fs.F_OK);
56 check(fs.appendFile, fs.appendFileSync, 'foo\u0000bar', 'abc');
57 check(fs.chmod, fs.chmodSync, 'foo\u0000bar', '0644');
58 check(fs.chown, fs.chownSync, 'foo\u0000bar', 12, 34);
59 check(fs.copyFile, fs.copyFileSync, 'foo\u0000bar', 'abc');
60 check(fs.copyFile, fs.copyFileSync, 'abc', 'foo\u0000bar');
61 check(fs.lchown, fs.lchownSync, 'foo\u0000bar', 12, 34);
62 check(fs.link, fs.linkSync, 'foo\u0000bar', 'foobar');
63 check(fs.link, fs.linkSync, 'foobar', 'foo\u0000bar');
64 check(fs.lstat, fs.lstatSync, 'foo\u0000bar');
65 check(fs.mkdir, fs.mkdirSync, 'foo\u0000bar', '0755');
66 check(fs.open, fs.openSync, 'foo\u0000bar', 'r');
67 check(fs.readFile, fs.readFileSync, 'foo\u0000bar');
68 check(fs.readdir, fs.readdirSync, 'foo\u0000bar');
69 check(fs.readlink, fs.readlinkSync, 'foo\u0000bar');
70 check(fs.realpath, fs.realpathSync, 'foo\u0000bar');
71 check(fs.rename, fs.renameSync, 'foo\u0000bar', 'foobar');
72 check(fs.rename, fs.renameSync, 'foobar', 'foo\u0000bar');
73 check(fs.rmdir, fs.rmdirSync, 'foo\u0000bar');
74 check(fs.stat, fs.statSync, 'foo\u0000bar');
75 check(fs.symlink, fs.symlinkSync, 'foo\u0000bar', 'foobar');
76 check(fs.symlink, fs.symlinkSync, 'foobar', 'foo\u0000bar');
77 check(fs.truncate, fs.truncateSync, 'foo\u0000bar');
78 check(fs.unlink, fs.unlinkSync, 'foo\u0000bar');
79 check(null, fs.unwatchFile, 'foo\u0000bar', common.mustNotCall());
80 check(fs.utimes, fs.utimesSync, 'foo\u0000bar', 0, 0);
81 check(null, fs.watch, 'foo\u0000bar', common.mustNotCall());
82 check(null, fs.watchFile, 'foo\u0000bar', common.mustNotCall());
83 check(fs.writeFile, fs.writeFileSync, 'foo\u0000bar', 'abc');
88 check(fs.access, fs.accessSync, fileUrl);
89 check(fs.access, fs.accessSync, fileUrl, fs.F_OK);
90 check(fs.appendFile, fs.appendFileSync, fileUrl, 'abc');
91 check(fs.chmod, fs.chmodSync, fileUrl, '0644');
92 check(fs.chown, fs.chownSync, fileUrl, 12, 34);
93 check(fs.copyFile, fs.copyFileSync, fileUrl, 'abc');
94 check(fs.copyFile, fs.copyFileSync, 'abc', fileUrl);
95 check(fs.lchown, fs.lchownSync, fileUrl, 12, 34);
96 check(fs.link, fs.linkSync, fileUrl, 'foobar');
97 check(fs.link, fs.linkSync, 'foobar', fileUrl);
98 check(fs.lstat, fs.lstatSync, fileUrl);
99 check(fs.mkdir, fs.mkdirSync, fileUrl, '0755');
100 check(fs.open, fs.openSync, fileUrl, 'r');
101 check(fs.readFile, fs.readFileSync, fileUrl);
102 check(fs.readdir, fs.readdirSync, fileUrl);
103 check(fs.readlink, fs.readlinkSync, fileUrl);
104 check(fs.realpath, fs.realpathSync, fileUrl);
105 check(fs.rename, fs.renameSync, fileUrl, 'foobar');
106 check(fs.rename, fs.renameSync, 'foobar', fileUrl);
107 check(fs.rmdir, fs.rmdirSync, fileUrl);
108 check(fs.stat, fs.statSync, fileUrl);
109 check(fs.symlink, fs.symlinkSync, fileUrl, 'foobar');
110 check(fs.symlink, fs.symlinkSync, 'foobar', fileUrl);
111 check(fs.truncate, fs.truncateSync, fileUrl);
112 check(fs.unlink, fs.unlinkSync, fileUrl);
113 check(null, fs.unwatchFile, fileUrl, assert.fail);
114 check(fs.utimes, fs.utimesSync, fileUrl, 0, 0);
115 check(null, fs.watch, fileUrl, assert.fail);
116 check(null, fs.watchFile, fileUrl, assert.fail);
117 check(fs.writeFile, fs.writeFileSync, fileUrl, 'abc');
119 check(fs.access, fs.accessSync, fileUrl2);
120 check(fs.access, fs.accessSync, fileUrl2, fs.F_OK);
121 check(fs.appendFile, fs.appendFileSync, fileUrl2, 'abc');
122 check(fs.chmod, fs.chmodSync, fileUrl2, '0644');
123 check(fs.chown, fs.chownSync, fileUrl2, 12, 34);
124 check(fs.copyFile, fs.copyFileSync, fileUrl2, 'abc');
125 check(fs.copyFile, fs.copyFileSync, 'abc', fileUrl2);
126 check(fs.lchown, fs.lchownSync, fileUrl2, 12, 34);
127 check(fs.link, fs.linkSync, fileUrl2, 'foobar');
128 check(fs.link, fs.linkSync, 'foobar', fileUrl2);
129 check(fs.lstat, fs.lstatSync, fileUrl2);
130 check(fs.mkdir, fs.mkdirSync, fileUrl2, '0755');
131 check(fs.open, fs.openSync, fileUrl2, 'r');
132 check(fs.readFile, fs.readFileSync, fileUrl2);
133 check(fs.readdir, fs.readdirSync, fileUrl2);
134 check(fs.readlink, fs.readlinkSync, fileUrl2);
135 check(fs.realpath, fs.realpathSync, fileUrl2);
136 check(fs.rename, fs.renameSync, fileUrl2, 'foobar');
137 check(fs.rename, fs.renameSync, 'foobar', fileUrl2);
138 check(fs.rmdir, fs.rmdirSync, fileUrl2);
139 check(fs.stat, fs.statSync, fileUrl2);
140 check(fs.symlink, fs.symlinkSync, fileUrl2, 'foobar');
141 check(fs.symlink, fs.symlinkSync, 'foobar', fileUrl2);
142 check(fs.truncate, fs.truncateSync, fileUrl2);
143 check(fs.unlink, fs.unlinkSync, fileUrl2);
144 check(null, fs.unwatchFile, fileUrl2, assert.fail);
145 check(fs.utimes, fs.utimesSync, fileUrl2, 0, 0);
146 check(null, fs.watch, fileUrl2, assert.fail);
147 check(null, fs.watchFile, fileUrl2, assert.fail);
148 check(fs.writeFile, fs.writeFileSync, fileUrl2, 'abc');