From e6f65a2cdb14d2030c959c6ed3b99418505417aa Mon Sep 17 00:00:00 2001 From: lixiteng Date: Fri, 9 Jun 2023 20:11:32 +0800 Subject: [PATCH] =?UTF-8?q?webGL=E9=87=8D=E5=A4=8D=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lixiteng --- .../src/main/js/default/test/WebGL.test01.js | 20 +-- .../src/main/js/default/test/WebGL.test06.js | 20 +-- .../src/main/js/default/test/WebGL.test08.js | 24 ++-- .../src/main/js/default/test/WebGL.test10.js | 132 +++++++++--------- .../src/main/js/default/test/WebGL.test11.js | 4 +- .../src/main/js/default/test/WebGL.test12.js | 4 +- .../src/main/js/default/test/WebGL.test13.js | 2 +- .../src/main/js/default/test/WebGL.test14.js | 8 +- 8 files changed, 107 insertions(+), 107 deletions(-) diff --git a/graphic/webGL/src/main/js/default/test/WebGL.test01.js b/graphic/webGL/src/main/js/default/test/WebGL.test01.js index 7ad0e8dda..eceb13a21 100644 --- a/graphic/webGL/src/main/js/default/test/WebGL.test01.js +++ b/graphic/webGL/src/main/js/default/test/WebGL.test01.js @@ -1007,15 +1007,15 @@ describe('webgl1Test_webgl1', function() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0033 - * @tc.name webgl_test_copyTexImage2D - * @tc.desc Test copyTexImage2D. + * @tc.name webgl_test_copyTexImage2D_01 + * @tc.desc Test copyTexImage2D_01. */ - it('webgl_test_copyTexImage2D', 0, async function(done) { + it('webgl_test_copyTexImage2D_01', 0, async function(done) { //initContext(); - console.info("webgltest into copyTexImage2D"); + console.info("webgltest into copyTexImage2D_01"); gl.copyTexImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 0, 0, 512, 512, 0); let errorCode = gl.getError(); - console.info("webgltest copyTexImage2D getError: " + errorCode); + console.info("webgltest copyTexImage2D_01 getError: " + errorCode); expect(errorCode).assertEqual(gl.NO_ERROR); //deleteContext(); @@ -1025,15 +1025,15 @@ describe('webgl1Test_webgl1', function() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0034 - * @tc.name webgl_test_copyTexImage2D - * @tc.desc Test copyTexImage2D. + * @tc.name webgl_test_copyTexImage2D_02 + * @tc.desc Test copyTexImage2D_02. */ - it('webgl_test_copyTexImage2D', 0, async function(done) { + it('webgl_test_copyTexImage2D_02', 0, async function(done) { //initContext(); - console.info("webgltest into copyTexImage2D"); + console.info("webgltest into copyTexImage2D_02"); gl.copyTexImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 0, 0, '512', 512, 0); let errorCode = gl.getError(); - console.info("webgltest copyTexImage2D getError: " + errorCode); + console.info("webgltest copyTexImage2D_02 getError: " + errorCode); expect(errorCode).assertEqual(gl.NO_ERROR); //deleteContext(); diff --git a/graphic/webGL/src/main/js/default/test/WebGL.test06.js b/graphic/webGL/src/main/js/default/test/WebGL.test06.js index a013a3d87..d56c0c30b 100644 --- a/graphic/webGL/src/main/js/default/test/WebGL.test06.js +++ b/graphic/webGL/src/main/js/default/test/WebGL.test06.js @@ -1454,14 +1454,14 @@ describe('webgl1Test_webgl6', function() { /** * @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) { //initContext(); 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(); @@ -1470,21 +1470,21 @@ describe('webgl1Test_webgl6', function() { //deleteContext(); 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) { //initContext(); 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(); @@ -1493,7 +1493,7 @@ describe('webgl1Test_webgl6', function() { //deleteContext(); 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/default/test/WebGL.test08.js b/graphic/webGL/src/main/js/default/test/WebGL.test08.js index 253e88fe0..97a51ef09 100644 --- a/graphic/webGL/src/main/js/default/test/WebGL.test08.js +++ b/graphic/webGL/src/main/js/default/test/WebGL.test08.js @@ -817,15 +817,15 @@ describe('webgl1Test_webgl8', function() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0728 - * @tc.name webgl_test_activeTexture_2 - * @tc.desc Test activeTexture. + * @tc.name webgl_test_activeTexture_01 + * @tc.desc Test activeTexture_01. */ - it('webgl_test_activeTexture_1', 0, async function(done) { + it('webgl_test_activeTexture_01', 0, async function(done) { //initContext(); - console.info("webgltest into activeTexture"); + console.info("webgltest into activeTexture_01"); gl.activeTexture(gl.TEXTURE2); const activeTextureParameter = gl.getParameter(gl.ACTIVE_TEXTURE); - console.info("webgltest activeTexture --> getParameter: " + activeTextureParameter); + console.info("webgltest activeTexture_01 --> getParameter: " + activeTextureParameter); expect(activeTextureParameter).assertEqual(33986); //deleteContext(); done(); @@ -835,15 +835,15 @@ describe('webgl1Test_webgl8', function() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0729 - * @tc.name webgl_test_activeTexture_3 - * @tc.desc Test activeTexture. + * @tc.name webgl_test_activeTexture_02 + * @tc.desc Test activeTexture_02. */ - it('webgl_test_activeTexture_1', 0, async function(done) { + it('webgl_test_activeTexture_02', 0, async function(done) { //initContext(); - console.info("webgltest into activeTexture"); + console.info("webgltest into activeTexture_02"); gl.activeTexture(gl.TEXTURE3); const activeTextureParameter = gl.getParameter(gl.ACTIVE_TEXTURE); - console.info("webgltest activeTexture --> getParameter: " + activeTextureParameter); + console.info("webgltest activeTexture_02 --> getParameter: " + activeTextureParameter); expect(activeTextureParameter).assertEqual(33987); //deleteContext(); done(); @@ -2098,10 +2098,10 @@ describe('webgl1Test_webgl8', function() { /** * @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) { //initContext(); console.info("webgltest into framebufferTexture2D"); const texture = gl.createTexture(); diff --git a/graphic/webGL/src/main/js/default/test/WebGL.test10.js b/graphic/webGL/src/main/js/default/test/WebGL.test10.js index 28d90fa50..a8b7808a4 100644 --- a/graphic/webGL/src/main/js/default/test/WebGL.test10.js +++ b/graphic/webGL/src/main/js/default/test/WebGL.test10.js @@ -985,12 +985,12 @@ describe('webgl1Test_webgl10', function() { /** * @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) { //initContext(); - 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(); @@ -1694,206 +1694,206 @@ describe('webgl1Test_webgl10', function() { /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0980 - * @tc.name testTexSubImage3D - * @tc.desc Test texSubImage3D. + * @tc.name testTexSubImage3D_01 + * @tc.desc Test texSubImage3D_01. */ - it('testTexSubImage3D', 0, async function(done) { + it('testTexSubImage3D_01', 0, async function(done) { //initContext(); try { - console.info('jsWebGL testTexSubImage3D test start ...66'); - console.info('jsWebGL testTexSubImage3D test start ...' + JSON.stringify(gl)); + console.info('jsWebGL testTexSubImage3D_01 test start ...66'); + console.info('jsWebGL testTexSubImage3D_01 test start ...' + JSON.stringify(gl)); gl2.texSubImage3D(gl.TEXTURE_3D, 0, 0, 0, 0, 200, 200, 1, gl.RGB8UI, gl.UNSIGNED_BYTE, 1); const texSubImage3DError = gl.getError(); - console.info("texSubImage3DError: " + texSubImage3DError); + console.info("texSubImage3D_01Error: " + texSubImage3DError); expect(texSubImage3DError).assertEqual(0); //deleteContext(); done(); } catch (e) { - console.log("testTexSubImage3D has failed for " + e) + console.log("testTexSubImage3D_01 has failed for " + e) expect(null).assertFail() } }) /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0981 - * @tc.name testTexSubImage3D - * @tc.desc Test texSubImage3D. + * @tc.name testTexSubImage3D_02 + * @tc.desc Test texSubImage3D_02. */ - it('testTexSubImage3D', 0, async function(done) { + it('testTexSubImage3D_02', 0, async function(done) { //initContext(); try { - console.info('jsWebGL testTexSubImage3D test start ...66'); - console.info('jsWebGL testTexSubImage3D test start ...' + JSON.stringify(gl)); + console.info('jsWebGL testTexSubImage3D_02 test start ...66'); + console.info('jsWebGL testTexSubImage3D_02 test start ...' + JSON.stringify(gl)); gl2.texSubImage3D(gl.TEXTURE_3D, 0, 0, 0, 0, 200, 200, 1, gl.R8, gl.UNSIGNED_BYTE, 1); const texSubImage3DError = gl.getError(); - console.info("texSubImage3DError: " + texSubImage3DError); + console.info("texSubImage3D_02Error: " + texSubImage3DError); expect(texSubImage3DError).assertEqual(0); //deleteContext(); done(); } catch (e) { - console.log("testTexSubImage3D has failed for " + e) + console.log("testTexSubImage3D_02 has failed for " + e) expect(null).assertFail() } }) /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0982 - * @tc.name testTexSubImage3D - * @tc.desc Test texSubImage3D. + * @tc.name testTexSubImage3D_03 + * @tc.desc Test texSubImage3D_03. */ - it('testTexSubImage3D', 0, async function(done) { + it('testTexSubImage3D_03', 0, async function(done) { //initContext(); try { - console.info('jsWebGL testTexSubImage3D test start ...66'); - console.info('jsWebGL testTexSubImage3D test start ...' + JSON.stringify(gl)); + console.info('jsWebGL testTexSubImage3D_03 test start ...66'); + console.info('jsWebGL testTexSubImage3D_03 test start ...' + JSON.stringify(gl)); gl2.texSubImage3D(gl.TEXTURE_3D, 0, 0, 0, 0, 200, 200, 1, gl.LUMINANCE, gl .UNSIGNED_BYTE, 1); const texSubImage3DError = gl.getError(); - console.info("texSubImage3DError: " + texSubImage3DError); + console.info("texSubImage3D_03Error: " + texSubImage3DError); expect(texSubImage3DError).assertEqual(0); //deleteContext(); done(); } catch (e) { - console.log("testTexSubImage3D has failed for " + e) + console.log("testTexSubImage3D_03 has failed for " + e) expect(null).assertFail() } }) /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0983 - * @tc.name testCompressedTexImage3D - * @tc.desc Test compressedTexImage3D. + * @tc.name testCompressedTexImage3D_01 + * @tc.desc Test compressedTexImage3D_01. */ - it('testCompressedTexImage3D', 0, async function(done) { + it('testCompressedTexImage3D_01', 0, async function(done) { //initContext(); try { - console.info('jsWebGL testCompressedTexImage3D test start ...66'); - console.info('jsWebGL testCompressedTexImage3D test start ...' + JSON.stringify(gl)); + console.info('jsWebGL testCompressedTexImage3D_01 test start ...66'); + console.info('jsWebGL testCompressedTexImage3D_01 test start ...' + JSON.stringify(gl)); const buffer = new ArrayBuffer(8); gl2.compressedTexImage3D(gl.TEXTURE_3D, 0, 0x83F0, 512, 512, 0, buffer); const compressedTexImage3DError = gl.getError(); - console.info("compressedTexImage3DError: " + compressedTexImage3DError); + console.info("compressedTexImage3D_01Error: " + compressedTexImage3DError); expect(compressedTexImage3DError).assertEqual(0); //deleteContext(); done(); } catch (e) { - console.log("testCompressedTexImage3D has failed for " + e) + console.log("testCompressedTexImage3D_01 has failed for " + e) expect(null).assertFail() } }) /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0984 - * @tc.name testCompressedTexImage3D - * @tc.desc Test compressedTexImage3D. + * @tc.name testCompressedTexImage3D_02 + * @tc.desc Test compressedTexImage3D_02. */ - it('testCompressedTexImage3D', 0, async function(done) { + it('testCompressedTexImage3D_02', 0, async function(done) { //initContext(); try { - console.info('jsWebGL testCompressedTexImage3D test start ...66'); - console.info('jsWebGL testCompressedTexImage3D test start ...' + JSON.stringify(gl)); + console.info('jsWebGL testCompressedTexImage3D_02 test start ...66'); + console.info('jsWebGL testCompressedTexImage3D_02 test start ...' + JSON.stringify(gl)); const buffer = new ArrayBuffer(8); gl2.compressedTexImage3D(gl.TEXTURE_3D, 0, 0x83F0, 512, 512, 0, buffer, 0, 0); const compressedTexImage3DError = gl.getError(); - console.info("compressedTexImage3DError: " + compressedTexImage3DError); + console.info("compressedTexImage3D_02Error: " + compressedTexImage3DError); expect(compressedTexImage3DError).assertEqual(0); //deleteContext(); done(); } catch (e) { - console.log("testCompressedTexImage3D has failed for " + e) + console.log("testCompressedTexImage3D_02 has failed for " + e) expect(null).assertFail() } }) /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0985 - * @tc.name testCompressedTexImage3D - * @tc.desc Test compressedTexImage3D. + * @tc.name testCompressedTexImage3D_03 + * @tc.desc Test compressedTexImage3D_03. */ - it('testCompressedTexImage3D', 0, async function(done) { + it('testCompressedTexImage3D_03', 0, async function(done) { //initContext(); try { - console.info('jsWebGL testCompressedTexImage3D test start ...66'); - console.info('jsWebGL testCompressedTexImage3D test start ...' + JSON.stringify(gl)); + console.info('jsWebGL testCompressedTexImage3D_03 test start ...66'); + console.info('jsWebGL testCompressedTexImage3D_03 test start ...' + JSON.stringify(gl)); gl2.compressedTexImage3D(gl.TEXTURE_3D, 0, 0x83F0, 512, 512, 0, gl2.PIXEL_UNPACK_BUFFER, 0); const compressedTexImage3DError = gl.getError(); - console.info("compressedTexImage3DError: " + compressedTexImage3DError); + console.info("compressedTexImage3D_03Error: " + compressedTexImage3DError); expect(compressedTexImage3DError).assertEqual(0); //deleteContext(); done(); } catch (e) { - console.log("testCompressedTexImage3D has failed for " + e) + console.log("testCompressedTexImage3D_03 has failed for " + e) expect(null).assertFail() } }) /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0986 - * @tc.name testCompressedTexImage3D - * @tc.desc Test compressedTexImage3D. + * @tc.name testCompressedTexImage3D_04 + * @tc.desc Test compressedTexImage3D_04. */ - it('testCompressedTexImage3D', 0, async function(done) { + it('testCompressedTexImage3D_04', 0, async function(done) { //initContext(); try { - console.info('jsWebGL testCompressedTexImage3D test start ...66'); - console.info('jsWebGL testCompressedTexImage3D test start ...' + JSON.stringify(gl)); + console.info('jsWebGL testCompressedTexImage3D_04 test start ...66'); + console.info('jsWebGL testCompressedTexImage3D_04 test start ...' + JSON.stringify(gl)); const buffer = new ArrayBuffer(8); gl2.compressedTexImage3D(gl.TEXTURE_3D, false, 0x83F0, 512, 512, 0, buffer); const compressedTexImage3DError = gl.getError(); - console.info("compressedTexImage3DError: " + compressedTexImage3DError); + console.info("compressedTexImage3D_04Error: " + compressedTexImage3DError); expect(compressedTexImage3DError).assertEqual(0); //deleteContext(); done(); } catch (e) { - console.log("testCompressedTexImage3D has failed for " + e) + console.log("testCompressedTexImage3D_04 has failed for " + e) expect(null).assertFail() } }) /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0987 - * @tc.name testCompressedTexImage3D - * @tc.desc Test compressedTexImage3D. + * @tc.name testCompressedTexImage3D_05 + * @tc.desc Test compressedTexImage3D_05. */ - it('testCompressedTexImage3D', 0, async function(done) { + it('testCompressedTexImage3D_05', 0, async function(done) { //initContext(); try { - console.info('jsWebGL testCompressedTexImage3D test start ...66'); - console.info('jsWebGL testCompressedTexImage3D test start ...' + JSON.stringify(gl)); + console.info('jsWebGL testCompressedTexImage3D_05 test start ...66'); + console.info('jsWebGL testCompressedTexImage3D_05 test start ...' + JSON.stringify(gl)); const buffer = new ArrayBuffer(8); gl2.compressedTexImage3D(gl.TEXTURE_3D, false, 0x83F0, 512, 512, 0, buffer, 0, 0); const compressedTexImage3DError = gl.getError(); - console.info("compressedTexImage3DError: " + compressedTexImage3DError); + console.info("compressedTexImage3D_05Error: " + compressedTexImage3DError); expect(compressedTexImage3DError).assertEqual(0); //deleteContext(); done(); } catch (e) { - console.log("testCompressedTexImage3D has failed for " + e) + console.log("testCompressedTexImage3D_05 has failed for " + e) expect(null).assertFail() } }) /** * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0988 - * @tc.name testCompressedTexImage3D - * @tc.desc Test compressedTexImage3D. + * @tc.name testCompressedTexImage3D_06 + * @tc.desc Test compressedTexImage3D_06. */ - it('testCompressedTexImage3D', 0, async function(done) { + it('testCompressedTexImage3D_06', 0, async function(done) { //initContext(); try { - console.info('jsWebGL testCompressedTexImage3D test start ...66'); - console.info('jsWebGL testCompressedTexImage3D test start ...' + JSON.stringify(gl)); + console.info('jsWebGL testCompressedTexImage3D_06 test start ...66'); + console.info('jsWebGL testCompressedTexImage3D_06 test start ...' + JSON.stringify(gl)); gl2.compressedTexImage3D(gl.TEXTURE_3D, false, 0x83F0, 512, 512, 0, gl2 .PIXEL_UNPACK_BUFFER, 0); const compressedTexImage3DError = gl.getError(); - console.info("compressedTexImage3DError: " + compressedTexImage3DError); + console.info("compressedTexImage3D_06Error: " + compressedTexImage3DError); expect(compressedTexImage3DError).assertEqual(0); //deleteContext(); done(); } catch (e) { - console.log("testCompressedTexImage3D has failed for " + e) + console.log("testCompressedTexImage3D_06 has failed for " + e) expect(null).assertFail() } }) diff --git a/graphic/webGL/src/main/js/default/test/WebGL.test11.js b/graphic/webGL/src/main/js/default/test/WebGL.test11.js index d958634bf..e4a09bc50 100644 --- a/graphic/webGL/src/main/js/default/test/WebGL.test11.js +++ b/graphic/webGL/src/main/js/default/test/WebGL.test11.js @@ -362,10 +362,10 @@ describe('webgl1Test_webgl11', function() { /** * @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) { //initContext(); console.info('jsWebGL2 bufferData test start ...' + JSON.stringify(gl2)); const buffer = gl.createBuffer(); diff --git a/graphic/webGL/src/main/js/default/test/WebGL.test12.js b/graphic/webGL/src/main/js/default/test/WebGL.test12.js index 54f85b88c..bf04a1852 100644 --- a/graphic/webGL/src/main/js/default/test/WebGL.test12.js +++ b/graphic/webGL/src/main/js/default/test/WebGL.test12.js @@ -1337,10 +1337,10 @@ describe('webgl1Test_webgl12', function() { /** * @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) { //initContext(); console.info('jsWebGL2 texImage2D test start ...' + JSON.stringify(gl2)); var buffer = new ArrayBuffer(8); diff --git a/graphic/webGL/src/main/js/default/test/WebGL.test13.js b/graphic/webGL/src/main/js/default/test/WebGL.test13.js index 54d13ed90..ea0fe453d 100644 --- a/graphic/webGL/src/main/js/default/test/WebGL.test13.js +++ b/graphic/webGL/src/main/js/default/test/WebGL.test13.js @@ -611,7 +611,7 @@ describe('webgl1Test_webgl13', function() { * @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) { //initContext(); console.info('jsWebGL testTexImage2D test start ...66'); console.info('jsWebGL testTexImage2D test start ...' + JSON.stringify(gl)); diff --git a/graphic/webGL/src/main/js/default/test/WebGL.test14.js b/graphic/webGL/src/main/js/default/test/WebGL.test14.js index 7f898809c..8869efb4e 100644 --- a/graphic/webGL/src/main/js/default/test/WebGL.test14.js +++ b/graphic/webGL/src/main/js/default/test/WebGL.test14.js @@ -838,10 +838,10 @@ describe('webgl1Test_webgl14', function() { /** * @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) { //initContext(); console.info("webgltest into clearBufferfv"); @@ -899,10 +899,10 @@ describe('webgl1Test_webgl14', function() { /** * @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) { //initContext(); console.info("webgltest into clearBufferfv"); -- GitLab