Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
5d211165
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看板
提交
5d211165
编写于
7月 05, 2022
作者:
W
wangshi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add depq2 testcase
Signed-off-by:
N
wangshi
<
wangshi@kaihongdigi.com
>
上级
af645f4d
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
1590 addition
and
0 deletion
+1590
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_depthTestCase.cpp
...rc/deqpgles2/functional/Deqpgles2render_depthTestCase.cpp
+292
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basicTestCase.cpp
...es2/functional/Deqpgles2render_multiple_basicTestCase.cpp
+184
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basic_arrayTestCase.cpp
...nctional/Deqpgles2render_multiple_basic_arrayTestCase.cpp
+265
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_nested_structs_arraysTestCase.cpp
...eqpgles2render_multiple_nested_structs_arraysTestCase.cpp
+265
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_depthbufferTestCase.cpp
...functional/Deqpgles2render_shared_depthbufferTestCase.cpp
+292
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_stencil_clearTestCase.cpp
...les2/functional/Deqpgles2render_stencil_clearTestCase.cpp
+292
-0
未找到文件。
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_depthTestCase.cpp
0 → 100644
浏览文件 @
5d211165
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20013TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012490
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012490 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render."
"depth.tex2d_rgb_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012490 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012490 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012491
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012491 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render."
"depth.tex2d_rgba_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012491 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012491 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012492
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012492 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render."
"depth.rbo_rgb565_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012492 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012492 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012493
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012493 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.d"
"epth.rbo_rgb5_a1_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012493 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012493 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012494
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012494 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render."
"depth.rbo_rgba4_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012494 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012494 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012495
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012495 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.de"
"pth.npot_tex2d_rgb_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012495 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012495 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012496
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012496 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.dep"
"th.npot_tex2d_rgba_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012496 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012496 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012497
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012497 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.dep"
"th.npot_rbo_rgb565_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012497 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012497 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012498
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012498 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.dep"
"th.npot_rbo_rgb5_a1_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012498 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012498 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012499
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012499 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.de"
"pth.npot_rbo_rgba4_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012499 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012499 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basicTestCase.cpp
0 → 100644
浏览文件 @
5d211165
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20015TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014430
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014430 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.valu"
"e.initial.render.multiple_basic.vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014430 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014430 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014431
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014431 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value"
".initial.render.multiple_basic.fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014431 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014431 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014432
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014432 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.val"
"ue.initial.render.multiple_basic.both"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014432 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014432 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014762
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014762 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assi"
"gned.by_pointer.render.multiple_basic.vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014762 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014762 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014763
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014763 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assig"
"ned.by_pointer.render.multiple_basic.fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014763 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014763 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014764
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014764 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.ass"
"igned.by_pointer.render.multiple_basic.both"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014764 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014764 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basic_arrayTestCase.cpp
0 → 100644
浏览文件 @
5d211165
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20015TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014433
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014433 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.i"
"nitial.render.multiple_basic_array.vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014433 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014433 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014434
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014434 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.in"
"itial.render.multiple_basic_array.fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014434 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014434 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014435
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014435 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value."
"initial.render.multiple_basic_array.both"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014435 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014435 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014765
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014765 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assigne"
"d.by_pointer.render.multiple_basic_array.vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014765 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014765 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014766
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014766 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assigned"
".by_pointer.render.multiple_basic_array.fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014766 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014766 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014767
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014767 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assign"
"ed.by_pointer.render.multiple_basic_array.both"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014767 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014767 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_015044
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015044 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assign"
"ed.by_value.render.multiple_basic_array.vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015044 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015044 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_015045
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015045 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assigne"
"d.by_value.render.multiple_basic_array.fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015045 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015045 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_015046
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015046 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assig"
"ned.by_value.render.multiple_basic_array.both"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015046 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015046 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_nested_structs_arraysTestCase.cpp
0 → 100644
浏览文件 @
5d211165
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20015TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014436
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014436 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.initia"
"l.render.multiple_nested_structs_arrays.vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014436 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014436 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014437
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014437 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.initial"
".render.multiple_nested_structs_arrays.fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014437 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014437 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014438
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014438 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.initi"
"al.render.multiple_nested_structs_arrays.both"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014438 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014438 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014768
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014768 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assigned.by_"
"pointer.render.multiple_nested_structs_arrays.vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014768 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014768 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014769
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014769 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assigned.by_p"
"ointer.render.multiple_nested_structs_arrays.fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014769 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014769 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014770
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014770 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assigned.by"
"_pointer.render.multiple_nested_structs_arrays.both"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014770 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014770 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_015047
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015047 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assigned.by"
"_value.render.multiple_nested_structs_arrays.vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015047 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015047 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_015048
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015048 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assigned.by_"
"value.render.multiple_nested_structs_arrays.fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015048 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015048 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_015049
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015049 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.value.assigned.b"
"y_value.render.multiple_nested_structs_arrays.both"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015049 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015049 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_depthbufferTestCase.cpp
0 → 100644
浏览文件 @
5d211165
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20013TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012545
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012545 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared"
"_depthbuffer.tex2d_rgb_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012545 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012545 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012546
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012546 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_depthbu"
"ffer.tex2d_rgb_depth_component16_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012546 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012546 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012547
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012547 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_"
"depthbuffer.tex2d_rgba_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012547 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012547 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012548
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012548 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_depthbu"
"ffer.tex2d_rgba_depth_component16_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012548 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012548 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012549
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012549 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_"
"depthbuffer.rbo_rgb565_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012549 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012549 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012550
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012550 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_depthbu"
"ffer.rbo_rgb565_depth_component16_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012550 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012550 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012551
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012551 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_"
"depthbuffer.rbo_rgb5_a1_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012551 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012551 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012552
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012552 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_depthbuf"
"fer.rbo_rgb5_a1_depth_component16_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012552 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012552 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012553
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012553 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared"
"_depthbuffer.rbo_rgba4_depth_component16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012553 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012553 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012554
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012554 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_depthbu"
"ffer.rbo_rgba4_depth_component16_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012554 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012554 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_stencil_clearTestCase.cpp
0 → 100644
浏览文件 @
5d211165
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20013TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012452
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012452 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.st"
"encil_clear.tex2d_rgb_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012452 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012452 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012453
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012453 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.stencil_cle"
"ar.tex2d_rgb_depth_component16_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012453 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012453 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012454
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012454 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.ste"
"ncil_clear.tex2d_rgba_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012454 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012454 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012455
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012455 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.stencil_clea"
"r.tex2d_rgba_depth_component16_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012455 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012455 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012456
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012456 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.ste"
"ncil_clear.rbo_rgb565_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012456 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012456 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012457
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012457 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.stencil_clea"
"r.rbo_rgb565_depth_component16_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012457 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012457 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012458
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012458 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.ste"
"ncil_clear.rbo_rgb5_a1_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012458 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012458 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012459
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012459 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.stencil_clea"
"r.rbo_rgb5_a1_depth_component16_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012459 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012459 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012460
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012460 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.st"
"encil_clear.rbo_rgba4_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012460 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012460 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20013TestSuite
,
TestCase_012461
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012461 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.stencil_cle"
"ar.rbo_rgba4_depth_component16_stencil_index8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20013TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20013TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20013TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_012461 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_012461 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录