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 7ad0e8dda337fbca0df4f061444e25c867c7b621..eceb13a218cce3192a8f805dbd59d53f4d1a60b8 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 a013a3d87fa8582ff5fccec072b7c56453cdfa0e..d56c0c30b0b33ed99c9c56c374bc425854641d95 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 253e88fe08be6350d7e7c60aadfb4c8730af9bf7..97a51ef095a6dbeb700fc71c2fc9d2b899911fd4 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 28d90fa50991d795809fa0820d0eca5aa813e778..a8b7808a4d72cec71ebf215d759f6f5f7369845e 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 d958634bf76345c0e3f2827d66fa2759c215cdb6..e4a09bc503641124f76478ba5bfd3572fa78c399 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 54f85b88c054a058875566e32a009051c895893a..bf04a185223307c4d7971c079070a7246b1e9b8a 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 54d13ed90d3dc4670c60d514ccf93e139332f692..ea0fe453d69ebb1fc7c1d734f386a4a0fcd36fc5 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 7f898809c567d82cde2bff20dda2b9c21837b585..8869efb4e9f14c191182d60b85fb86290d5d623a 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");