提交 ca5e0410 编写于 作者: Z zleoyu

覆盖用例WebGLContextAttributes alpha

Signed-off-by: Nzleoyu <zhangleiyu1@huawei.com>
Change-Id: I67d21792c015f42d75b85eac6e125a6029ac6dd7
上级 82483940
...@@ -300,6 +300,7 @@ describe('webgl1Test', function() { ...@@ -300,6 +300,7 @@ describe('webgl1Test', function() {
it('webgl_test_getContextAttributes', 0, async function(done) { it('webgl_test_getContextAttributes', 0, async function(done) {
console.info("webgltest into getContextAttributes"); console.info("webgltest into getContextAttributes");
const getContextAttributesValue = gl.getContextAttributes(); const getContextAttributesValue = gl.getContextAttributes();
const alphaValue = getContextAttributesValue.alpha();
console.info("webgltest getContextAttributes: " + getContextAttributesValue); console.info("webgltest getContextAttributes: " + getContextAttributesValue);
expect(typeof(getContextAttributesValue)).assertEqual("object" || null); expect(typeof(getContextAttributesValue)).assertEqual("object" || null);
done(); done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册