Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
476bd397
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看板
提交
476bd397
编写于
6月 27, 2022
作者:
M
mankangmin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add khrgles2cases
Signed-off-by:
N
mankangmin
<
mankangmin@kaihongdigi.com
>
上级
02717623
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
1664 addition
and
0 deletion
+1664
-0
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_sizesTestCase.cpp
...c/khrgles2/texture_3d/Khrgles2filtering_sizesTestCase.cpp
+832
-0
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp
...ture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp
+832
-0
未找到文件。
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_sizesTestCase.cpp
0 → 100644
浏览文件 @
476bd397
/*
* 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 "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000021
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000021 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filt"
"ering.sizes.4x8x8_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000021 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000021 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000022
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000022 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.fil"
"tering.sizes.4x8x8_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000022 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000022 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000023
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000023 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.s"
"izes.4x8x8_nearest_mipmap_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000023 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000023 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000024
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000024 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.s"
"izes.4x8x8_linear_mipmap_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000024 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000024 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000025
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000025 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.s"
"izes.4x8x8_nearest_mipmap_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000025 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000025 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000026
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000026 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering."
"sizes.4x8x8_linear_mipmap_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000026 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000026 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000027
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000027 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filte"
"ring.sizes.32x64x16_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000027 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000027 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000028
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000028 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filte"
"ring.sizes.32x64x16_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000028 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000028 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000029
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000029 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.siz"
"es.32x64x16_nearest_mipmap_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000029 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000029 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000030
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000030 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.si"
"zes.32x64x16_linear_mipmap_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000030 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000030 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000031
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000031 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.si"
"zes.32x64x16_nearest_mipmap_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000031 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000031 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000032
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000032 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.si"
"zes.32x64x16_linear_mipmap_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000032 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000032 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000033
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000033 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filter"
"ing.sizes.128x32x64_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000033 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000033 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000034
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000034 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filte"
"ring.sizes.128x32x64_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000034 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000034 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000035
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000035 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.siz"
"es.128x32x64_nearest_mipmap_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000035 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000035 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000036
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000036 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.siz"
"es.128x32x64_linear_mipmap_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000036 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000036 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000037
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000037 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.siz"
"es.128x32x64_nearest_mipmap_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000037 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000037 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000038
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000038 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.si"
"zes.128x32x64_linear_mipmap_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000038 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000038 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000039
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000039 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filt"
"ering.sizes.3x7x5_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000039 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000039 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000040
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000040 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.fil"
"tering.sizes.3x7x5_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000040 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000040 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000041
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000041 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.s"
"izes.3x7x5_nearest_mipmap_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000041 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000041 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000042
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000042 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.s"
"izes.3x7x5_linear_mipmap_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000042 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000042 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000043
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000043 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.s"
"izes.3x7x5_nearest_mipmap_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000043 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000043 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000044
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000044 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering."
"sizes.3x7x5_linear_mipmap_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000044 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000044 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000045
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000045 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filte"
"ring.sizes.63x63x63_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000045 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000045 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000046
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000046 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filte"
"ring.sizes.63x63x63_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000046 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000046 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000047
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000047 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.siz"
"es.63x63x63_nearest_mipmap_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000047 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000047 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000048
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000048 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.si"
"zes.63x63x63_linear_mipmap_nearest"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000048 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000048 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000049
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000049 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.si"
"zes.63x63x63_nearest_mipmap_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000049 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000049 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000050
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000050 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.filtering.si"
"zes.63x63x63_linear_mipmap_linear"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000050 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000050 end"
;
}
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp
0 → 100644
浏览文件 @
476bd397
/*
* 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 "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000382
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000382 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compres"
"sed_texture.rgba_astc_4x4_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000382 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000382 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000383
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000383 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compres"
"sed_texture.rgba_astc_5x4_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000383 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000383 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000384
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000384 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compres"
"sed_texture.rgba_astc_5x5_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000384 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000384 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000385
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000385 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compres"
"sed_texture.rgba_astc_6x5_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000385 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000385 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000386
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000386 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compres"
"sed_texture.rgba_astc_6x6_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000386 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000386 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000387
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000387 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compres"
"sed_texture.rgba_astc_8x5_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000387 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000387 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000388
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000388 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compres"
"sed_texture.rgba_astc_8x6_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000388 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000388 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000389
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000389 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compres"
"sed_texture.rgba_astc_8x8_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000389 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000389 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000390
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000390 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compress"
"ed_texture.rgba_astc_10x5_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000390 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000390 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000391
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000391 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compress"
"ed_texture.rgba_astc_10x6_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000391 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000391 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000392
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000392 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compress"
"ed_texture.rgba_astc_10x8_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000392 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000392 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000393
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000393 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compress"
"ed_texture.rgba_astc_10x10_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000393 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000393 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000394
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000394 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compress"
"ed_texture.rgba_astc_12x10_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000394 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000394 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000395
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000395 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compress"
"ed_texture.rgba_astc_12x12_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000395 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000395 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000396
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000396 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_"
"texture.srgb8_alpha8_astc_4x4_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000396 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000396 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000397
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000397 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_"
"texture.srgb8_alpha8_astc_5x4_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000397 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000397 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000398
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000398 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_"
"texture.srgb8_alpha8_astc_5x5_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000398 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000398 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000399
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000399 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_"
"texture.srgb8_alpha8_astc_6x5_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000399 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000399 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000400
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000400 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_"
"texture.srgb8_alpha8_astc_6x6_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000400 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000400 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000401
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000401 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_"
"texture.srgb8_alpha8_astc_8x5_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000401 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000401 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000402
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000402 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_"
"texture.srgb8_alpha8_astc_8x6_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000402 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000402 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000403
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000403 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_"
"texture.srgb8_alpha8_astc_8x8_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000403 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000403 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000404
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000404 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_"
"texture.sgb8_alpha8_astc_10x5_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000404 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000404 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000405
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000405 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_t"
"exture.srgb8_alpha8_astc_10x6_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000405 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000405 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000406
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000406 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_t"
"exture.srgb8_alpha8_astc_10x8_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000406 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000406 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000407
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000407 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_t"
"exture.srgb8_alpha8_astc_10x10_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000407 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000407 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000408
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000408 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_t"
"exture.srgb8_alpha8_astc_12x10_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000408 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000408 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000409
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000409 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_t"
"exture.srgb8_alpha8_astc_12x12_khr"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000409 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000409 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000410
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000410 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_te"
"xture.negative_compressed_tex_image"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000410 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000410 end"
;
}
static
HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000411
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000411 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES2.texture_3d.compressed_text"
"ure.negative_compressed_tex_sub_image"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles20001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles20001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles20001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles20001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles20001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000411 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000411 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录