Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
61b93f12
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看板
提交
61b93f12
编写于
6月 28, 2022
作者:
L
liucaicheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test
Signed-off-by:
N
liucaicheng
<
liucaicheng@kaihongdigi.com
>
上级
5ee93498
变更
9
展开全部
隐藏空白更改
内联
并排
Showing
9 changed file
with
1175 addition
and
1 deletion
+1175
-1
graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_texturelodoffsetTestCase.cpp
...gles32ext_texture_shadow_lod_texturelodoffsetTestCase.cpp
+0
-1
graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_textureoffsetTestCase.cpp
...Khrgles32ext_texture_shadow_lod_textureoffsetTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_blittingTestCase.cpp
...gles32/core/Khrgles32geometry_shader_blittingTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_counterTestCase.cpp
...re/Khrgles32geometry_shader_primitive_counterTestCase.cpp
+535
-0
graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_queriesTestCase.cpp
...re/Khrgles32geometry_shader_primitive_queriesTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_point_modeTestCase.cpp
...llation_shader_tessellation_shader_point_modeTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp
...shader_tessellation_shader_quads_tessellationTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp
...lation_shader_tessellation_shader_tc_barriersTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_vertexTestCase.cpp
...es32/core/Khrgles32tessellation_shader_vertexTestCase.cpp
+76
-0
未找到文件。
graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_texturelodoffsetTestCase.cpp
浏览文件 @
61b93f12
...
...
@@ -13,7 +13,6 @@
* limitations under the License.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320002TestSuite.h"
...
...
graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_textureoffsetTestCase.cpp
0 → 100644
浏览文件 @
61b93f12
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320002TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001137
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001137 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.ext_texture_shadow_lod.t"
"extureoffset.sampler2darrayshadow_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001137 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001137 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001138
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001138 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.ext_texture_shadow_lod.te"
"xtureoffset.sampler2darrayshadow_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001138 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001138 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001139
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001139 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.ext_texture_shadow_lod.text"
"ureoffset.sampler2darrayshadow_bias_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001139 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001139 end"
;
}
graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_blittingTestCase.cpp
0 → 100644
浏览文件 @
61b93f12
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000097
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000097 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.geometry_shad"
"er.blitting.layered_nonlayered"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
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
(
ActsKhrgles320001TestSuite
,
TestCase_000098
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000098 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.geometry_shad"
"er.blitting.nonlayered_layered"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
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"
;
}
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000099
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000099 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.geometry_sha"
"der.blitting.layered_layered"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000099 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000099 end"
;
}
graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_counterTestCase.cpp
0 → 100644
浏览文件 @
61b93f12
此差异已折叠。
点击以展开。
graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_queriesTestCase.cpp
0 → 100644
浏览文件 @
61b93f12
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000113
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000113 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.geometry_shader.primi"
"tive_queries.primitive_queries_points"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
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
(
ActsKhrgles320001TestSuite
,
TestCase_000114
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000114 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.geometry_shader.prim"
"itive_queries.primitive_queries_lines"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
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
(
ActsKhrgles320001TestSuite
,
TestCase_000115
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000115 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.geometry_shader.primit"
"ive_queries.primitive_queries_triangles"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
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"
;
}
graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_point_modeTestCase.cpp
0 → 100644
浏览文件 @
61b93f12
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000210
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000210 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tesse"
"llation_shader_point_mode.point_rendering"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000210 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000210 end"
;
}
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000211
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000211 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessell"
"ation_shader_point_mode.points_verification"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000211 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000211 end"
;
}
graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp
0 → 100644
浏览文件 @
61b93f12
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000195
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000195 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessellat"
"ion_shader_quads_tessellation.degenerate_case"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000195 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000195 end"
;
}
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000196
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000196 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessellation_shade"
"r_quads_tessellation.inner_tessellation_level_rounding"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000196 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000196 end"
;
}
graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp
0 → 100644
浏览文件 @
61b93f12
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000212
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000212 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessellatio"
"n_shader_tc_barriers.barrier_guarded_read_calls"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000212 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000212 end"
;
}
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000213
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000213 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessellatio"
"n_shader_tc_barriers.barrier_guarded_write_calls"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000213 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000213 end"
;
}
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000214
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000214 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessellation_s"
"hader_tc_barriers.barrier_guarded_read_write_calls"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000214 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000214 end"
;
}
graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_vertexTestCase.cpp
0 → 100644
浏览文件 @
61b93f12
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000186
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000186 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.tessellation_"
"shader.vertex.vertex_ordering"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000186 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000186 end"
;
}
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000187
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000187 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.tessellation"
"_shader.vertex.vertex_spacing"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000187 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000187 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录