Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
7758ae1b
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看板
未验证
提交
7758ae1b
编写于
6月 29, 2022
作者:
O
openharmony_ci
提交者:
Gitee
6月 29, 2022
浏览文件
操作
浏览文件
下载
差异文件
!3870 add khrgles3 testcase pr5
Merge pull request !3870 from coderookie/master
上级
999a15e1
5b607286
变更
39
展开全部
隐藏空白更改
内联
并排
Showing
39 changed file
with
7387 addition
and
2 deletion
+7387
-2
graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.cpp
graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.cpp
+59
-0
graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.h
graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.h
+40
-0
graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.cpp
graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.cpp
+59
-0
graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.h
graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.h
+40
-0
graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.cpp
graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.cpp
+59
-0
graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.h
graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.h
+40
-0
graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.cpp
graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.cpp
+59
-0
graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.h
graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.h
+40
-0
graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.cpp
graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.cpp
+59
-0
graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.h
graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.h
+40
-0
graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.cpp
graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.cpp
+59
-0
graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.h
graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.h
+40
-0
graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.cpp
graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.cpp
+75
-0
graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.h
graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.h
+32
-0
graphic/vkgl/src/khrgles3/build0001/BUILD.gn
graphic/vkgl/src/khrgles3/build0001/BUILD.gn
+88
-0
graphic/vkgl/src/khrgles3/build0001/Test.json
graphic/vkgl/src/khrgles3/build0001/Test.json
+38
-0
graphic/vkgl/src/khrgles3/build0002/BUILD.gn
graphic/vkgl/src/khrgles3/build0002/BUILD.gn
+88
-0
graphic/vkgl/src/khrgles3/build0002/Test.json
graphic/vkgl/src/khrgles3/build0002/Test.json
+38
-0
graphic/vkgl/src/khrgles3/build0003/BUILD.gn
graphic/vkgl/src/khrgles3/build0003/BUILD.gn
+85
-0
graphic/vkgl/src/khrgles3/build0003/Test.json
graphic/vkgl/src/khrgles3/build0003/Test.json
+38
-0
graphic/vkgl/src/khrgles3/build0004/BUILD.gn
graphic/vkgl/src/khrgles3/build0004/BUILD.gn
+83
-0
graphic/vkgl/src/khrgles3/build0004/Test.json
graphic/vkgl/src/khrgles3/build0004/Test.json
+38
-0
graphic/vkgl/src/khrgles3/build0005/BUILD.gn
graphic/vkgl/src/khrgles3/build0005/BUILD.gn
+61
-0
graphic/vkgl/src/khrgles3/build0005/Test.json
graphic/vkgl/src/khrgles3/build0005/Test.json
+38
-0
graphic/vkgl/src/khrgles3/exposed_extensions/Khrgles3KHR-GLES3_exposed_extensionsTestCase.cpp
...tensions/Khrgles3KHR-GLES3_exposed_extensionsTestCase.cpp
+0
-1
graphic/vkgl/src/khrgles3/framebuffer_completeness/Khrgles3KHR-GLES3_framebuffer_completenessTestCase.cpp
...ss/Khrgles3KHR-GLES3_framebuffer_completenessTestCase.cpp
+400
-0
graphic/vkgl/src/khrgles3/number_parsing/Khrgles3KHR-GLES3_number_parsingTestCase.cpp
...mber_parsing/Khrgles3KHR-GLES3_number_parsingTestCase.cpp
+508
-0
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_blitTestCase.cpp
...pth_stencil/Khrgles3packed_depth_stencil_blitTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_clear_bufferTestCase.cpp
...cil/Khrgles3packed_depth_stencil_clear_bufferTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_renderbuffersTestCase.cpp
...il/Khrgles3packed_depth_stencil_renderbuffersTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_stencil_texturingTestCase.cpp
...hrgles3packed_depth_stencil_stencil_texturingTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_validate_errorsTestCase.cpp
.../Khrgles3packed_depth_stencil_validate_errorsTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_mixed_attachmentsTestCase.cpp
...packed_depth_stencil_verify_mixed_attachmentsTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_parametersTestCase.cpp
...hrgles3packed_depth_stencil_verify_parametersTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_partial_attachmentsTestCase.cpp
...cked_depth_stencil_verify_partial_attachmentsTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_read_pixelsTestCase.cpp
...rgles3packed_depth_stencil_verify_read_pixelsTestCase.cpp
+0
-1
graphic/vkgl/src/khrgles3/parallel_shader_compile/Khrgles3KHR-GLES3_parallel_shader_compileTestCase.cpp
...ile/Khrgles3KHR-GLES3_parallel_shader_compileTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles3/texture_filter_anisotropic/Khrgles3KHR-GLES3_texture_filter_anisotropicTestCase.cpp
.../Khrgles3KHR-GLES3_texture_filter_anisotropicTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles3/texture_repeat_mode/Khrgles3KHR-GLES3_texture_repeat_modeTestCase.cpp
...at_mode/Khrgles3KHR-GLES3_texture_repeat_modeTestCase.cpp
+4396
-0
未找到文件。
graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 <ctime>
#include "Khrgles3BaseFunc.h"
#include "ActsKhrgles30001TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsKhrgles30001TestSuite
::
starttime
;
time_t
ActsKhrgles30001TestSuite
::
endtime
;
FuncRunResult
ActsKhrgles30001TestSuite
::
runResult
;
// Preset action of the test suite, which is executed before the first test case
void
ActsKhrgles30001TestSuite
::
SetUpTestCase
(
void
)
{
time
(
&
starttime
);
RegistPackage
();
runResult
.
numPassed
=
0
;
runResult
.
numFailed
=
0
;
runResult
.
numNotSupported
=
0
;
runResult
.
numWarnings
=
0
;
runResult
.
numWaived
=
0
;
}
// Test suite cleanup action, which is executed after the last test case
void
ActsKhrgles30001TestSuite
::
TearDownTestCase
(
void
)
{
time
(
&
endtime
);
printf
(
"Test run totals --- Passed[%d]
\n
"
,
runResult
.
numPassed
);
printf
(
"Test run totals --- Failed[%d]
\n
"
,
runResult
.
numFailed
);
printf
(
"Test run totals --- Notsupport[%d]
\n
"
,
runResult
.
numNotSupported
);
printf
(
"Test run totals --- Warnings[%d]
\n
"
,
runResult
.
numWarnings
);
printf
(
"Test run totals --- Waved[%d]
\n
"
,
runResult
.
numWaived
);
printf
(
"testmain end --- COST TIME[%lld]
\n
"
,
(
endtime
-
starttime
));
}
// Preset action of the test case
void
ActsKhrgles30001TestSuite
::
SetUp
()
{
}
// Cleanup action of the test case
void
ActsKhrgles30001TestSuite
::
TearDown
()
{
}
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.h
0 → 100644
浏览文件 @
7758ae1b
/*
* 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.
*/
#ifndef KHRGLES3_TESTCASE_H
#define KHRGLES3_TESTCASE_H
#include <gtest/gtest.h>
#include "Khrgles3BaseFunc.h"
namespace
OHOS
{
class
ActsKhrgles30001TestSuite
:
public
testing
::
Test
{
public:
static
time_t
starttime
;
static
time_t
endtime
;
static
FuncRunResult
runResult
;
protected:
// Preset action of the test suite, which is executed before the first test case
static
void
SetUpTestCase
(
void
);
// Test suite cleanup action, which is executed after the last test case
static
void
TearDownTestCase
(
void
);
// Preset action of the test case
virtual
void
SetUp
();
// Cleanup action of the test case
virtual
void
TearDown
();
};
}
// namespace OHOS
#endif // KHRGLES3_TESTCASE_H
\ No newline at end of file
graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 <ctime>
#include "Khrgles3BaseFunc.h"
#include "ActsKhrgles30002TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsKhrgles30002TestSuite
::
starttime
;
time_t
ActsKhrgles30002TestSuite
::
endtime
;
FuncRunResult
ActsKhrgles30002TestSuite
::
runResult
;
// Preset action of the test suite, which is executed before the first test case
void
ActsKhrgles30002TestSuite
::
SetUpTestCase
(
void
)
{
time
(
&
starttime
);
RegistPackage
();
runResult
.
numPassed
=
0
;
runResult
.
numFailed
=
0
;
runResult
.
numNotSupported
=
0
;
runResult
.
numWarnings
=
0
;
runResult
.
numWaived
=
0
;
}
// Test suite cleanup action, which is executed after the last test case
void
ActsKhrgles30002TestSuite
::
TearDownTestCase
(
void
)
{
time
(
&
endtime
);
printf
(
"Test run totals --- Passed[%d]
\n
"
,
runResult
.
numPassed
);
printf
(
"Test run totals --- Failed[%d]
\n
"
,
runResult
.
numFailed
);
printf
(
"Test run totals --- Notsupport[%d]
\n
"
,
runResult
.
numNotSupported
);
printf
(
"Test run totals --- Warnings[%d]
\n
"
,
runResult
.
numWarnings
);
printf
(
"Test run totals --- Waved[%d]
\n
"
,
runResult
.
numWaived
);
printf
(
"testmain end --- COST TIME[%lld]
\n
"
,
(
endtime
-
starttime
));
}
// Preset action of the test case
void
ActsKhrgles30002TestSuite
::
SetUp
()
{
}
// Cleanup action of the test case
void
ActsKhrgles30002TestSuite
::
TearDown
()
{
}
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.h
0 → 100644
浏览文件 @
7758ae1b
/*
* 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.
*/
#ifndef KHRGLES3_TESTCASE_H
#define KHRGLES3_TESTCASE_H
#include <gtest/gtest.h>
#include "Khrgles3BaseFunc.h"
namespace
OHOS
{
class
ActsKhrgles30002TestSuite
:
public
testing
::
Test
{
public:
static
time_t
starttime
;
static
time_t
endtime
;
static
FuncRunResult
runResult
;
protected:
// Preset action of the test suite, which is executed before the first test case
static
void
SetUpTestCase
(
void
);
// Test suite cleanup action, which is executed after the last test case
static
void
TearDownTestCase
(
void
);
// Preset action of the test case
virtual
void
SetUp
();
// Cleanup action of the test case
virtual
void
TearDown
();
};
}
// namespace OHOS
#endif // KHRGLES3_TESTCASE_H
\ No newline at end of file
graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 <ctime>
#include "Khrgles3BaseFunc.h"
#include "ActsKhrgles30003TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsKhrgles30003TestSuite
::
starttime
;
time_t
ActsKhrgles30003TestSuite
::
endtime
;
FuncRunResult
ActsKhrgles30003TestSuite
::
runResult
;
// Preset action of the test suite, which is executed before the first test case
void
ActsKhrgles30003TestSuite
::
SetUpTestCase
(
void
)
{
time
(
&
starttime
);
RegistPackage
();
runResult
.
numPassed
=
0
;
runResult
.
numFailed
=
0
;
runResult
.
numNotSupported
=
0
;
runResult
.
numWarnings
=
0
;
runResult
.
numWaived
=
0
;
}
// Test suite cleanup action, which is executed after the last test case
void
ActsKhrgles30003TestSuite
::
TearDownTestCase
(
void
)
{
time
(
&
endtime
);
printf
(
"Test run totals --- Passed[%d]
\n
"
,
runResult
.
numPassed
);
printf
(
"Test run totals --- Failed[%d]
\n
"
,
runResult
.
numFailed
);
printf
(
"Test run totals --- Notsupport[%d]
\n
"
,
runResult
.
numNotSupported
);
printf
(
"Test run totals --- Warnings[%d]
\n
"
,
runResult
.
numWarnings
);
printf
(
"Test run totals --- Waved[%d]
\n
"
,
runResult
.
numWaived
);
printf
(
"testmain end --- COST TIME[%lld]
\n
"
,
(
endtime
-
starttime
));
}
// Preset action of the test case
void
ActsKhrgles30003TestSuite
::
SetUp
()
{
}
// Cleanup action of the test case
void
ActsKhrgles30003TestSuite
::
TearDown
()
{
}
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.h
0 → 100644
浏览文件 @
7758ae1b
/*
* 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.
*/
#ifndef KHRGLES3_TESTCASE_H
#define KHRGLES3_TESTCASE_H
#include <gtest/gtest.h>
#include "Khrgles3BaseFunc.h"
namespace
OHOS
{
class
ActsKhrgles30003TestSuite
:
public
testing
::
Test
{
public:
static
time_t
starttime
;
static
time_t
endtime
;
static
FuncRunResult
runResult
;
protected:
// Preset action of the test suite, which is executed before the first test case
static
void
SetUpTestCase
(
void
);
// Test suite cleanup action, which is executed after the last test case
static
void
TearDownTestCase
(
void
);
// Preset action of the test case
virtual
void
SetUp
();
// Cleanup action of the test case
virtual
void
TearDown
();
};
}
// namespace OHOS
#endif // KHRGLES3_TESTCASE_H
\ No newline at end of file
graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 <ctime>
#include "Khrgles3BaseFunc.h"
#include "ActsKhrgles30004TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsKhrgles30004TestSuite
::
starttime
;
time_t
ActsKhrgles30004TestSuite
::
endtime
;
FuncRunResult
ActsKhrgles30004TestSuite
::
runResult
;
// Preset action of the test suite, which is executed before the first test case
void
ActsKhrgles30004TestSuite
::
SetUpTestCase
(
void
)
{
time
(
&
starttime
);
RegistPackage
();
runResult
.
numPassed
=
0
;
runResult
.
numFailed
=
0
;
runResult
.
numNotSupported
=
0
;
runResult
.
numWarnings
=
0
;
runResult
.
numWaived
=
0
;
}
// Test suite cleanup action, which is executed after the last test case
void
ActsKhrgles30004TestSuite
::
TearDownTestCase
(
void
)
{
time
(
&
endtime
);
printf
(
"Test run totals --- Passed[%d]
\n
"
,
runResult
.
numPassed
);
printf
(
"Test run totals --- Failed[%d]
\n
"
,
runResult
.
numFailed
);
printf
(
"Test run totals --- Notsupport[%d]
\n
"
,
runResult
.
numNotSupported
);
printf
(
"Test run totals --- Warnings[%d]
\n
"
,
runResult
.
numWarnings
);
printf
(
"Test run totals --- Waved[%d]
\n
"
,
runResult
.
numWaived
);
printf
(
"testmain end --- COST TIME[%lld]
\n
"
,
(
endtime
-
starttime
));
}
// Preset action of the test case
void
ActsKhrgles30004TestSuite
::
SetUp
()
{
}
// Cleanup action of the test case
void
ActsKhrgles30004TestSuite
::
TearDown
()
{
}
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.h
0 → 100644
浏览文件 @
7758ae1b
/*
* 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.
*/
#ifndef KHRGLES3_TESTCASE_H
#define KHRGLES3_TESTCASE_H
#include <gtest/gtest.h>
#include "Khrgles3BaseFunc.h"
namespace
OHOS
{
class
ActsKhrgles30004TestSuite
:
public
testing
::
Test
{
public:
static
time_t
starttime
;
static
time_t
endtime
;
static
FuncRunResult
runResult
;
protected:
// Preset action of the test suite, which is executed before the first test case
static
void
SetUpTestCase
(
void
);
// Test suite cleanup action, which is executed after the last test case
static
void
TearDownTestCase
(
void
);
// Preset action of the test case
virtual
void
SetUp
();
// Cleanup action of the test case
virtual
void
TearDown
();
};
}
// namespace OHOS
#endif // KHRGLES3_TESTCASE_H
\ No newline at end of file
graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 <ctime>
#include "Khrgles3BaseFunc.h"
#include "ActsKhrgles30005TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsKhrgles30005TestSuite
::
starttime
;
time_t
ActsKhrgles30005TestSuite
::
endtime
;
FuncRunResult
ActsKhrgles30005TestSuite
::
runResult
;
// Preset action of the test suite, which is executed before the first test case
void
ActsKhrgles30005TestSuite
::
SetUpTestCase
(
void
)
{
time
(
&
starttime
);
RegistPackage
();
runResult
.
numPassed
=
0
;
runResult
.
numFailed
=
0
;
runResult
.
numNotSupported
=
0
;
runResult
.
numWarnings
=
0
;
runResult
.
numWaived
=
0
;
}
// Test suite cleanup action, which is executed after the last test case
void
ActsKhrgles30005TestSuite
::
TearDownTestCase
(
void
)
{
time
(
&
endtime
);
printf
(
"Test run totals --- Passed[%d]
\n
"
,
runResult
.
numPassed
);
printf
(
"Test run totals --- Failed[%d]
\n
"
,
runResult
.
numFailed
);
printf
(
"Test run totals --- Notsupport[%d]
\n
"
,
runResult
.
numNotSupported
);
printf
(
"Test run totals --- Warnings[%d]
\n
"
,
runResult
.
numWarnings
);
printf
(
"Test run totals --- Waved[%d]
\n
"
,
runResult
.
numWaived
);
printf
(
"testmain end --- COST TIME[%lld]
\n
"
,
(
endtime
-
starttime
));
}
// Preset action of the test case
void
ActsKhrgles30005TestSuite
::
SetUp
()
{
}
// Cleanup action of the test case
void
ActsKhrgles30005TestSuite
::
TearDown
()
{
}
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.h
0 → 100644
浏览文件 @
7758ae1b
/*
* 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.
*/
#ifndef KHRGLES3_TESTCASE_H
#define KHRGLES3_TESTCASE_H
#include <gtest/gtest.h>
#include "Khrgles3BaseFunc.h"
namespace
OHOS
{
class
ActsKhrgles30005TestSuite
:
public
testing
::
Test
{
public:
static
time_t
starttime
;
static
time_t
endtime
;
static
FuncRunResult
runResult
;
protected:
// Preset action of the test suite, which is executed before the first test case
static
void
SetUpTestCase
(
void
);
// Test suite cleanup action, which is executed after the last test case
static
void
TearDownTestCase
(
void
);
// Preset action of the test case
virtual
void
SetUp
();
// Cleanup action of the test case
virtual
void
TearDown
();
};
}
// namespace OHOS
#endif // KHRGLES3_TESTCASE_H
\ No newline at end of file
graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 <ctime>
#include "Khrgles3BaseFunc.h"
#include "ActsKhrgles3TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsKhrgles3TestSuite
::
starttime
;
time_t
ActsKhrgles3TestSuite
::
endtime
;
FuncRunResult
ActsKhrgles3TestSuite
::
runResult
;
// Preset action of the test suite, which is executed before the first test case
void
ActsKhrgles3TestSuite
::
SetUpTestCase
(
void
)
{
time
(
&
starttime
);
RegistPackage
();
runResult
.
numPassed
=
0
;
runResult
.
numFailed
=
0
;
runResult
.
numNotSupported
=
0
;
runResult
.
numWarnings
=
0
;
runResult
.
numWaived
=
0
;
}
// Test suite cleanup action, which is executed after the last test case
void
ActsKhrgles3TestSuite
::
TearDownTestCase
(
void
)
{
time
(
&
endtime
);
printf
(
"Test run totals --- Passed[%d]
\n
"
,
runResult
.
numPassed
);
printf
(
"Test run totals --- Failed[%d]
\n
"
,
runResult
.
numFailed
);
printf
(
"Test run totals --- Notsupport[%d]
\n
"
,
runResult
.
numNotSupported
);
printf
(
"Test run totals --- Warnings[%d]
\n
"
,
runResult
.
numWarnings
);
printf
(
"Test run totals --- Waved[%d]
\n
"
,
runResult
.
numWaived
);
printf
(
"testmain end --- COST TIME[%lld]
\n
"
,
(
endtime
-
starttime
));
}
// Preset action of the test case
void
ActsKhrgles3TestSuite
::
SetUp
()
{
}
// Cleanup action of the test case
void
ActsKhrgles3TestSuite
::
TearDown
()
{
}
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.h
0 → 100644
浏览文件 @
7758ae1b
/*
* 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.
*/
#ifndef KHRGLES3_TESTCASE_H
#define KHRGLES3_TESTCASE_H
#include <gtest/gtest.h>
#include "Khrgles3BaseFunc.h"
namespace
OHOS
{
class
ActsKhrgles3TestSuite
:
public
testing
::
Test
{
public:
static
time_t
starttime
;
static
time_t
endtime
;
static
FuncRunResult
runResult
;
protected:
// Preset action of the test suite, which is executed before the first test case
static
void
SetUpTestCase
(
void
);
// Test suite cleanup action, which is executed after the last test case
static
void
TearDownTestCase
(
void
);
// Preset action of the test case
virtual
void
SetUp
();
// Cleanup action of the test case
virtual
void
TearDown
();
};
}
// namespace OHOS
#endif // KHRGLES3_TESTCASE_H
\ No newline at end of file
graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
#include "external/openglcts/modules/common/glcConfigPackage.hpp"
#include "external/openglcts/modules/common/glcTestPackage.hpp"
#include "external/openglcts/modules/gles2/es2cTestPackage.hpp"
#include "external/openglcts/modules/gles32/es32cTestPackage.hpp"
#include "external/openglcts/modules/gles31/es31cTestPackage.hpp"
#include "external/openglcts/modules/gles3/es3cTestPackage.hpp"
#include "external/openglcts/modules/glesext/esextcTestPackage.hpp"
#include "external/openglcts/modules/common/glcSingleConfigTestPackage.hpp"
#include "modules/gles2/tes2TestPackage.hpp"
#include "modules/gles3/tes3TestPackage.hpp"
#include "modules/gles31/tes31TestPackage.hpp"
#include "ohos_context_i.h"
#include "Khrgles3BaseFunc.h"
static
tcu
::
TestPackage
*
createKhrgles3Package
(
tcu
::
TestContext
&
testCtx
)
{
return
new
es3cts
::
ES30TestPackage
(
testCtx
,
"KHR-KHRGLES3"
);
}
void
RegistPackage
(
void
)
{
tcu
::
TestPackageRegistry
*
registry
=
tcu
::
TestPackageRegistry
::
getSingleton
();
registry
->
registerPackage
(
"KHR-GLES3"
,
createKhrgles3Package
);
}
FuncRunResult
RunTestKHRGLES
(
int
argc
,
const
char
**
argv
)
{
FuncRunResult
runResult
;
try
{
tcu
::
CommandLine
cmdLine
(
argc
,
argv
);
tcu
::
DirArchive
archive
(
cmdLine
.
getArchiveDir
());
de
::
UniquePtr
<
tcu
::
Platform
>
platform
(
createOhosPlatform
());
de
::
UniquePtr
<
tcu
::
ActsApp
>
app
(
new
tcu
::
ActsApp
(
*
platform
,
archive
,
tcutestlog
,
cmdLine
));
for
(;;)
{
if
(
!
app
->
iterate
())
{
break
;
};
};
runResult
.
isComplete
=
app
->
getResult
().
isComplete
;
runResult
.
numPassed
=
app
->
getResult
().
numPassed
;
runResult
.
numExecuted
=
app
->
getResult
().
numExecuted
;
runResult
.
numFailed
=
app
->
getResult
().
numFailed
;
runResult
.
numNotSupported
=
app
->
getResult
().
numNotSupported
;
runResult
.
numWarnings
=
app
->
getResult
().
numWarnings
;
runResult
.
numWaived
=
app
->
getResult
().
numWaived
;
}
catch
(
const
std
::
exception
&
e
)
{
tcu
::
die
(
"%s"
,
e
.
what
());
};
return
runResult
;
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.h
0 → 100644
浏览文件 @
7758ae1b
/*
* 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.
*/
#ifndef KHRGLES3_FUNC_H
#define KHRGLES3_FUNC_H
struct
FuncRunResult
{
int
numExecuted
;
// !< Total number of cases executed.
int
numPassed
;
// !< Number of cases passed.
int
numFailed
;
// !< Number of cases failed.
int
numNotSupported
;
// !< Number of cases not supported.
int
numWarnings
;
// !< Number of QualityWarning / CompatibilityWarning results.
int
numWaived
;
// !< Number of waived tests.
bool
isComplete
;
// !< Is run complete.
};
void
RegistPackage
(
void
);
FuncRunResult
RunTestKHRGLES
(
int
argc
,
const
char
**
argv
);
#endif // KHRGLES3_FUNC_H
\ No newline at end of file
graphic/vkgl/src/khrgles3/build0001/BUILD.gn
0 → 100644
浏览文件 @
7758ae1b
# 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.
import("//test/xts/acts/graphic/vkglcts/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libkhrgles3func0001") {
sources = common_src
sources += [ "../Khrgles3BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsKhrgles3TestSuite0001") {
sources = [
"../ActsKhrgles30001TestSuite.cpp",
"../shaders/Khrgles3declarations_declarationsTestCase.cpp",
"../shaders/Khrgles3fragdepth_compareTestCase.cpp",
"../shaders/Khrgles3fragdepth_writeTestCase.cpp",
"../shaders/Khrgles3indexing_matrix_subscriptTestCase.cpp",
"../shaders/Khrgles3indexing_tmp_arrayTestCase.cpp",
"../shaders/Khrgles3indexing_uniform_arrayTestCase.cpp",
"../shaders/Khrgles3indexing_varying_arrayTestCase.cpp",
"../shaders/Khrgles3indexing_vector_subscriptTestCase.cpp",
"../shaders/Khrgles3loops_do_while_constant_iterationsTestCase.cpp",
"../shaders/Khrgles3loops_do_while_dynamic_iterationsTestCase.cpp",
"../shaders/Khrgles3loops_do_while_uniform_iterationsTestCase.cpp",
"../shaders/Khrgles3loops_for_constant_iterationsTestCase.cpp",
"../shaders/Khrgles3loops_for_dynamic_iterationsTestCase.cpp",
"../shaders/Khrgles3loops_for_uniform_iterationsTestCase.cpp",
"../shaders/Khrgles3loops_while_constant_iterationsTestCase.cpp",
"../shaders/Khrgles3loops_while_dynamic_iterationsTestCase.cpp",
"../shaders/Khrgles3loops_while_uniform_iterationsTestCase.cpp",
"../shaders/Khrgles3preprocessor_basicTestCase.cpp",
"../shaders/Khrgles3preprocessor_commentsTestCase.cpp",
"../shaders/Khrgles3preprocessor_definitionsTestCase.cpp",
"../shaders/Khrgles3preprocessor_function_definitionsTestCase.cpp",
"../shaders/Khrgles3preprocessor_function_redefinitionsTestCase.cpp",
"../shaders/Khrgles3preprocessor_invalid_definitionsTestCase.cpp",
"../shaders/Khrgles3preprocessor_invalid_function_definitionsTestCase.cpp",
"../shaders/Khrgles3preprocessor_invalid_redefinitionsTestCase.cpp",
"../shaders/Khrgles3preprocessor_line_continuationTestCase.cpp",
"../shaders/Khrgles3preprocessor_object_redefinitionsTestCase.cpp",
"../shaders/Khrgles3preprocessor_recursionTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkglcts/src" ]
deps = [ ":libkhrgles3func0001" ]
cflags = [ "-Wno-error" ]
}
graphic/vkgl/src/khrgles3/build0001/Test.json
0 → 100644
浏览文件 @
7758ae1b
{
"description"
:
"Config for ActsKhrgles3TestSuite0001 test cases"
,
"driver"
:
{
"module-name"
:
"ActsKhrgles3TestSuite0001"
,
"native-test-timeout"
:
"120000"
,
"native-test-device-path"
:
"/data/local/tmp"
,
"runtime-hint"
:
"100s"
,
"type"
:
"CppTest"
},
"kits"
:
[
{
"pre-push"
:
[
],
"post-push"
:
[
"chmod -R 777 /data/local/tmp/*"
,
"mkdir /data/local/tmp/gl_cts"
,
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts"
,
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push"
:
[
"ActsKhrgles3TestSuite0001->/data/local/tmp/ActsKhrgles3TestSuite0001"
,
"../../../common/common/librosen_context.z.so->/system/lib"
,
"gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type"
:
"PushKit"
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"remount"
,
"mkdir /data/test"
,
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/build0002/BUILD.gn
0 → 100644
浏览文件 @
7758ae1b
# 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.
import("//test/xts/acts/graphic/vkglcts/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libkhrgles3func0002") {
sources = common_src
sources += [ "../Khrgles3BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsKhrgles3TestSuite0002") {
sources = [
"../ActsKhrgles30002TestSuite.cpp",
"../shaders/Khrgles3name_hiding_basicTestCase.cpp",
"../shaders/Khrgles3preprocessor_builtinTestCase.cpp",
"../shaders/Khrgles3preprocessor_conditional_inclusionTestCase.cpp",
"../shaders/Khrgles3preprocessor_conditionalsTestCase.cpp",
"../shaders/Khrgles3preprocessor_directiveTestCase.cpp",
"../shaders/Khrgles3preprocessor_expressionsTestCase.cpp",
"../shaders/Khrgles3preprocessor_extensionsTestCase.cpp",
"../shaders/Khrgles3preprocessor_invalid_conditionalsTestCase.cpp",
"../shaders/Khrgles3preprocessor_invalid_expressionsTestCase.cpp",
"../shaders/Khrgles3preprocessor_invalid_opsTestCase.cpp",
"../shaders/Khrgles3preprocessor_operator_precedenceTestCase.cpp",
"../shaders/Khrgles3preprocessor_pragmasTestCase.cpp",
"../shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp",
"../shaders/Khrgles3preprocessor_semanticTestCase.cpp",
"../shaders/Khrgles3preprocessor_undefined_identifiersTestCase.cpp",
"../shaders/Khrgles3shaders_literal_parsingTestCase.cpp",
"../shaders/Khrgles3single_basic_array_packedTestCase.cpp",
"../shaders/Khrgles3single_basic_array_sharedTestCase.cpp",
"../shaders/Khrgles3single_basic_array_std140TestCase.cpp",
"../shaders/Khrgles3single_basic_type_packedTestCase.cpp",
"../shaders/Khrgles3single_basic_type_sharedTestCase.cpp",
"../shaders/Khrgles3single_basic_type_std140TestCase.cpp",
"../shaders/Khrgles3struct_localTestCase.cpp",
"../shaders/Khrgles3struct_uniformTestCase.cpp",
"../shaders/Khrgles3uniform_block_single_nested_structTestCase.cpp",
"../shaders/Khrgles3uniform_block_single_nested_struct_arrayTestCase.cpp",
"../shaders/Khrgles3uniform_block_single_structTestCase.cpp",
"../shaders/Khrgles3uniform_block_single_struct_arrayTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkglcts/src" ]
deps = [ ":libkhrgles3func0002" ]
cflags = [ "-Wno-error" ]
}
graphic/vkgl/src/khrgles3/build0002/Test.json
0 → 100644
浏览文件 @
7758ae1b
{
"description"
:
"Config for ActsKhrgles3TestSuite0002 test cases"
,
"driver"
:
{
"module-name"
:
"ActsKhrgles3TestSuite0002"
,
"native-test-timeout"
:
"120000"
,
"native-test-device-path"
:
"/data/local/tmp"
,
"runtime-hint"
:
"100s"
,
"type"
:
"CppTest"
},
"kits"
:
[
{
"pre-push"
:
[
],
"post-push"
:
[
"chmod -R 777 /data/local/tmp/*"
,
"mkdir /data/local/tmp/gl_cts"
,
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts"
,
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push"
:
[
"ActsKhrgles3TestSuite0002->/data/local/tmp/ActsKhrgles3TestSuite0002"
,
"../../../common/common/librosen_context.z.so->/system/lib"
,
"gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type"
:
"PushKit"
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"remount"
,
"mkdir /data/test"
,
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/build0003/BUILD.gn
0 → 100644
浏览文件 @
7758ae1b
# 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.
import("//test/xts/acts/graphic/vkglcts/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libkhrgles3func0003") {
sources = common_src
sources += [ "../Khrgles3BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsKhrgles3TestSuite0003") {
sources = [
"../ActsKhrgles30003TestSuite.cpp",
"../shaders/Khrgles3instance_array_basic_type_packedTestCase.cpp",
"../shaders/Khrgles3instance_array_basic_type_sharedTestCase.cpp",
"../shaders/Khrgles3instance_array_basic_type_std140TestCase.cpp",
"../shaders/Khrgles3multi_basic_types_per_block_bufferTestCase.cpp",
"../shaders/Khrgles3multi_basic_types_single_bufferTestCase.cpp",
"../shaders/Khrgles3multi_nested_struct_per_block_bufferTestCase.cpp",
"../shaders/Khrgles3multi_nested_struct_single_bufferTestCase.cpp",
"../shaders/Khrgles3random_all_per_block_buffersTestCase.cpp",
"../shaders/Khrgles3random_all_shared_bufferTestCase.cpp",
"../shaders/Khrgles3random_basic_arraysTestCase.cpp",
"../shaders/Khrgles3random_basic_instance_arraysTestCase.cpp",
"../shaders/Khrgles3random_basic_typesTestCase.cpp",
"../shaders/Khrgles3random_nested_structsTestCase.cpp",
"../shaders/Khrgles3random_nested_structs_arraysTestCase.cpp",
"../shaders/Khrgles3random_nested_structs_arrays_instance_arraysTestCase.cpp",
"../shaders/Khrgles3random_nested_structs_instance_arraysTestCase.cpp",
"../shaders/Khrgles3random_scalar_typesTestCase.cpp",
"../shaders/Khrgles3random_vector_typesTestCase.cpp",
"../shaders/Khrgles3shaders_aggressive_optimizationsTestCase.cpp",
"../shaders/Khrgles3shaders_glsl_constructorsTestCase.cpp",
"../shaders/Khrgles3shaders_negativeTestCase.cpp",
"../shaders/Khrgles3shaders_shader_integer_mixTestCase.cpp",
"../shaders/Khrgles3uniform_block_commonTestCase.cpp",
"../texture_filter_anisotropic/Khrgles3KHR-GLES3_texture_filter_anisotropicTestCase.cpp",
"../texture_repeat_mode/Khrgles3KHR-GLES3_texture_repeat_modeTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkglcts/src" ]
deps = [ ":libkhrgles3func0003" ]
cflags = [ "-Wno-error" ]
}
graphic/vkgl/src/khrgles3/build0003/Test.json
0 → 100644
浏览文件 @
7758ae1b
{
"description"
:
"Config for ActsKhrgles3TestSuite0003 test cases"
,
"driver"
:
{
"module-name"
:
"ActsKhrgles3TestSuite0003"
,
"native-test-timeout"
:
"120000"
,
"native-test-device-path"
:
"/data/local/tmp"
,
"runtime-hint"
:
"100s"
,
"type"
:
"CppTest"
},
"kits"
:
[
{
"pre-push"
:
[
],
"post-push"
:
[
"chmod -R 777 /data/local/tmp/*"
,
"mkdir /data/local/tmp/gl_cts"
,
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts"
,
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push"
:
[
"ActsKhrgles3TestSuite0003->/data/local/tmp/ActsKhrgles3TestSuite0003"
,
"../../../common/common/librosen_context.z.so->/system/lib"
,
"gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type"
:
"PushKit"
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"remount"
,
"mkdir /data/test"
,
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/build0004/BUILD.gn
0 → 100644
浏览文件 @
7758ae1b
# 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.
import("//test/xts/acts/graphic/vkglcts/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libkhrgles3func0004") {
sources = common_src
sources += [ "../Khrgles3BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsKhrgles3TestSuite0004") {
sources = [
"../ActsKhrgles30004TestSuite.cpp",
"../copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_forbiddenTestCase.cpp",
"../copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_requiredTestCase.cpp",
"../core/Khrgles3core_constant_expressionsTestCase.cpp",
"../core/Khrgles3core_nearest_edgeTestCase.cpp",
"../core/Khrgles3core_shader_macrosTestCase.cpp",
"../core/Khrgles3internalformat_copy_tex_imageTestCase.cpp",
"../core/Khrgles3internalformat_renderbufferTestCase.cpp",
"../core/Khrgles3internalformat_texture2dTestCase.cpp",
"../exposed_extensions/Khrgles3KHR-GLES3_exposed_extensionsTestCase.cpp",
"../framebuffer_completeness/Khrgles3KHR-GLES3_framebuffer_completenessTestCase.cpp",
"../packed_depth_stencil/Khrgles3packed_depth_stencil_blitTestCase.cpp",
"../packed_depth_stencil/Khrgles3packed_depth_stencil_clear_bufferTestCase.cpp",
"../packed_depth_stencil/Khrgles3packed_depth_stencil_renderbuffersTestCase.cpp",
"../packed_depth_stencil/Khrgles3packed_depth_stencil_stencil_texturingTestCase.cpp",
"../packed_depth_stencil/Khrgles3packed_depth_stencil_validate_errorsTestCase.cpp",
"../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_mixed_attachmentsTestCase.cpp",
"../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_parametersTestCase.cpp",
"../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_partial_attachmentsTestCase.cpp",
"../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_read_pixelsTestCase.cpp",
"../packed_pixels/Khrgles3packed_pixels_pbo_rectangleTestCase.cpp",
"../packed_pixels/Khrgles3packed_pixels_rectangleTestCase.cpp",
"../packed_pixels/Khrgles3packed_pixels_varied_rectangleTestCase.cpp",
"../parallel_shader_compile/Khrgles3KHR-GLES3_parallel_shader_compileTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkglcts/src" ]
deps = [ ":libkhrgles3func0004" ]
cflags = [ "-Wno-error" ]
}
graphic/vkgl/src/khrgles3/build0004/Test.json
0 → 100644
浏览文件 @
7758ae1b
{
"description"
:
"Config for ActsKhrgles3TestSuite0004 test cases"
,
"driver"
:
{
"module-name"
:
"ActsKhrgles3TestSuite0004"
,
"native-test-timeout"
:
"120000"
,
"native-test-device-path"
:
"/data/local/tmp"
,
"runtime-hint"
:
"100s"
,
"type"
:
"CppTest"
},
"kits"
:
[
{
"pre-push"
:
[
],
"post-push"
:
[
"chmod -R 777 /data/local/tmp/*"
,
"mkdir /data/local/tmp/gl_cts"
,
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts"
,
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push"
:
[
"ActsKhrgles3TestSuite0004->/data/local/tmp/ActsKhrgles3TestSuite0004"
,
"../../../common/common/librosen_context.z.so->/system/lib"
,
"gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type"
:
"PushKit"
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"remount"
,
"mkdir /data/test"
,
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/build0005/BUILD.gn
0 → 100644
浏览文件 @
7758ae1b
# 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.
import("//test/xts/acts/graphic/vkglcts/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libkhrgles3func0005") {
sources = common_src
sources += [ "../Khrgles3BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsKhrgles3TestSuite0005") {
sources = [
"../ActsKhrgles30005TestSuite.cpp",
"../number_parsing/Khrgles3KHR-GLES3_number_parsingTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkglcts/src" ]
deps = [ ":libkhrgles3func0005" ]
cflags = [ "-Wno-error" ]
}
graphic/vkgl/src/khrgles3/build0005/Test.json
0 → 100644
浏览文件 @
7758ae1b
{
"description"
:
"Config for ActsKhrgles3TestSuite0005 test cases"
,
"driver"
:
{
"module-name"
:
"ActsKhrgles3TestSuite0005"
,
"native-test-timeout"
:
"120000"
,
"native-test-device-path"
:
"/data/local/tmp"
,
"runtime-hint"
:
"100s"
,
"type"
:
"CppTest"
},
"kits"
:
[
{
"pre-push"
:
[
],
"post-push"
:
[
"chmod -R 777 /data/local/tmp/*"
,
"mkdir /data/local/tmp/gl_cts"
,
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts"
,
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push"
:
[
"ActsKhrgles3TestSuite0005->/data/local/tmp/ActsKhrgles3TestSuite0005"
,
"../../../common/common/librosen_context.z.so->/system/lib"
,
"gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type"
:
"PushKit"
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"remount"
,
"mkdir /data/test"
,
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
graphic/vkgl/src/khrgles3/exposed_extensions/Khrgles3KHR-GLES3_exposed_extensionsTestCase.cpp
浏览文件 @
7758ae1b
...
...
@@ -13,7 +13,6 @@
* limitations under the License.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
...
...
graphic/vkgl/src/khrgles3/framebuffer_completeness/Khrgles3KHR-GLES3_framebuffer_completenessTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003908
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003908 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completene"
"ss.incomplete_missing_attachment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003908 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003908 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003909
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003909 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completen"
"ess.incomplete_image_zero_width"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003909 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003909 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003910
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003910 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completen"
"ess.incomplete_image_zero_height"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003910 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003910 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003911
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003911 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completenes"
"s.incomplete_texture_3d_layer_oob"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003911 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003911 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003912
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003912 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completenes"
"s.incomplete_texture_2d_layer_oob"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003912 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003912 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003913
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003913 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completeness"
".incomplete_texture_2d_mm_layer_oob"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003913 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003913 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003914
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003914 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completeness.mut"
"able_nbl_texture_expect_mipmap_complete"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003914 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003914 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003915
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003915 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completeness.mu"
"table_nbl_texture_expect_cube_complete"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003915 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003915 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003916
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003916 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completeness"
".expect_renderable_internal_format"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003916 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003916 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003917
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003917 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completenes"
"s.all_rbos_expect_same_numsamples"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003917 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003917 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003918
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003918 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completeness.r"
"bo_and_texture_expect_zero_numsamples"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003918 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003918 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003919
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003919 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_com"
"pleteness.status_tracking"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003919 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003919 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003920
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003920 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completeness.mu"
"table_texture_missing_attachment_level"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003920 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003920 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003921
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003921 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.framebuffer_completeness.imm"
"utable_texture_any_level_as_attachment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003921 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003921 end"
;
}
graphic/vkgl/src/khrgles3/number_parsing/Khrgles3KHR-GLES3_number_parsingTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
此差异已折叠。
点击以展开。
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_blitTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003904
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003904 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_ste"
"ncil.blit.depth24_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003904 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003904 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003905
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003905 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_ste"
"ncil.blit.depth32f_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003905 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003905 end"
;
}
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_clear_bufferTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003902
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003902 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil"
".clear_buffer.depth24_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003902 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003902 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003903
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003903 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil"
".clear_buffer.depth32f_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003903 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003903 end"
;
}
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_renderbuffersTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003900
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003900 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil"
".renderbuffers.depth24_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003900 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003900 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003901
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003901 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil."
"renderbuffers.depth32f_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003901 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003901 end"
;
}
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_stencil_texturingTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003906
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003906 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil.s"
"tencil_texturing.depth24_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003906 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003906 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003907
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003907 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil.st"
"encil_texturing.depth32f_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003907 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003907 end"
;
}
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_validate_errorsTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003890
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003890 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil."
"validate_errors.depth24_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003890 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003890 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003891
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003891 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil.v"
"alidate_errors.depth32f_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003891 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003891 end"
;
}
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_mixed_attachmentsTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003896
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003896 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil.verif"
"y_mixed_attachments.depth24_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003896 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003896 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003897
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003897 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil.verif"
"y_mixed_attachments.depth32f_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003897 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003897 end"
;
}
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_parametersTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003898
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003898 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil.v"
"erify_parameters.depth24_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003898 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003898 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003899
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003899 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil.ve"
"rify_parameters.depth32f_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003899 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003899 end"
;
}
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_partial_attachmentsTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003894
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003894 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil.verify"
"_partial_attachments.depth24_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003894 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003894 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003895
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003895 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.packed_depth_stencil.verify"
"_partial_attachments.depth32f_stencil8"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003895 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003895 end"
;
}
graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_read_pixelsTestCase.cpp
浏览文件 @
7758ae1b
...
...
@@ -13,7 +13,6 @@
* limitations under the License.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
...
...
graphic/vkgl/src/khrgles3/parallel_shader_compile/Khrgles3KHR-GLES3_parallel_shader_compileTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003709
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003709 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.parallel_shade"
"r_compile.simple_queries"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003709 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003709 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003710
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003710 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.parallel_shader_comp"
"ile.max_shader_compile_threads"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003710 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003710 end"
;
}
static
HWTEST_F
(
ActsKhrgles30004TestSuite
,
TestCase_003711
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003711 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.parallel_shader_compil"
"e.compilation_completion_parallel"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003711 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003711 end"
;
}
graphic/vkgl/src/khrgles3/texture_filter_anisotropic/Khrgles3KHR-GLES3_texture_filter_anisotropicTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30003TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30003TestSuite
,
TestCase_002974
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002974 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.texture_filt"
"er_anisotropic.queries"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002974 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002974 end"
;
}
static
HWTEST_F
(
ActsKhrgles30003TestSuite
,
TestCase_002975
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002975 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.texture_filt"
"er_anisotropic.drawing"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002975 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002975 end"
;
}
graphic/vkgl/src/khrgles3/texture_repeat_mode/Khrgles3KHR-GLES3_texture_repeat_modeTestCase.cpp
0 → 100644
浏览文件 @
7758ae1b
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录