Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
7c1bd4f0
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看板
提交
7c1bd4f0
编写于
6月 27, 2022
作者:
Z
zhuyunwu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
testcase
Signed-off-by:
N
zhuyunwu
<
zhuyunwu@kaihongdigi.com
>
上级
bee714c7
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
1936 addition
and
0 deletion
+1936
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2TestCase.cpp
...rc/khrgles31/core/Khrgles31teximage2d_rgb10a2TestCase.cpp
+184
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r11g11b10fTestCase.cpp
...khrgles31/core/Khrgles31teximage3d_r11g11b10fTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32uiTestCase.cpp
...rc/khrgles31/core/Khrgles31teximage3d_rgb32uiTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16fTestCase.cpp
...rc/khrgles31/core/Khrgles31teximage3d_rgba16fTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16iTestCase.cpp
...rc/khrgles31/core/Khrgles31teximage3d_rgba16iTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32fTestCase.cpp
...rc/khrgles31/core/Khrgles31teximage3d_rgba32fTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8uiTestCase.cpp
...rc/khrgles31/core/Khrgles31teximage3d_rgba8uiTestCase.cpp
+292
-0
未找到文件。
graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2TestCase.cpp
0 → 100644
浏览文件 @
7c1bd4f0
/*
* 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_002935
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002935 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgb10a2.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_002935 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002935 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002936
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002936 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgb10a2.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_002936 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002936 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002937
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002937 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgb10a2.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_002937 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002937 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002938
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002938 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgb10a2.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_002938 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002938 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002939
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002939 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgb10a2.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_002939 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002939 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002940
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002940 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage2d.rgb10a2.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_002940 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002940 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r11g11b10fTestCase.cpp
0 → 100644
浏览文件 @
7c1bd4f0
/*
* 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_003225
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003225 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.r11g11b10f.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_003225 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003225 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003226
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003226 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.r11g11b10f.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_003226 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003226 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003227
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003227 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemod"
"es.teximage3d.r11g11b10f.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_003227 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003227 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003228
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003228 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.r11g11b10f.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_003228 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003228 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003229
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003229 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemod"
"es.teximage3d.r11g11b10f.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_003229 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003229 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003230
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003230 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemod"
"es.teximage3d.r11g11b10f.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_003230 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003230 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003231
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003231 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.r11g11b10f.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_003231 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003231 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003232
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003232 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemod"
"es.teximage3d.r11g11b10f.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_003232 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003232 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003233
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003233 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemod"
"es.teximage3d.r11g11b10f.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_003233 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003233 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003234
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003234 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemod"
"es.teximage3d.r11g11b10f.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_003234 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003234 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32uiTestCase.cpp
0 → 100644
浏览文件 @
7c1bd4f0
/*
* 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_003295
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003295 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32ui.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_003295 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003295 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003296
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003296 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32ui.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_003296 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003296 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003297
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003297 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32ui.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_003297 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003297 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003298
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003298 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32ui.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_003298 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003298 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003299
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003299 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32ui.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_003299 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003299 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003300
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003300 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgb32ui.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_003300 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003300 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003301
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003301 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32ui.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_003301 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003301 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003302
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003302 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32ui.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_003302 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003302 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003303
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003303 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgb32ui.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_003303 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003303 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003304
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003304 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgb32ui.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_003304 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003304 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16fTestCase.cpp
0 → 100644
浏览文件 @
7c1bd4f0
/*
* 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_003365
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003365 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16f.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_003365 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003365 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003366
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003366 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16f.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_003366 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003366 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003367
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003367 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16f.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_003367 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003367 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003368
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003368 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16f.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_003368 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003368 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003369
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003369 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16f.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_003369 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003369 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003370
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003370 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba16f.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_003370 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003370 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003371
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003371 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16f.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_003371 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003371 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003372
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003372 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16f.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_003372 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003372 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003373
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003373 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba16f.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_003373 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003373 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003374
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003374 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba16f.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_003374 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003374 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16iTestCase.cpp
0 → 100644
浏览文件 @
7c1bd4f0
/*
* 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_003425
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003425 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16i.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_003425 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003425 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003426
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003426 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16i.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_003426 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003426 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003427
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003427 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16i.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_003427 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003427 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003428
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003428 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16i.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_003428 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003428 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003429
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003429 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16i.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_003429 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003429 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003430
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003430 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba16i.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_003430 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003430 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003431
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003431 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16i.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_003431 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003431 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003432
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003432 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba16i.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_003432 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003432 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003433
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003433 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba16i.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_003433 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003433 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003434
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003434 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba16i.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_003434 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003434 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32fTestCase.cpp
0 → 100644
浏览文件 @
7c1bd4f0
/*
* 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_003375
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003375 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba32f.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_003375 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003375 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003376
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003376 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba32f.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_003376 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003376 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003377
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003377 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba32f.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_003377 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003377 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003378
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003378 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba32f.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_003378 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003378 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003379
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003379 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba32f.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_003379 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003379 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003380
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003380 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba32f.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_003380 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003380 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003381
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003381 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba32f.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_003381 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003381 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003382
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003382 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba32f.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_003382 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003382 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003383
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003383 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba32f.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_003383 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003383 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003384
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003384 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba32f.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_003384 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003384 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8uiTestCase.cpp
0 → 100644
浏览文件 @
7c1bd4f0
/*
* 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_003385
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003385 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba8ui.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_003385 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003385 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003386
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003386 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba8ui.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_003386 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003386 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003387
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003387 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba8ui.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_003387 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003387 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003388
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003388 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba8ui.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_003388 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003388 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003389
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003389 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba8ui.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_003389 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003389 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003390
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003390 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba8ui.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_003390 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003390 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003391
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003391 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba8ui.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_003391 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003391 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003392
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003392 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgba8ui.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_003392 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003392 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003393
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003393 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba8ui.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_003393 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003393 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003394
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003394 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgba8ui.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_003394 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003394 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录