diff --git a/graphic/webGL/src/main/js/test/WebGL.test06.js b/graphic/webGL/src/main/js/test/WebGL.test06.js index 5972fb66d97908b876e9d6da06e5916a008d5a4d..638807f7005e4d2cdb41d2cd9651c1f43a42b420 100644 --- a/graphic/webGL/src/main/js/test/WebGL.test06.js +++ b/graphic/webGL/src/main/js/test/WebGL.test06.js @@ -1445,14 +1445,14 @@ export default function webgl1Test_webgl6() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0546 - * @tc.name testCompressedTexImage3D_01 + * @tc.name testCompressedTexImage3D_01_1 * @tc.desc Test compressedTexImage3D. */ - it('testCompressedTexImage3D_01', 0, async function (done) { + it('testCompressedTexImage3D_01_1', 0, async function (done) { try { - console.info('jsWebGL testCompressedTexImage3D_01 test start ...66'); - console.info('jsWebGL testCompressedTexImage3D_01 test start ...' + JSON.stringify(gl)); + console.info('jsWebGL testCompressedTexImage3D_01_1 test start ...66'); + console.info('jsWebGL testCompressedTexImage3D_01_1 test start ...' + JSON.stringify(gl)); gl2.compressedTexImage3D(gl.TEXTURE_3D, 0, 0x83F0, 512, 512, 512, 0, gl2 .PIXEL_UNPACK_BUFFER, 0); const compressedTexImage3DError = gl.getError(); @@ -1461,21 +1461,21 @@ export default function webgl1Test_webgl6() { done(); } catch (e) { - console.log("testCompressedTexImage3D_01 has failed for " + e) + console.log("testCompressedTexImage3D_01_1 has failed for " + e) expect(null).assertFail() } }) /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0547 - * @tc.name testCompressedTexImage3D_02 + * @tc.name testCompressedTexImage3D_01_2 * @tc.desc Test compressedTexImage3D. */ - it('testCompressedTexImage3D_02', 0, async function (done) { + it('testCompressedTexImage3D_01_2', 0, async function (done) { try { - console.info('jsWebGL testCompressedTexImage3D_02 test start ...66'); - console.info('jsWebGL testCompressedTexImage3D_02 test start ...' + JSON.stringify(gl)); + console.info('jsWebGL testCompressedTexImage3D_01_2 test start ...66'); + console.info('jsWebGL testCompressedTexImage3D_01_2 test start ...' + JSON.stringify(gl)); const buffer = new ArrayBuffer(8); gl2.compressedTexImage3D(gl.TEXTURE_3D, 0, 0x83F0, 512, 512, 512, 0, buffer, 0, 0); const compressedTexImage3DError = gl.getError(); @@ -1484,7 +1484,7 @@ export default function webgl1Test_webgl6() { done(); } catch (e) { - console.log("testCompressedTexImage3D_02 has failed for " + e) + console.log("testCompressedTexImage3D_01_2 has failed for " + e) expect(null).assertFail() } }) diff --git a/graphic/webGL/src/main/js/test/WebGL.test08.js b/graphic/webGL/src/main/js/test/WebGL.test08.js index 50e23fc0d638a86501a1d9fea38369d31750f2c6..10edda057b4f59a6552923e1e3289d556b1135be 100644 --- a/graphic/webGL/src/main/js/test/WebGL.test08.js +++ b/graphic/webGL/src/main/js/test/WebGL.test08.js @@ -2069,10 +2069,10 @@ export default function webgl1Test_webgl8() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0784 - * @tc.name webgl_test_framebufferTexture2D25 + * @tc.name webgl_test_framebufferTexture2D27 * @tc.desc Test framebufferTexture2D. */ - it('webgl_test_framebufferTexture2D25', 0, async function (done) { + it('webgl_test_framebufferTexture2D27', 0, async function (done) { console.info("webgltest into framebufferTexture2D"); const texture = gl.createTexture(); diff --git a/graphic/webGL/src/main/js/test/WebGL.test10.js b/graphic/webGL/src/main/js/test/WebGL.test10.js index aa08afe8b618ebe891ca39e5cf5b8ef75ddef168..fc57c70368b8aa7d81bdb6084165143a2866c3d2 100644 --- a/graphic/webGL/src/main/js/test/WebGL.test10.js +++ b/graphic/webGL/src/main/js/test/WebGL.test10.js @@ -977,12 +977,12 @@ export default function webgl1Test_webgl10() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0948 - * @tc.name testInvalidateFramebuffer_1_01 + * @tc.name testInvalidateFramebuffer_1_07 * @tc.desc Test invalidateFramebuffer. */ - it('testInvalidateFramebuffer_1_01', 0, async function (done) { + it('testInvalidateFramebuffer_1_07', 0, async function (done) { - console.info('jsWebGL testInvalidateFramebuffer_1_01 test start ...66'); + console.info('jsWebGL testInvalidateFramebuffer_1_07 test start ...66'); gl2.invalidateFramebuffer(gl.READ_FRAMEBUFFER, [gl.COLOR_ATTACHMENT0, gl.COLOR_ATTACHMENT1]); const invalidateFramebufferError = gl.getError(); diff --git a/graphic/webGL/src/main/js/test/WebGL.test11.js b/graphic/webGL/src/main/js/test/WebGL.test11.js index c38977b555dc879b93bb775259685684fdb90f9a..48e4ca879e875d4995ac66a98bead4772ef27a76 100644 --- a/graphic/webGL/src/main/js/test/WebGL.test11.js +++ b/graphic/webGL/src/main/js/test/WebGL.test11.js @@ -354,10 +354,10 @@ export default function webgl1Test_webgl11() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_1005 - * @tc.name testBufferData__3 + * @tc.name testBufferData__5 * @tc.desc Test bufferData. */ - it('testBufferData__3', 0, async function (done) { + it('testBufferData__5', 0, async function (done) { console.info('jsWebGL2 bufferData test start ...' + JSON.stringify(gl2)); const buffer = gl.createBuffer(); diff --git a/graphic/webGL/src/main/js/test/WebGL.test12.js b/graphic/webGL/src/main/js/test/WebGL.test12.js index c498853295ecb8f226464906e3628b132ba3d917..7a15aca02b036983f63e029ae16df7c28fe8e936 100644 --- a/graphic/webGL/src/main/js/test/WebGL.test12.js +++ b/graphic/webGL/src/main/js/test/WebGL.test12.js @@ -1328,10 +1328,10 @@ export default function webgl1Test_webgl12() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_1172 - * @tc.name testTexImage2D_1_16 + * @tc.name testTexImage2D_1_17 * @tc.desc Test texImage2D. */ - it('testTexImage2D_1_16', 0, async function (done) { + it('testTexImage2D_1_17', 0, async function (done) { console.info('jsWebGL2 texImage2D test start ...' + JSON.stringify(gl2)); var buffer = new ArrayBuffer(8); diff --git a/graphic/webGL/src/main/js/test/WebGL.test13.js b/graphic/webGL/src/main/js/test/WebGL.test13.js index 2bc5d70bbe37db525cff2b86fa6714cc01b8c1b4..7fb49e6ef059641e809b3228d5ec5daa17e4ffea 100644 --- a/graphic/webGL/src/main/js/test/WebGL.test13.js +++ b/graphic/webGL/src/main/js/test/WebGL.test13.js @@ -603,7 +603,7 @@ export default function webgl1Test_webgl13() { * @tc.name testTexImage2D_11_1 * @tc.desc Test texImage2D. */ - it('testTexImage2D_11_1', 0, async function (done) { + it('testTexImage2D_10_2', 0, async function (done) { console.info('jsWebGL testTexImage2D test start ...66'); console.info('jsWebGL testTexImage2D test start ...' + JSON.stringify(gl)); diff --git a/graphic/webGL/src/main/js/test/WebGL.test14.js b/graphic/webGL/src/main/js/test/WebGL.test14.js index b53a397b44c00642b0abc3f3406607eae56b8f88..545f172b0f528b8fd7c2a91b3679d5ed2dba97a7 100644 --- a/graphic/webGL/src/main/js/test/WebGL.test14.js +++ b/graphic/webGL/src/main/js/test/WebGL.test14.js @@ -824,10 +824,10 @@ export default function webgl1Test_webgl14() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_1328 - * @tc.name webgl_test_clearBufferfv_22 + * @tc.name webgl_test_clearBufferfv_22_1 * @tc.desc Test clearBufferfv. */ - it('webgl_test_clearBufferfv_22', 0, async function (done) { + it('webgl_test_clearBufferfv_22_1', 0, async function (done) { console.info("webgltest into clearBufferfv"); @@ -885,10 +885,10 @@ export default function webgl1Test_webgl14() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_1331 - * @tc.name webgl_test_clearBufferfv_22 + * @tc.name webgl_test_clearBufferfv_22_2 * @tc.desc Test clearBufferfv. */ - it('webgl_test_clearBufferfv_22', 0, async function (done) { + it('webgl_test_clearBufferfv_22_2', 0, async function (done) { console.info("webgltest into clearBufferfv");