Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
c6389c26
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看板
提交
c6389c26
编写于
6月 27, 2022
作者:
Y
yuanchunge
提交者:
xuping
6月 27, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add test
Signed-off-by:
N
yuanchunge
<
yuanchunge@kaihongdigi.com
>
上级
3195b0a5
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
1936 addition
and
0 deletion
+1936
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8uiTestCase.cpp
...rc/khrgles31/core/Khrgles31teximage2d_rgba8uiTestCase.cpp
+184
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16fTestCase.cpp
...l/src/khrgles31/core/Khrgles31teximage3d_r16fTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16iTestCase.cpp
...l/src/khrgles31/core/Khrgles31teximage3d_r16iTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32fTestCase.cpp
...l/src/khrgles31/core/Khrgles31teximage3d_r32fTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32iTestCase.cpp
...l/src/khrgles31/core/Khrgles31teximage3d_r32iTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8uiTestCase.cpp
...l/src/khrgles31/core/Khrgles31teximage3d_r8uiTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8TestCase.cpp
...gl/src/khrgles31/core/Khrgles31teximage3d_rg8TestCase.cpp
+292
-0
未找到文件。
graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8uiTestCase.cpp
0 → 100644
浏览文件 @
c6389c26
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002953
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002953 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgba8ui.0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002953 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002953 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002954
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002954 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgba8ui.1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002954 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002954 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002955
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002955 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgba8ui.16_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002955 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002955 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002956
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002956 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgba8ui.1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002956 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002956 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002957
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002957 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgba8ui.16_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002957 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002957 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002958
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002958 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage2d.rgba8ui.16_16"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002958 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002958 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16fTestCase.cpp
0 → 100644
浏览文件 @
c6389c26
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003015
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003015 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r16f.0_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003015 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003015 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003016
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003016 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r16f.1_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003016 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003016 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003017
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003017 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16f.16_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003017 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003017 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003018
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003018 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r16f.1_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003018 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003018 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003019
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003019 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16f.16_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003019 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003019 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003020
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003020 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16f.16_16_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003020 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003020 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003021
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003021 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r16f.1_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003021 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003021 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003022
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003022 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16f.16_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003022 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003022 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003023
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003023 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16f.16_16_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003023 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003023 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003024
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003024 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16f.16_16_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003024 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003024 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16iTestCase.cpp
0 → 100644
浏览文件 @
c6389c26
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003065
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003065 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r16i.0_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003065 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003065 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003066
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003066 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r16i.1_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003066 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003066 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003067
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003067 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16i.16_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003067 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003067 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003068
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003068 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r16i.1_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003068 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003068 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003069
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003069 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16i.16_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003069 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003069 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003070
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003070 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16i.16_16_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003070 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003070 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003071
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003071 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r16i.1_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003071 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003071 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003072
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003072 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16i.16_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003072 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003072 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003073
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003073 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16i.16_16_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003073 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003073 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003074
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003074 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16i.16_16_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003074 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003074 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32fTestCase.cpp
0 → 100644
浏览文件 @
c6389c26
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003025
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003025 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r32f.0_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003025 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003025 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003026
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003026 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r32f.1_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003026 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003026 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003027
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003027 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32f.16_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003027 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003027 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003028
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003028 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r32f.1_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003028 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003028 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003029
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003029 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32f.16_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003029 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003029 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003030
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003030 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32f.16_16_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003030 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003030 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003031
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003031 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r32f.1_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003031 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003031 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003032
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003032 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32f.16_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003032 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003032 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003033
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003033 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32f.16_16_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003033 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003033 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003034
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003034 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32f.16_16_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003034 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003034 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32iTestCase.cpp
0 → 100644
浏览文件 @
c6389c26
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003085
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003085 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r32i.0_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003085 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003085 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003086
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003086 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r32i.1_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003086 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003086 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003087
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003087 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32i.16_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003087 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003087 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003088
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003088 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r32i.1_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003088 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003088 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003089
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003089 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32i.16_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003089 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003089 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003090
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003090 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32i.16_16_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003090 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003090 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003091
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003091 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r32i.1_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003091 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003091 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003092
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003092 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32i.16_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003092 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003092 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003093
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003093 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32i.16_16_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003093 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003093 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003094
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003094 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32i.16_16_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003094 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003094 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8uiTestCase.cpp
0 → 100644
浏览文件 @
c6389c26
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003035
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003035 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r8ui.0_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003035 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003035 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003036
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003036 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r8ui.1_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003036 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003036 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003037
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003037 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r8ui.16_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003037 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003037 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003038
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003038 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r8ui.1_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003038 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003038 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003039
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003039 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r8ui.16_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003039 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003039 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003040
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003040 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r8ui.16_16_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003040 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003040 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003041
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003041 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.r8ui.1_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003041 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003041 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003042
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003042 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r8ui.16_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003042 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003042 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003043
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003043 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r8ui.16_16_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003043 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003043 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003044
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003044 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r8ui.16_16_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003044 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003044 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8TestCase.cpp
0 → 100644
浏览文件 @
c6389c26
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003095
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003095 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rg8.0_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003095 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003095 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003096
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003096 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rg8.1_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003096 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003096 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003097
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003097 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rg8.16_0_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003097 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003097 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003098
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003098 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rg8.1_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003098 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003098 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003099
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003099 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rg8.16_1_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003099 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003099 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003100
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003100 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8.16_16_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003100 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003100 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003101
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003101 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rg8.1_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003101 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003101 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003102
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003102 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rg8.16_1_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003102 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003102 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003103
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003103 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8.16_16_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003103 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003103 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003104
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003104 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8.16_16_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003104 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003104 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录