Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
7e66a03b
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看板
提交
7e66a03b
编写于
6月 27, 2022
作者:
H
huanggaolin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add testcase
Signed-off-by:
N
huanggaolin
<
huanggaolin@kaihongdigi.com
>
上级
dbd87d49
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
1985 addition
and
0 deletion
+1985
-0
graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_rendering_boundary_conditionTestCase.cpp
...y_shader_layered_rendering_boundary_conditionTestCase.cpp
+130
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_0TestCase.cpp
...src/khrgles31/core/Khrgles31rgba32f_samples_0TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_1TestCase.cpp
...src/khrgles31/core/Khrgles31rgba32f_samples_1TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_2TestCase.cpp
...src/khrgles31/core/Khrgles31rgba32f_samples_2TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_1TestCase.cpp
...src/khrgles31/core/Khrgles31rgba8ui_samples_1TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_2TestCase.cpp
...src/khrgles31/core/Khrgles31rgba8ui_samples_2TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_4TestCase.cpp
...src/khrgles31/core/Khrgles31rgba8ui_samples_4TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_8TestCase.cpp
...src/khrgles31/core/Khrgles31rgba8ui_samples_8TestCase.cpp
+265
-0
未找到文件。
graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_rendering_boundary_conditionTestCase.cpp
0 → 100644
浏览文件 @
7e66a03b
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002478
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002478 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_shader.layered_rendering_boundary_co"
"ndition.layered_rendering_boundary_condition_various_textures"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002478 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002478 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002479
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002479 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_shader.layered_rendering_bound"
"ary_condition.layered_rendering_boundary_condition_no_gs"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002479 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002479 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002480
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002480 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_shader.layered_rendering_boundary_co"
"ndition.layered_rendering_boundary_condition_no_default_layer"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002480 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002480 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002481
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002481 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_shader.layered_rendering_boundary_c"
"ondition.layered_rendering_boundary_condition_no_layered_fbo"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002481 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002481 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_0TestCase.cpp
0 → 100644
浏览文件 @
7e66a03b
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000273
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000273 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba32f.samples_0.mask_zero"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000273 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000273 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000274
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000274 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_0.mask_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000274 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000274 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000275
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000275 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_0.mask_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000275 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000275 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000276
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000276 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_0.mask_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000276 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000276 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000277
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000277 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_0.mask_3"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000277 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000277 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000278
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000278 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_0.mask_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000278 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000278 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000279
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000279 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_0.mask_5"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000279 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000279 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000280
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000280 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_0.mask_6"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000280 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000280 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000281
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000281 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_0.mask_7"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000281 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000281 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_1TestCase.cpp
0 → 100644
浏览文件 @
7e66a03b
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000282
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000282 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba32f.samples_1.mask_zero"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000282 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000282 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000283
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000283 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_1.mask_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000283 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000283 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000284
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000284 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_1.mask_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000284 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000284 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000285
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000285 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_1.mask_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000285 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000285 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000286
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000286 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_1.mask_3"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000286 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000286 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000287
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000287 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_1.mask_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000287 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000287 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000288
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000288 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_1.mask_5"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000288 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000288 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000289
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000289 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_1.mask_6"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000289 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000289 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000290
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000290 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_1.mask_7"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000290 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000290 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_2TestCase.cpp
0 → 100644
浏览文件 @
7e66a03b
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000291
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000291 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba32f.samples_2.mask_zero"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000291 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000291 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000292
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000292 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_2.mask_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000292 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000292 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000293
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000293 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_2.mask_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000293 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000293 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000294
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000294 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_2.mask_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000294 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000294 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000295
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000295 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_2.mask_3"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000295 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000295 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000296
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000296 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_2.mask_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000296 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000296 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000297
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000297 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_2.mask_5"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000297 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000297 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000298
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000298 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_2.mask_6"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000298 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000298 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000299
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000299 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba32f.samples_2.mask_7"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000299 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000299 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_1TestCase.cpp
0 → 100644
浏览文件 @
7e66a03b
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000237
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000237 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba8ui.samples_1.mask_zero"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000237 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000237 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000238
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000238 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_1.mask_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000238 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000238 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000239
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000239 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_1.mask_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000239 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000239 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000240
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000240 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_1.mask_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000240 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000240 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000241
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000241 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_1.mask_3"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000241 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000241 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000242
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000242 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_1.mask_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000242 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000242 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000243
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000243 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_1.mask_5"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000243 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000243 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000244
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000244 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_1.mask_6"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000244 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000244 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000245
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000245 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_1.mask_7"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000245 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000245 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_2TestCase.cpp
0 → 100644
浏览文件 @
7e66a03b
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000246
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000246 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba8ui.samples_2.mask_zero"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000246 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000246 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000247
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000247 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_2.mask_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000247 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000247 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000248
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000248 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_2.mask_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000248 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000248 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000249
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000249 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_2.mask_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000249 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000249 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000250
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000250 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_2.mask_3"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000250 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000250 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000251
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000251 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_2.mask_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000251 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000251 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000252
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000252 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_2.mask_5"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000252 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000252 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000253
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000253 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_2.mask_6"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000253 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000253 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000254
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000254 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_2.mask_7"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000254 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000254 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_4TestCase.cpp
0 → 100644
浏览文件 @
7e66a03b
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000255
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000255 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba8ui.samples_4.mask_zero"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000255 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000255 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000256
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000256 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_4.mask_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000256 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000256 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000257
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000257 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_4.mask_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000257 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000257 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000258
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000258 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_4.mask_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000258 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000258 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000259
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000259 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_4.mask_3"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000259 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000259 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000260
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000260 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_4.mask_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000260 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000260 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000261
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000261 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_4.mask_5"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000261 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000261 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000262
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000262 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_4.mask_6"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000262 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000262 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000263
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000263 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_4.mask_7"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000263 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000263 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_8TestCase.cpp
0 → 100644
浏览文件 @
7e66a03b
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000264
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000264 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba8ui.samples_8.mask_zero"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000264 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000264 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000265
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000265 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_8.mask_0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000265 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000265 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000266
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000266 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_8.mask_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000266 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000266 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000267
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000267 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_8.mask_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000267 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000267 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000268
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000268 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_8.mask_3"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000268 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000268 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000269
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000269 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_8.mask_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000269 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000269 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000270
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000270 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_8.mask_5"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000270 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000270 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000271
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000271 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_8.mask_6"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000271 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000271 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000272
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000272 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.samples_8.mask_7"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000272 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000272 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录