Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
b297893d
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看板
提交
b297893d
编写于
8月 30, 2023
作者:
W
wangshi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
"add vulkan cases commit texture and ubo testcases for vulkan"
Signed-off-by:
N
wangshi
<
wangshi@kaihong.com
>
上级
e507af2a
变更
24
显示空白变更内容
内联
并排
Showing
24 changed file
with
711 addition
and
0 deletion
+711
-0
graphic/vulkan/src/ubo/ActsUbo0001TestSuite.cpp
graphic/vulkan/src/ubo/ActsUbo0001TestSuite.cpp
+30
-0
graphic/vulkan/src/ubo/ActsUbo0001TestSuite.h
graphic/vulkan/src/ubo/ActsUbo0001TestSuite.h
+24
-0
graphic/vulkan/src/ubo/ActsUbo0002TestSuite.cpp
graphic/vulkan/src/ubo/ActsUbo0002TestSuite.cpp
+30
-0
graphic/vulkan/src/ubo/ActsUbo0002TestSuite.h
graphic/vulkan/src/ubo/ActsUbo0002TestSuite.h
+24
-0
graphic/vulkan/src/ubo/ActsUbo0003TestSuite.cpp
graphic/vulkan/src/ubo/ActsUbo0003TestSuite.cpp
+30
-0
graphic/vulkan/src/ubo/ActsUbo0003TestSuite.h
graphic/vulkan/src/ubo/ActsUbo0003TestSuite.h
+24
-0
graphic/vulkan/src/ubo/ActsUbo0004TestSuite.cpp
graphic/vulkan/src/ubo/ActsUbo0004TestSuite.cpp
+30
-0
graphic/vulkan/src/ubo/ActsUbo0004TestSuite.h
graphic/vulkan/src/ubo/ActsUbo0004TestSuite.h
+24
-0
graphic/vulkan/src/ubo/ActsUbo0005TestSuite.cpp
graphic/vulkan/src/ubo/ActsUbo0005TestSuite.cpp
+30
-0
graphic/vulkan/src/ubo/ActsUbo0005TestSuite.h
graphic/vulkan/src/ubo/ActsUbo0005TestSuite.h
+24
-0
graphic/vulkan/src/ubo/ActsUbo0006TestSuite.cpp
graphic/vulkan/src/ubo/ActsUbo0006TestSuite.cpp
+30
-0
graphic/vulkan/src/ubo/ActsUbo0006TestSuite.h
graphic/vulkan/src/ubo/ActsUbo0006TestSuite.h
+24
-0
graphic/vulkan/src/ubo/ActsUbo0007TestSuite.cpp
graphic/vulkan/src/ubo/ActsUbo0007TestSuite.cpp
+30
-0
graphic/vulkan/src/ubo/ActsUbo0007TestSuite.h
graphic/vulkan/src/ubo/ActsUbo0007TestSuite.h
+24
-0
graphic/vulkan/src/ubo/ActsUbo0008TestSuite.cpp
graphic/vulkan/src/ubo/ActsUbo0008TestSuite.cpp
+30
-0
graphic/vulkan/src/ubo/ActsUbo0008TestSuite.h
graphic/vulkan/src/ubo/ActsUbo0008TestSuite.h
+24
-0
graphic/vulkan/src/ubo/ActsUbo0009TestSuite.cpp
graphic/vulkan/src/ubo/ActsUbo0009TestSuite.cpp
+30
-0
graphic/vulkan/src/ubo/ActsUbo0009TestSuite.h
graphic/vulkan/src/ubo/ActsUbo0009TestSuite.h
+24
-0
graphic/vulkan/src/ubo/ActsUbo0010TestSuite.cpp
graphic/vulkan/src/ubo/ActsUbo0010TestSuite.cpp
+30
-0
graphic/vulkan/src/ubo/ActsUbo0010TestSuite.h
graphic/vulkan/src/ubo/ActsUbo0010TestSuite.h
+24
-0
graphic/vulkan/src/ubo/ActsUboTestSuite.cpp
graphic/vulkan/src/ubo/ActsUboTestSuite.cpp
+30
-0
graphic/vulkan/src/ubo/ActsUboTestSuite.h
graphic/vulkan/src/ubo/ActsUboTestSuite.h
+24
-0
graphic/vulkan/src/ubo/UboBaseFunc.cpp
graphic/vulkan/src/ubo/UboBaseFunc.cpp
+85
-0
graphic/vulkan/src/ubo/UboBaseFunc.h
graphic/vulkan/src/ubo/UboBaseFunc.h
+32
-0
未找到文件。
graphic/vulkan/src/ubo/ActsUbo0001TestSuite.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "UboBaseFunc.h"
#include "ActsUbo0001TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsUbo0001TS
::
startTime
;
time_t
ActsUbo0001TS
::
endTime
;
FuncRunResult
ActsUbo0001TS
::
runResult
;
}
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0001TestSuite.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO0001_TESTCASE_H
#define UBO0001_TESTCASE_H
#include "UboBaseFunc.h"
#include "testsuitehead.h"
#include "testsuitehead.h"
SHRINK_SUITETEST_HEAD
(
ActsUbo0001TS
)
#endif // UBO0001_TESTCASE_H
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0002TestSuite.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "UboBaseFunc.h"
#include "ActsUbo0002TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsUbo0002TS
::
startTime
;
time_t
ActsUbo0002TS
::
endTime
;
FuncRunResult
ActsUbo0002TS
::
runResult
;
}
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0002TestSuite.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO_TESTCASE_H
#define UBO_TESTCASE_H
#include "UboBaseFunc.h"
#include "testsuitehead.h"
SHRINK_SUITETEST_HEAD
(
ActsUbo0002TS
)
#endif // UBO_TESTCASE_H
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0003TestSuite.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "UboBaseFunc.h"
#include "ActsUbo0003TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsUbo0003TS
::
startTime
;
time_t
ActsUbo0003TS
::
endTime
;
FuncRunResult
ActsUbo0003TS
::
runResult
;
}
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0003TestSuite.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO_TESTCASE_H
#define UBO_TESTCASE_H
#include "UboBaseFunc.h"
#include "testsuitehead.h"
SHRINK_SUITETEST_HEAD
(
ActsUbo0003TS
)
#endif // UBO_TESTCASE_H
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0004TestSuite.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "UboBaseFunc.h"
#include "ActsUbo0004TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsUbo0004TS
::
startTime
;
time_t
ActsUbo0004TS
::
endTime
;
FuncRunResult
ActsUbo0004TS
::
runResult
;
}
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0004TestSuite.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO_TESTCASE_H
#define UBO_TESTCASE_H
#include "UboBaseFunc.h"
#include "testsuitehead.h"
SHRINK_SUITETEST_HEAD
(
ActsUbo0004TS
)
#endif // UBO_TESTCASE_H
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0005TestSuite.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "UboBaseFunc.h"
#include "ActsUbo0005TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsUbo0005TS
::
startTime
;
time_t
ActsUbo0005TS
::
endTime
;
FuncRunResult
ActsUbo0005TS
::
runResult
;
}
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0005TestSuite.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO_TESTCASE_H
#define UBO_TESTCASE_H
#include "UboBaseFunc.h"
#include "testsuitehead.h"
SHRINK_SUITETEST_HEAD
(
ActsUbo0005TS
)
#endif // UBO_TESTCASE_H
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0006TestSuite.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "UboBaseFunc.h"
#include "ActsUbo0006TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsUbo0006TS
::
startTime
;
time_t
ActsUbo0006TS
::
endTime
;
FuncRunResult
ActsUbo0006TS
::
runResult
;
}
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0006TestSuite.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO_TESTCASE_H
#define UBO_TESTCASE_H
#include "UboBaseFunc.h"
#include "testsuitehead.h"
SHRINK_SUITETEST_HEAD
(
ActsUbo0006TS
)
#endif // UBO_TESTCASE_H
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0007TestSuite.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "UboBaseFunc.h"
#include "ActsUbo0007TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsUbo0007TS
::
startTime
;
time_t
ActsUbo0007TS
::
endTime
;
FuncRunResult
ActsUbo0007TS
::
runResult
;
}
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0007TestSuite.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO_TESTCASE_H
#define UBO_TESTCASE_H
#include "UboBaseFunc.h"
#include "testsuitehead.h"
SHRINK_SUITETEST_HEAD
(
ActsUbo0007TS
)
#endif // UBO_TESTCASE_H
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0008TestSuite.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "UboBaseFunc.h"
#include "ActsUbo0008TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsUbo0008TS
::
startTime
;
time_t
ActsUbo0008TS
::
endTime
;
FuncRunResult
ActsUbo0008TS
::
runResult
;
}
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0008TestSuite.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO_TESTCASE_H
#define UBO_TESTCASE_H
#include "UboBaseFunc.h"
#include "testsuitehead.h"
SHRINK_SUITETEST_HEAD
(
ActsUbo0008TS
)
#endif // UBO_TESTCASE_H
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0009TestSuite.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "UboBaseFunc.h"
#include "ActsUbo0009TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsUbo0009TS
::
startTime
;
time_t
ActsUbo0009TS
::
endTime
;
FuncRunResult
ActsUbo0009TS
::
runResult
;
}
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0009TestSuite.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO_TESTCASE_H
#define UBO_TESTCASE_H
#include "UboBaseFunc.h"
#include "testsuitehead.h"
SHRINK_SUITETEST_HEAD
(
ActsUbo0009TS
)
#endif // UBO_TESTCASE_H
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0010TestSuite.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "UboBaseFunc.h"
#include "ActsUbo0010TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsUbo0010TS
::
startTime
;
time_t
ActsUbo0010TS
::
endTime
;
FuncRunResult
ActsUbo0010TS
::
runResult
;
}
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUbo0010TestSuite.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO_TESTCASE_H
#define UBO_TESTCASE_H
#include "UboBaseFunc.h"
#include "testsuitehead.h"
SHRINK_SUITETEST_HEAD
(
ActsUbo0010TS
)
#endif // UBO_TESTCASE_H
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUboTestSuite.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "UboBaseFunc.h"
#include "ActsUboTestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsUboTS
::
startTime
;
time_t
ActsUboTS
::
endTime
;
FuncRunResult
ActsUboTS
::
runResult
;
}
\ No newline at end of file
graphic/vulkan/src/ubo/ActsUboTestSuite.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO_TESTCASE_H
#define UBO_TESTCASE_H
#include "UboBaseFunc.h"
#include "testsuitehead.h"
SHRINK_SUITETEST_HEAD
(
ActsUboTS
)
#endif // UBO_TESTCASE_H
\ No newline at end of file
graphic/vulkan/src/ubo/UboBaseFunc.cpp
0 → 100644
浏览文件 @
b297893d
/*
* 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 <cstdio>
#include <iostream>
#include "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
// #include "ActsApp.h"
#include "tcuApp.hpp"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
#include "tcuOhosPlatform.hpp"
#include "external/vulkancts/modules/vulkan/vktTestPackage.hpp"
#include "logdefine.h"
#include "UboBaseFunc.h"
static
tcu
::
TestPackage
*
createTestPackage
(
tcu
::
TestContext
&
testCtx
)
{
return
new
vkt
::
TestPackage
(
testCtx
);
}
static
tcu
::
TestPackage
*
createExperimentalTestPackage
(
tcu
::
TestContext
&
testCtx
)
{
return
new
vkt
::
ExperimentalTestPackage
(
testCtx
);
}
// tcu::TestPackageDescriptor g_vktPackageDescriptor("dEQP-VK", createTestPackage);
// tcu::TestPackageDescriptor g_vktExperimentalPackageDescriptor("dEQP-VK-experimental", createExperimentalTestPackage);
void
RegistPackage
(
void
)
{
tcu
::
TestPackageRegistry
*
registry
=
tcu
::
TestPackageRegistry
::
getSingleton
();
registry
->
registerPackage
(
"dEQP-VK"
,
createTestPackage
);
registry
->
registerPackage
(
"dEQP-VK-experimental"
,
createExperimentalTestPackage
);
}
// extern tcu::TestLog tcutestlog;
FuncRunResult
RunTestKHRGLES
(
int
argc
,
const
char
**
argv
)
{
FuncRunResult
runResult
;
try
{
tcu
::
CommandLine
cmdLine
(
argc
,
argv
);
std
::
cout
<<
"testmain end argc"
<<
argc
<<
";"
<<
argv
[
0
]
<<
";"
<<
argv
[
1
]
<<
";"
<<
argv
[
2
]
<<
std
::
endl
;
tcu
::
DirArchive
archive
(
cmdLine
.
getArchiveDir
());
de
::
UniquePtr
<
tcu
::
Platform
>
platform
(
createOhosPlatform
());
de
::
UniquePtr
<
tcu
::
App
>
app
(
new
tcu
::
App
(
*
platform
,
archive
,
OHOS
::
Logdefine
::
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/vulkan/src/ubo/UboBaseFunc.h
0 → 100644
浏览文件 @
b297893d
/*
* 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 UBO_FUNC_H
#define UBO_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 // UBO_FUNC_H
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录