Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
de614946
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
大约 1 年 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
de614946
编写于
3月 16, 2022
作者:
M
muppets
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove unsuitable cases
Signed-off-by:
N
muppets
<
yangguangyu6@huawei.com
>
上级
a5028ace
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
0 addition
and
73 deletion
+0
-73
graphic/webGL/src/main/js/default/test/WebGL.test15.js
graphic/webGL/src/main/js/default/test/WebGL.test15.js
+0
-73
未找到文件。
graphic/webGL/src/main/js/default/test/WebGL.test15.js
浏览文件 @
de614946
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录