提交 1958a639 编写于 作者: S Storage sandboxing

注释storagefileconcurrentjstest的用例

Signed-off-by: NStorage sandboxing <raoxian050@chinasoftinc.com>
上级 ef5a24f1
......@@ -206,6 +206,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_open_006 has failed for ' + e);
expect(fileio.unlinkSync(fpath) !== null).assertTrue();
}
});
......@@ -655,6 +656,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_open_027 has failed for ' + e);
expect(fileio.unlinkSync(fpath) !== null).assertTrue();
}
});
......@@ -682,6 +684,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_open_028 has failed for ' + e);
expect(fileio.unlinkSync(fpath) !== null).assertTrue();
}
});
......@@ -759,6 +762,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_open_031 has failed for ' + e);
expect(fileio.unlinkSync(fpath) !== null).assertTrue();
}
});
......@@ -786,6 +790,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_open_032 has failed for ' + e);
expect(fileio.unlinkSync(fpath) !== null).assertTrue();
}
});
......@@ -863,6 +868,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_open_035 has failed for ' + e);
expect(fileio.unlinkSync(fpath) !== null).assertTrue();
}
});
......@@ -890,6 +896,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_open_036 has failed for ' + e);
expect(fileio.unlinkSync(fpath) !== null).assertTrue();
}
});
......@@ -1068,6 +1075,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_open_sync_007 has failed for ' + e);
}
});
......@@ -1108,6 +1116,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_open_sync_009 has failed for ' + e);
}
});
......@@ -1807,6 +1816,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_read_sync_010 has failed for ' + e);
expect(fileio.closeSync(fd) !== null).assertTrue();
expect(fileio.unlinkSync(fpath) !== null).assertTrue();
}
......@@ -2315,6 +2325,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_copy_file_sync_008 has failed for ' + e);
}
});
......@@ -2361,6 +2372,7 @@ describe('fileIOTest', function () {
}
catch (e) {
fileio.unlinkSync(fpath);
console.log('fileio_test_copy_file_sync_010 has failed for ' + e);
}
});
......@@ -2539,6 +2551,7 @@ describe('fileIOTest', function () {
}
catch (e) {
expect(fileio.unlinkSync(fpath) !== null).assertTrue();
console.log('fileio_test_rename_sync_003 Test finish. ' + e);
}
});
......@@ -3494,6 +3507,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_fstat_sync_001 has failed for ' + e);
}
});
......@@ -3508,6 +3522,7 @@ describe('fileIOTest', function () {
expect(null).assertFail();
}
catch (e) {
console.log('fileio_test_fstat_sync_002 has failed for ' + e);
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册