From: tangkaiyuan Date: Wed, 27 Jul 2022 09:33:32 +0000 (+0800) Subject: [common][filesystem][TSEVEN-2430 Increase out-of-range value] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c556beb6ce938d47551ff89afdcd2edc176ead3f;p=test%2Ftct%2Fweb%2Fapi.git [common][filesystem][TSEVEN-2430 Increase out-of-range value] Change-Id: I9bd2a053b529e5a5b0cb78330e84ae506e1ea545 Signed-off-by: tangkaiyuan --- diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlobNonBlocking_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlobNonBlocking_InvalidValuesError.html index 7777d73ad..4a5cceec0 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlobNonBlocking_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlobNonBlocking_InvalidValuesError.html @@ -69,7 +69,7 @@ t.step(function () { fileHandleRead = tizen.filesystem.openFile("documents/file", "r"); assert_throws(INVALID_VALUES_EXCEPTION, function () { - fileHandleRead.readBlobNonBlocking(readBlobNonBlockingSuccess, readBlobNonBlockingError, 0x7fffffffffffffff); + fileHandleRead.readBlobNonBlocking(readBlobNonBlockingSuccess, readBlobNonBlockingError, 0xfffffffffffffffff); }, "InvalidValuesError should be thrown - invalid count."); fileHandleRead.close(); t.done(); diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlob_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlob_InvalidValuesError.html index a4ecba920..02bcd0e97 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlob_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlob_InvalidValuesError.html @@ -52,7 +52,7 @@ test(function () { fileHandleRead = tizen.filesystem.openFile("documents/file", "r"); assert_throws(INVALID_VALUES_EXCEPTION, function () { - fileHandleRead.readBlob(0x7fffffffffffffff); + fileHandleRead.readBlob(0xfffffffffffffffff); }, "InvalidValuesError should be thrown - invalid count."); fileHandleRead.close(); }, document.title); diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readDataNonBlocking_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readDataNonBlocking_InvalidValuesError.html index 808106e4c..1320f0534 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readDataNonBlocking_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readDataNonBlocking_InvalidValuesError.html @@ -66,7 +66,7 @@ t.step(function () { fileHandleRead = tizen.filesystem.openFile("documents/file", "r"); assert_throws(INVALID_VALUES_EXCEPTION, function () { - fileHandleRead.readDataNonBlocking(readDataNonBlockingSuccess, readDataNonBlockingError, 0x7fffffffffffffff); + fileHandleRead.readDataNonBlocking(readDataNonBlockingSuccess, readDataNonBlockingError, 0xfffffffffffffffff); }, "InvalidValuesError should be thrown - invalid size."); fileHandleRead.close(); t.done(); diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readData_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readData_InvalidValuesError.html index ad4172c29..12d2b56c8 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readData_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readData_InvalidValuesError.html @@ -40,6 +40,7 @@ test(function () { add_result_callback(function () { try { + fileHandleRead.close(); tizen.filesystem.deleteFile("documents/file"); } catch (err) { } @@ -51,9 +52,8 @@ test(function () { fileHandleRead = tizen.filesystem.openFile("documents/file", "r"); assert_throws(INVALID_VALUES_EXCEPTION, function () { - fileHandleRead.readData(0x7fffffffffffffff); + fileHandleRead.readData(0xfffffffffffffffff); }, "InvalidValuesError should be thrown - invalid count."); - fileHandleRead.close(); }, document.title); diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readStringNonBlocking_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readStringNonBlocking_InvalidValuesError.html index 34947973f..e212d9dca 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readStringNonBlocking_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readStringNonBlocking_InvalidValuesError.html @@ -58,7 +58,7 @@ t.step(function () { fileHandle.close(); fileHandle = tizen.filesystem.openFile("documents/file", "r"); assert_throws(INVALID_VALUES_EXCEPTION, function () { - fileHandle.readStringNonBlocking(readStringNonBlockingSuccess, readStringNonBlockingError, 0x7fffffffffffffff); + fileHandle.readStringNonBlocking(readStringNonBlockingSuccess, readStringNonBlockingError, 0xfffffffffffffffff); }, "InvalidValuesError should be thrown - invalid count."); t.done(); }); diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readString_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readString_InvalidValuesError.html index 1419592ac..00415f791 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readString_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readString_InvalidValuesError.html @@ -52,7 +52,7 @@ test(function () { fileHandleRead = tizen.filesystem.openFile("documents/file", "r"); assert_throws(INVALID_VALUES_EXCEPTION, function () { - fileHandleRead.readString(0x7fffffffffffffff); + fileHandleRead.readString(0xfffffffffffffffff); }, "InvalidValuesError should be thrown - invalid count."); }, document.title);