Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
daaf1ebd
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看板
提交
daaf1ebd
编写于
7月 05, 2022
作者:
W
wangshi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add depq2 testcase
Signed-off-by:
N
wangshi
<
wangshi@kaihongdigi.com
>
上级
a70456c8
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
1482 addition
and
0 deletion
+1482
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2declarations_invalid_declarationsTestCase.cpp
...al/Deqpgles2declarations_invalid_declarationsTestCase.cpp
+184
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_floatTestCase.cpp
...nctional/Deqpgles2default_vertex_attrib_floatTestCase.cpp
+238
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat4TestCase.cpp
...unctional/Deqpgles2default_vertex_attrib_mat4TestCase.cpp
+238
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec4TestCase.cpp
...unctional/Deqpgles2default_vertex_attrib_vec4TestCase.cpp
+238
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_disabledTestCase.cpp
...deqpgles2/functional/Deqpgles2dither_disabledTestCase.cpp
+292
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_enabledTestCase.cpp
.../deqpgles2/functional/Deqpgles2dither_enabledTestCase.cpp
+292
-0
未找到文件。
graphic/vkgl/src/deqpgles2/functional/Deqpgles2declarations_invalid_declarationsTestCase.cpp
0 → 100644
浏览文件 @
daaf1ebd
/*
* 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 "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20002TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20002TestSuite
,
TestCase_001342
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001342 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations.i"
"nvalid_declarations.attribute_in_vertex_main"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001342 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001342 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20002TestSuite
,
TestCase_001343
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001343 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations"
".invalid_declarations.attribute_in_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001343 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001343 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20002TestSuite
,
TestCase_001344
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001344 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations."
"invalid_declarations.uniform_in_vertex_main"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001344 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001344 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20002TestSuite
,
TestCase_001345
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001345 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations.i"
"nvalid_declarations.uniform_in_fragment_main"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001345 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001345 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20002TestSuite
,
TestCase_001346
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001346 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations."
"invalid_declarations.varying_in_vertex_main"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001346 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001346 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20002TestSuite
,
TestCase_001347
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001347 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations.i"
"nvalid_declarations.varying_in_fragment_main"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001347 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001347 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_floatTestCase.cpp
0 → 100644
浏览文件 @
daaf1ebd
/*
* 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 "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20017TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016417
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016417 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_1f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016417 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016417 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016418
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016418 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_2f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016418 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016418 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016419
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016419 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_3f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016419 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016419 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016420
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016420 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_4f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016420 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016420 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016421
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016421 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_1fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016421 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016421 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016422
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016422 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_2fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016422 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016422 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016423
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016423 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_3fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016423 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016423 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016424
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016424 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_4fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016424 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016424 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat4TestCase.cpp
0 → 100644
浏览文件 @
daaf1ebd
/*
* 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 "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20017TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016449
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016449 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.mat4.vertex_attrib_1f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016449 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016449 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016450
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016450 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.mat4.vertex_attrib_2f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016450 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016450 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016451
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016451 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.mat4.vertex_attrib_3f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016451 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016451 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016452
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016452 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.mat4.vertex_attrib_4f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016452 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016452 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016453
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016453 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.mat4.vertex_attrib_1fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016453 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016453 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016454
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016454 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.mat4.vertex_attrib_2fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016454 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016454 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016455
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016455 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.mat4.vertex_attrib_3fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016455 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016455 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016456
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016456 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.mat4.vertex_attrib_4fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016456 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016456 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec4TestCase.cpp
0 → 100644
浏览文件 @
daaf1ebd
/*
* 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 "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20017TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016433
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016433 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.vec4.vertex_attrib_1f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016433 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016433 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016434
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016434 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.vec4.vertex_attrib_2f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016434 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016434 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016435
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016435 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.vec4.vertex_attrib_3f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016435 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016435 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016436
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016436 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.vec4.vertex_attrib_4f"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016436 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016436 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016437
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016437 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.vec4.vertex_attrib_1fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016437 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016437 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016438
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016438 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.vec4.vertex_attrib_2fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016438 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016438 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016439
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016439 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.vec4.vertex_attrib_3fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016439 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016439 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016440
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016440 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.vec4.vertex_attrib_4fv"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20017TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20017TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20017TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016440 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016440 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_disabledTestCase.cpp
0 → 100644
浏览文件 @
daaf1ebd
/*
* 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 "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20016TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015285
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015285 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dith"
"er.disabled.gradient_white"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015285 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015285 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015286
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015286 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.disabled.gradient_red"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015286 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015286 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015287
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015287 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dith"
"er.disabled.gradient_green"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015287 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015287 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015288
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015288 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.disabled.gradient_blue"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015288 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015288 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015289
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015289 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dith"
"er.disabled.gradient_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015289 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015289 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015290
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015290 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dither."
"disabled.unicolored_quad_white"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015290 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015290 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015291
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015291 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dither"
".disabled.unicolored_quad_red"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015291 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015291 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015292
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015292 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dither."
"disabled.unicolored_quad_green"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015292 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015292 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015293
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015293 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dither."
"disabled.unicolored_quad_blue"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015293 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015293 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015294
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015294 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dither."
"disabled.unicolored_quad_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015294 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015294 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_enabledTestCase.cpp
0 → 100644
浏览文件 @
daaf1ebd
/*
* 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 "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20016TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015295
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015295 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.enabled.gradient_white"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015295 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015295 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015296
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015296 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.di"
"ther.enabled.gradient_red"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015296 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015296 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015297
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015297 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.enabled.gradient_green"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015297 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015297 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015298
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015298 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.enabled.gradient_blue"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015298 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015298 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015299
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015299 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.enabled.gradient_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015299 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015299 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015300
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015300 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dither."
"enabled.unicolored_quad_white"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015300 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015300 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015301
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015301 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dither"
".enabled.unicolored_quad_red"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015301 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015301 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015302
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015302 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dither."
"enabled.unicolored_quad_green"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015302 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015302 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015303
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015303 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dither"
".enabled.unicolored_quad_blue"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015303 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015303 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20016TestSuite
,
TestCase_015304
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015304 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.dither."
"enabled.unicolored_quad_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20016TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20016TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20016TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_015304 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_015304 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录