Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
b1c114a2
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看板
提交
b1c114a2
编写于
6月 27, 2022
作者:
Z
zhuyunwu
提交者:
huanggaolin
6月 27, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add test
Signed-off-by:
N
zhuyunwu
<
zhuyunwu@kaihongdigi.com
>
上级
7e66a03b
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
1985 addition
and
0 deletion
+1985
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_8TestCase.cpp
...l/src/khrgles31/core/Khrgles31rgba8_samples_8TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_0TestCase.cpp
.../src/khrgles31/core/Khrgles31rgba8i_samples_0TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_1TestCase.cpp
.../src/khrgles31/core/Khrgles31rgba8i_samples_1TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_2TestCase.cpp
.../src/khrgles31/core/Khrgles31rgba8i_samples_2TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_4TestCase.cpp
.../src/khrgles31/core/Khrgles31rgba8i_samples_4TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_8TestCase.cpp
.../src/khrgles31/core/Khrgles31rgba8i_samples_8TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_0TestCase.cpp
...src/khrgles31/core/Khrgles31rgba8ui_samples_0TestCase.cpp
+265
-0
graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_windingTestCase.cpp
...s31/core/Khrgles31tessellation_shader_windingTestCase.cpp
+130
-0
未找到文件。
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_8TestCase.cpp
0 → 100644
浏览文件 @
b1c114a2
/*
* 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_000174
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000174 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8.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_000174 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000174 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000175
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000175 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8.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_000175 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000175 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000176
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000176 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8.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_000176 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000176 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000177
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000177 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8.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_000177 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000177 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000178
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000178 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8.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_000178 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000178 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000179
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000179 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8.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_000179 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000179 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000180
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000180 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8.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_000180 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000180 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000181
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000181 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8.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_000181 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000181 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000182
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000182 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8.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_000182 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000182 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_0TestCase.cpp
0 → 100644
浏览文件 @
b1c114a2
/*
* 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_000183
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000183 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba8i.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_000183 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000183 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000184
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000184 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000184 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000184 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000185
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000185 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000185 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000185 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000186
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000186 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000186 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000186 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000187
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000187 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000187 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000187 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000188
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000188 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000188 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000188 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000189
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000189 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000189 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000189 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000190
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000190 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000190 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000190 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000191
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000191 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000191 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000191 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_1TestCase.cpp
0 → 100644
浏览文件 @
b1c114a2
/*
* 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_000192
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000192 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba8i.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_000192 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000192 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000193
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000193 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000193 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000193 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000194
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000194 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000194 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000194 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000195
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000195 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000195 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000195 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000196
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000196 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000196 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000196 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000197
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000197 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000197 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000197 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000198
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000198 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000198 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000198 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000199
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000199 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000199 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000199 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000200
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000200 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000200 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000200 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_2TestCase.cpp
0 → 100644
浏览文件 @
b1c114a2
/*
* 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_000201
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000201 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba8i.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_000201 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000201 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000202
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000202 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000202 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000202 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000203
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000203 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000203 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000203 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000204
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000204 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000204 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000204 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000205
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000205 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000205 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000205 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000206
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000206 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000206 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000206 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000207
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000207 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000207 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000207 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000208
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000208 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000208 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000208 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000209
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000209 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000209 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000209 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_4TestCase.cpp
0 → 100644
浏览文件 @
b1c114a2
/*
* 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_000210
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000210 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba8i.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_000210 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000210 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000211
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000211 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000211 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000211 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000212
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000212 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000212 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000212 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000213
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000213 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000213 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000213 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000214
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000214 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000214 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000214 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000215
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000215 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000215 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000215 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000216
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000216 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000216 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000216 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000217
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000217 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000217 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000217 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000218
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000218 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000218 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000218 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_8TestCase.cpp
0 → 100644
浏览文件 @
b1c114a2
/*
* 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_000219
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000219 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba8i.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_000219 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000219 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000220
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000220 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000220 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000220 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000221
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000221 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000221 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000221 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000222
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000222 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000222 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000222 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000223
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000223 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000223 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000223 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000224
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000224 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000224 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000224 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000225
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000225 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000225 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000225 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000226
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000226 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000226 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000226 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000227
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000227 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.mask.rgba8i.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_000227 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000227 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_0TestCase.cpp
0 → 100644
浏览文件 @
b1c114a2
/*
* 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_000228
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000228 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variables"
".mask.rgba8ui.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_000228 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000228 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000229
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000229 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.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_000229 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000229 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000230
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000230 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.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_000230 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000230 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000231
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000231 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.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_000231 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000231 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000232
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000232 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.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_000232 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000232 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000233
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000233 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.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_000233 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000233 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000234
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000234 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.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_000234 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000234 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000235
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000235 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.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_000235 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000235 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000236
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000236 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.sample_variable"
"s.mask.rgba8ui.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_000236 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000236 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_windingTestCase.cpp
0 → 100644
浏览文件 @
b1c114a2
/*
* 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_002618
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002618 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.tessellation"
"_shader.winding.triangles_ccw"
,
"--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_002618 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002618 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002619
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002619 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.tessellation"
"_shader.winding.triangles_cw"
,
"--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_002619 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002619 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002620
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002620 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.tessellati"
"on_shader.winding.quads_ccw"
,
"--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_002620 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002620 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002621
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002621 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.tessellati"
"on_shader.winding.quads_cw"
,
"--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_002621 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002621 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录