Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
18dfd390
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
接近 2 年 前同步成功
通知
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看板
提交
18dfd390
编写于
6月 27, 2022
作者:
W
weihaini
提交者:
liuguixian
6月 27, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add testcase
Signed-off-by:
N
weihaini
<
weihaini@kaihongdigi.com
>
上级
5efa7e75
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
1884 addition
and
0 deletion
+1884
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_adjacencyTestCase.cpp
...ry_shader/Khrglesextgeometry_shader_adjacencyTestCase.cpp
+238
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_apiTestCase.cpp
...geometry_shader/Khrglesextgeometry_shader_apiTestCase.cpp
+454
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_blittingTestCase.cpp
...try_shader/Khrglesextgeometry_shader_blittingTestCase.cpp
+103
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_clippingTestCase.cpp
...try_shader/Khrglesextgeometry_shader_clippingTestCase.cpp
+49
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_constant_variablesTestCase.cpp
.../Khrglesextgeometry_shader_constant_variablesTestCase.cpp
+49
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_inputTestCase.cpp
...ometry_shader/Khrglesextgeometry_shader_inputTestCase.cpp
+130
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_fboTestCase.cpp
..._shader/Khrglesextgeometry_shader_layered_fboTestCase.cpp
+238
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_framebufferTestCase.cpp
...Khrglesextgeometry_shader_layered_framebufferTestCase.cpp
+130
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_renderingTestCase.cpp
...r/Khrglesextgeometry_shader_layered_renderingTestCase.cpp
+49
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_boundary_conditionTestCase.cpp
...y_shader_layered_rendering_boundary_conditionTestCase.cpp
+130
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp
...ry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp
+49
-0
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_limitsTestCase.cpp
...metry_shader/Khrglesextgeometry_shader_limitsTestCase.cpp
+265
-0
未找到文件。
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_adjacencyTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000001
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000001 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.adja"
"cency.adjacency_non_indiced_lines"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000001 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000001 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000002
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000002 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.ad"
"jacency.adjacency_indiced_lines"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000002 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000002 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000003
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000003 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.adjacen"
"cy.adjacency_non_indiced_line_strip"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000003 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000003 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000004
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000004 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.adjac"
"ency.adjacency_indiced_line_strip"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000004 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000004 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000005
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000005 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.adjace"
"ncy.adjacency_non_indiced_triangles"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000005 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000005 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000006
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000006 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.adja"
"cency.adjacency_indiced_triangles"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000006 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000006 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000007
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000007 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.adjacency"
".adjacency_non_indiced_triangle_strip"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000007 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000007 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000008
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000008 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.adjacen"
"cy.adjacency_indiced_triangle_strip"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000008 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000008 end"
;
}
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_apiTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000112
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000112 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shade"
"r.api.createShaderProgramv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000112 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000112 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000113
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000113 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_"
"shader.api.shader_type"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000113 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000113 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000114
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000114 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_s"
"hader.api.getProgramiv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000114 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000114 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000115
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000115 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_s"
"hader.api.getProgramiv2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000115 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000115 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000116
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000116 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_s"
"hader.api.getProgramiv3"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000116 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000116 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000117
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000117 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_sh"
"ader.api.fs_gs_draw_call"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000117 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000117 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000118
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000118 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shad"
"er.api.max_image_uniforms"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000118 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000118 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000119
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000119 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader."
"api.max_shader_storage_blocks"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000119 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000119 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000120
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000120 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shad"
"er.api.max_atomic_counters"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000120 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000120 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000121
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000121 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.a"
"pi.max_atomic_counter_buffers"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000121 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000121 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000122
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000122 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.api.p"
"ipeline_program_without_active_vs"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000122 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000122 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000123
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000123 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.a"
"pi.incompatible_draw_call_mode"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000123 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000123 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000124
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000124 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.ap"
"i.insufficient_emitted_vertices"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000124 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000124 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000125
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000125 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.api"
".program_pipeline_vs_gs_capture"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000125 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000125 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000126
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000126 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.api.draw_pr"
"imitives_do_not_match_output_primitives"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000126 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000126 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000127
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000127 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.ap"
"i.draw_calls_while_tf_is_paused"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000127 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000127 end"
;
}
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_blittingTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000069
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000069 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader"
".blitting.layered_nonlayered"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000069 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000069 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000070
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000070 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader"
".blitting.nonlayered_layered"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000070 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000070 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000071
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000071 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shade"
"r.blitting.layered_layered"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000071 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000071 end"
;
}
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_clippingTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000068
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000068 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_s"
"hader.clipping.clipping"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000068 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000068 end"
;
}
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_constant_variablesTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000089
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000089 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.cons"
"tant_variables.constant_variables"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000089 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000089 end"
;
}
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_inputTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000044
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000044 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader"
".input.gl_in_array_contents"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000044 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000044 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000045
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000045 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shade"
"r.input.gl_in_array_length"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000045 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000045 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000046
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000046 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shade"
"r.input.gl_pointsize_value"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000046 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000046 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000047
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000047 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shad"
"er.input.gl_position_value"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000047 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000047 end"
;
}
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_fboTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000129
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000129 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shad"
"er.layered_fbo.layered_fbo"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000129 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000129 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000130
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000130 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.lay"
"ered_fbo.layered_fbo_attachments"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000130 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000130 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000131
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000131 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.laye"
"red_fbo.fb_texture_invalid_target"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000131 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000131 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000132
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000132 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.layered_"
"fbo.fb_texture_no_fbo_bound_to_target"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000132 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000132 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000133
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000133 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.layere"
"d_fbo.fb_texture_invalid_attachment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000133 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000133 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000134
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000134 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.laye"
"red_fbo.fb_texture_invalid_value"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000134 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000134 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000135
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000135 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.layered"
"_fbo.fb_texture_invalid_level_number"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000135 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000135 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000136
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000136 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.layered_fbo.fb"
"_texture_argument_refers_to_buffer_texture"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000136 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000136 end"
;
}
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_framebufferTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000076
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000076 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.lay"
"ered_framebuffer.stencil_support"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000076 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000076 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000077
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000077 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.la"
"yered_framebuffer.depth_support"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000077 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000077 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000078
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000078 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.laye"
"red_framebuffer.blending_support"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000078 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000078 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000079
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000079 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.layer"
"ed_framebuffer.clear_call_support"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000079 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000079 end"
;
}
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_renderingTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000067
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000067 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.lay"
"ered_rendering.layered_rendering"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000067 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000067 end"
;
}
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_boundary_conditionTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000072
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000072 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.layered_rendering_boundary_cond"
"ition.layered_rendering_boundary_condition_various_textures"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000072 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000072 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000073
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000073 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.layered_rendering_boundar"
"y_condition.layered_rendering_boundary_condition_no_gs"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000073 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000073 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000074
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000074 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.layered_rendering_boundary_cond"
"ition.layered_rendering_boundary_condition_no_default_layer"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000074 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000074 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000075
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000075 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.layered_rendering_boundary_con"
"dition.layered_rendering_boundary_condition_no_layered_fbo"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000075 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000075 end"
;
}
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000088
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000088 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.layered_rendering_fbo"
"_no_attachment.layered_rendering_fbo_no_attachment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000088 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000088 end"
;
}
graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_limitsTestCase.cpp
0 → 100644
浏览文件 @
18dfd390
/*
* 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 "../KhrglesextBaseFunc.h"
#include "../ActsKhrglesext0001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000090
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000090 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader."
"limits.max_uniform_components"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000090 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000090 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000091
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000091 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shade"
"r.limits.max_uniform_blocks"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000091 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000091 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000092
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000092 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader"
".limits.max_input_components"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000092 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000092 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000093
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000093 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader."
"limits.max_output_components"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000093 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000093 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000094
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000094 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader"
".limits.max_output_vertices"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000094 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000094 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000095
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000095 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.limits"
".max_output_components_single_point"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000095 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000095 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000096
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000096 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shade"
"r.limits.max_texture_units"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000096 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000096 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000097
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000097 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shad"
"er.limits.max_invocations"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000097 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000097 end"
;
}
static
HWTEST_F
(
ActsKhrglesext0001TestSuite
,
TestCase_000098
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000098 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLESEXT.geometry_shader.li"
"mits.max_combined_texture_units"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrglesext0001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrglesext0001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrglesext0001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000098 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000098 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录