提交 de614946 编写于 作者: M muppets

remove unsuitable cases

Signed-off-by: Nmuppets <yangguangyu6@huawei.com>
上级 a5028ace
......@@ -1082,79 +1082,6 @@ describe('webgl1Test', function() {
done();
});
/**
* @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0835
* @tc.name testGetUniformIndices_01_01
* @tc.desc Test getUniformIndices.
*/
it('testGetUniformIndices_01_01', 0, async function(done) {
//initContext();
try {
console.info('jsWebGL testGetUniformIndices_01_01 test start ...66');
console.info('jsWebGL testGetUniformIndices test start ...' + JSON.stringify(gl));
const program = createProgram(gl);
const retuGLintptr = gl2.getUniformIndices(program, ['-1', '-1', '-1']);
console.log("testGetUniformIndices_01_01 has failed for " + retuGLintptr)
const int32list = [-1, -1, -1];
console.log("testGetUniformIndices_01_01 has failed for " + int32list)
//判断数据类型是否正确
expect(int32list == 'String').assertEqual(false);
//deleteContext();
done();
} catch (e) {
console.log("testGetUniformIndices_01_01 has failed for " + e)
expect(null).assertFail()
}
})
/**
* @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0836
* @tc.name testGetUniformIndices_01_02
* @tc.desc Test getUniformIndices.
*/
it('testGetUniformIndices_01_02', 0, async function(done) {
//initContext();
try {
console.info('jsWebGL testGetUniformIndices_01_02 test start ...66');
const program = createProgram(gl);
const retuGLintptr = gl2.getUniformIndices(program, ['-0', '-0', '-0']);
console.log("testGetUniformIndices_01_02 has failed for " + retuGLintptr)
const int32list = [-1, -1, -1];
console.log("testGetUniformIndices_01_02 has failed for " + int32list)
//判断数据类型是否正确
expect(int32list == 'String').assertEqual(false);
//deleteContext();
done();
} catch (e) {
console.log("testGetUniformIndices_01_02 has failed for " + e)
expect(null).assertFail()
}
})
/**
* @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0837
* @tc.name testGetUniformIndices_01_03
* @tc.desc Test getUniformIndices.
*/
it('testGetUniformIndices_01_03', 0, async function(done) {
//initContext();
try {
console.info('jsWebGL testGetUniformIndices_01_03 test start ...66');
const program = createProgram(gl);
const retuGLintptr = gl2.getUniformIndices(program, [null, null, null]);
console.log("testGetUniformIndices_01_03 has failed for " + retuGLintptr)
const int32list = [-1, -1, -1];
console.log("testGetUniformIndices_01_03 has failed for " + int32list)
//判断数据类型是否正确
expect(int32list == 'String').assertEqual(false);
//deleteContext();
done();
} catch (e) {
console.log("testGetUniformIndices_01_03 has failed for " + e)
expect(null).assertFail()
}
})
/**
* @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0923
* @tc.name testCopyBufferSubData_1_01
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册