Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
06513755
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看板
提交
06513755
编写于
6月 27, 2022
作者:
J
jiangyuan
提交者:
dengrong
6月 27, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add testcase
Signed-off-by:
N
jiangyuan
<
jiangyuan@kaihongdigi.com
>
上级
ec07d489
变更
8
展开全部
隐藏空白更改
内联
并排
Showing
8 changed file
with
2039 addition
and
0 deletion
+2039
-0
graphic/vkgl/src/khrgles32/core/Khrgles32core_copy_imageTestCase.cpp
...l/src/khrgles32/core/Khrgles32core_copy_imageTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles32/core/Khrgles32core_draw_buffers_indexedTestCase.cpp
...les32/core/Khrgles32core_draw_buffers_indexedTestCase.cpp
+184
-0
graphic/vkgl/src/khrgles32/core/Khrgles32core_framebuffer_completenessTestCase.cpp
...2/core/Khrgles32core_framebuffer_completenessTestCase.cpp
+508
-0
graphic/vkgl/src/khrgles32/core/Khrgles32core_gpu_shader5TestCase.cpp
.../src/khrgles32/core/Khrgles32core_gpu_shader5TestCase.cpp
+589
-0
graphic/vkgl/src/khrgles32/core/Khrgles32core_nearest_edgeTestCase.cpp
...src/khrgles32/core/Khrgles32core_nearest_edgeTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles32/core/Khrgles32core_separable_programs_tfTestCase.cpp
...es32/core/Khrgles32core_separable_programs_tfTestCase.cpp
+76
-0
graphic/vkgl/src/khrgles32/core/Khrgles32core_shader_macrosTestCase.cpp
...rc/khrgles32/core/Khrgles32core_shader_macrosTestCase.cpp
+157
-0
graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_compatibilityTestCase.cpp
...es32/core/Khrgles32core_texture_compatibilityTestCase.cpp
+373
-0
未找到文件。
graphic/vkgl/src/khrgles32/core/Khrgles32core_copy_imageTestCase.cpp
0 → 100644
浏览文件 @
06513755
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320002TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001028
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001028 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.cop"
"y_image.r32i_texture"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001028 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001028 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001029
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001029 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.copy"
"_image.r32ui_texture"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001029 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001029 end"
;
}
graphic/vkgl/src/khrgles32/core/Khrgles32core_draw_buffers_indexedTestCase.cpp
0 → 100644
浏览文件 @
06513755
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000319
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000319 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.draw_b"
"uffers_indexed.coverage"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000319 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000319 end"
;
}
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000320
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000320 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.draw_buff"
"ers_indexed.default_state"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000320 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000320 end"
;
}
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000321
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000321 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.draw_b"
"uffers_indexed.set_get"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000321 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000321 end"
;
}
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000322
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000322 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.draw_buf"
"fers_indexed.color_masks"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000322 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000322 end"
;
}
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000323
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000323 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.draw_b"
"uffers_indexed.blending"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000323 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000323 end"
;
}
static
HWTEST_F
(
ActsKhrgles320001TestSuite
,
TestCase_000324
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000324 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.draw_b"
"uffers_indexed.negative"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000324 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000324 end"
;
}
graphic/vkgl/src/khrgles32/core/Khrgles32core_framebuffer_completenessTestCase.cpp
0 → 100644
浏览文件 @
06513755
此差异已折叠。
点击以展开。
graphic/vkgl/src/khrgles32/core/Khrgles32core_gpu_shader5TestCase.cpp
0 → 100644
浏览文件 @
06513755
此差异已折叠。
点击以展开。
graphic/vkgl/src/khrgles32/core/Khrgles32core_nearest_edgeTestCase.cpp
0 → 100644
浏览文件 @
06513755
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320002TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001147
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001147 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.near"
"est_edge.offset_left"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001147 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001147 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001148
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001148 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.near"
"est_edge.offset_right"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001148 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001148 end"
;
}
graphic/vkgl/src/khrgles32/core/Khrgles32core_separable_programs_tfTestCase.cpp
0 → 100644
浏览文件 @
06513755
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320002TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001026
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001026 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.separable_pr"
"ograms_tf.tessellation_active"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001026 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001026 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001027
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001027 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.separable_"
"programs_tf.geometry_active"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001027 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001027 end"
;
}
graphic/vkgl/src/khrgles32/core/Khrgles32core_shader_macrosTestCase.cpp
0 → 100644
浏览文件 @
06513755
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320002TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001021
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001021 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.shader_macros."
"fragment_precision_high_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001021 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001021 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001022
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001022 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.shader_macros.f"
"ragment_precision_high_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001022 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001022 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001023
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001023 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.shader_macros.f"
"ragment_precision_high_geometry"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001023 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001023 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001024
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001024 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.shader_macros.fra"
"gment_precision_high_tess_control"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001024 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001024 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001025
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001025 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.shader_macros.f"
"ragment_precision_high_tess_eval"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001025 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001025 end"
;
}
graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_compatibilityTestCase.cpp
0 → 100644
浏览文件 @
06513755
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320002TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001167
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001167 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibility."
"texsubimage_format_rgba4_unsigned_byte"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001167 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001167 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001168
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001168 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibility.t"
"exsubimage_format_rgb5_a1_unsigned_byte"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001168 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001168 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001169
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001169 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibility.tex"
"subimage_format_rgb5_a1_unsigned_int_10_a2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001169 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001169 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001170
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001170 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibi"
"lity.texsubimage_format_r16f_float"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001170 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001170 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001171
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001171 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibil"
"ity.texsubimage_format_rg16f_float"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001171 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001171 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001172
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001172 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibil"
"ity.texsubimage_format_rgb16f_float"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001172 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001172 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001173
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001173 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibili"
"ty.texsubimage_format_rgba16f_float"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001173 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001173 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001174
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001174 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibility.tex"
"subimage_format_r11f_g11f_b10f_half_float"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001174 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001174 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001175
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001175 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibility."
"texsubimage_format_r11f_g11f_b10f_float"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001175 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001175 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001176
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001176 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibility"
".texsubimage_format_rgb9_e5_half_float"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001176 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001176 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001177
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001177 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibili"
"ty.texsubimage_format_rgb9_e5_float"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001177 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001177 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001178
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001178 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibility."
"texsubimage_format_rgb565_unsigned_byte"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001178 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001178 end"
;
}
static
HWTEST_F
(
ActsKhrgles320002TestSuite
,
TestCase_001179
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001179 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES32.core.texture_compatibility.t"
"exsubimage_format_depth_component16_uint"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles320002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles320002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles320002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles320002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles320002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001179 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001179 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录