Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
3195b0a5
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看板
提交
3195b0a5
编写于
6月 27, 2022
作者:
X
xuping
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add test
Signed-off-by:
N
xuping
<
xuping@kaihongdigi.com
>
上级
9ce775b0
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
1936 addition
and
0 deletion
+1936
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2uiTestCase.cpp
.../khrgles31/core/Khrgles31teximage2d_rgb10a2uiTestCase.cpp
+184
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16uiTestCase.cpp
.../src/khrgles31/core/Khrgles31teximage3d_r16uiTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32uiTestCase.cpp
.../src/khrgles31/core/Khrgles31teximage3d_r32uiTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16fTestCase.cpp
.../src/khrgles31/core/Khrgles31teximage3d_rg16fTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8iTestCase.cpp
...l/src/khrgles31/core/Khrgles31teximage3d_rg8iTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8uiTestCase.cpp
.../src/khrgles31/core/Khrgles31teximage3d_rg8uiTestCase.cpp
+292
-0
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8TestCase.cpp
...l/src/khrgles31/core/Khrgles31teximage3d_rgb8TestCase.cpp
+292
-0
未找到文件。
graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2uiTestCase.cpp
0 → 100644
浏览文件 @
3195b0a5
/*
* 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_002965
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002965 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage2d.rgb10a2ui.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_002965 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002965 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002966
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002966 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage2d.rgb10a2ui.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_002966 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002966 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002967
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002967 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage2d.rgb10a2ui.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_002967 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002967 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002968
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002968 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage2d.rgb10a2ui.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_002968 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002968 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002969
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002969 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage2d.rgb10a2ui.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_002969 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002969 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002970
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002970 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage2d.rgb10a2ui.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_002970 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002970 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16uiTestCase.cpp
0 → 100644
浏览文件 @
3195b0a5
/*
* 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_003055
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003055 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16ui.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_003055 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003055 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003056
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003056 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16ui.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_003056 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003056 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003057
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003057 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16ui.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_003057 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003057 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003058
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003058 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16ui.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_003058 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003058 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003059
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003059 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16ui.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_003059 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003059 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003060
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003060 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r16ui.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_003060 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003060 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003061
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003061 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16ui.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_003061 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003061 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003062
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003062 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r16ui.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_003062 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003062 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003063
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003063 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r16ui.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_003063 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003063 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003064
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003064 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r16ui.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_003064 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003064 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32uiTestCase.cpp
0 → 100644
浏览文件 @
3195b0a5
/*
* 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_003075
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003075 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32ui.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_003075 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003075 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003076
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003076 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32ui.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_003076 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003076 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003077
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003077 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32ui.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_003077 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003077 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003078
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003078 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32ui.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_003078 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003078 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003079
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003079 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32ui.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_003079 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003079 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003080
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003080 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r32ui.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_003080 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003080 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003081
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003081 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32ui.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_003081 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003081 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003082
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003082 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.r32ui.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_003082 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003082 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003083
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003083 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r32ui.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_003083 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003083 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003084
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003084 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r32ui.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_003084 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003084 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16fTestCase.cpp
0 → 100644
浏览文件 @
3195b0a5
/*
* 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_003115
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003115 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg16f.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_003115 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003115 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003116
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003116 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg16f.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_003116 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003116 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003117
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003117 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg16f.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_003117 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003117 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003118
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003118 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg16f.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_003118 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003118 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003119
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003119 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg16f.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_003119 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003119 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003120
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003120 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rg16f.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_003120 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003120 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003121
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003121 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg16f.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_003121 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003121 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003122
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003122 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg16f.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_003122 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003122 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003123
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003123 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rg16f.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_003123 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003123 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003124
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003124 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rg16f.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_003124 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003124 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8iTestCase.cpp
0 → 100644
浏览文件 @
3195b0a5
/*
* 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_003145
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003145 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rg8i.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_003145 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003145 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003146
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003146 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rg8i.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_003146 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003146 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003147
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003147 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8i.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_003147 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003147 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003148
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003148 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rg8i.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_003148 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003148 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003149
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003149 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8i.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_003149 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003149 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003150
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003150 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8i.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_003150 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003150 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003151
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003151 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rg8i.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_003151 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003151 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003152
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003152 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8i.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_003152 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003152 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003153
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003153 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8i.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_003153 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003153 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003154
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003154 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8i.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_003154 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003154 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8uiTestCase.cpp
0 → 100644
浏览文件 @
3195b0a5
/*
* 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_003135
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003135 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8ui.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_003135 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003135 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003136
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003136 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8ui.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_003136 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003136 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003137
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003137 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8ui.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_003137 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003137 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003138
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003138 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8ui.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_003138 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003138 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003139
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003139 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8ui.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_003139 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003139 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003140
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003140 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rg8ui.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_003140 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003140 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003141
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003141 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8ui.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_003141 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003141 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003142
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003142 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rg8ui.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_003142 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003142 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003143
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003143 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rg8ui.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_003143 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003143 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003144
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003144 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rg8ui.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_003144 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003144 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8TestCase.cpp
0 → 100644
浏览文件 @
3195b0a5
/*
* 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_003195
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003195 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rgb8.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_003195 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003195 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003196
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003196 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rgb8.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_003196 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003196 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003197
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003197 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb8.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_003197 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003197 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003198
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003198 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rgb8.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_003198 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003198 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003199
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003199 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb8.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_003199 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003199 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003200
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003200 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb8.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_003200 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003200 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003201
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003201 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage3d.rgb8.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_003201 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003201 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003202
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003202 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb8.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_003202 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003202 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003203
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003203 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb8.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_003203 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003203 end"
;
}
static
HWTEST_F
(
ActsKhrgles310004TestSuite
,
TestCase_003204
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003204 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb8.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_003204 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003204 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录