Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
152770c0
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看板
提交
152770c0
编写于
7月 05, 2022
作者:
W
wangshi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add depq2 testcase
Signed-off-by:
N
wangshi
<
wangshi@kaihongdigi.com
>
上级
17d7432a
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
1141 addition
and
0 deletion
+1141
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_program_stateTestCase.cpp
.../functional/Deqpgles2shader_api_program_stateTestCase.cpp
+346
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_fragdataTestCase.cpp
...eqpgles2/functional/Deqpgles2shaders_fragdataTestCase.cpp
+211
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copyteximage2dTestCase.cpp
...l/Deqpgles2specification_basic_copyteximage2dTestCase.cpp
+292
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copytexsubimage2dTestCase.cpp
...eqpgles2specification_basic_copytexsubimage2dTestCase.cpp
+292
-0
未找到文件。
graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_program_stateTestCase.cpp
0 → 100644
浏览文件 @
152770c0
/*
* 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 "../ActsDeqpgles20014TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013616
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013616 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api."
"program_state.detach_shader_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013616 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013616 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013617
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013617 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api.p"
"rogram_state.detach_shader_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013617 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013617 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013618
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013618 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api.p"
"rogram_state.reattach_shader_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013618 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013618 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013619
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013619 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api.pr"
"ogram_state.reattach_shader_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013619 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013619 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013620
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013620 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api."
"program_state.delete_shader_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013620 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013620 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013621
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013621 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api.p"
"rogram_state.delete_shader_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013621 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013621 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013622
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013622 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api.p"
"rogram_state.replace_shader_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013622 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013622 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013623
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013623 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api.pr"
"ogram_state.replace_shader_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013623 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013623 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013624
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013624 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api.pr"
"ogram_state.recompile_shader_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013624 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013624 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013625
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013625 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api.pro"
"gram_state.recompile_shader_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013625 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013625 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013626
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013626 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api.p"
"rogram_state.replace_source_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013626 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013626 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20014TestSuite
,
TestCase_013627
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013627 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader_api.pr"
"ogram_state.replace_source_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20014TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20014TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20014TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_013627 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_013627 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_fragdataTestCase.cpp
0 → 100644
浏览文件 @
152770c0
/*
* 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 "../ActsDeqpgles20008TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20008TestSuite
,
TestCase_007859
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007859 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shader"
"s.fragdata.valid_static_index"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20008TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007859 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_007859 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20008TestSuite
,
TestCase_007860
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007860 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders"
".fragdata.valid_uniform_index"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20008TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007860 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_007860 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20008TestSuite
,
TestCase_007861
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007861 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders"
".fragdata.valid_dynamic_index"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20008TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007861 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_007861 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20008TestSuite
,
TestCase_007862
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007862 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders"
".fragdata.invalid_assign_to_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20008TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007862 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_007862 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20008TestSuite
,
TestCase_007863
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007863 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders.fragdat"
"a.write_fragcolor_and_fragdata_simple"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20008TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007863 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_007863 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20008TestSuite
,
TestCase_007864
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007864 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders.fragdata"
".write_fragcolor_and_fragdata_static_if"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20008TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007864 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_007864 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20008TestSuite
,
TestCase_007865
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007865 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders.fragdata."
"write_fragcolor_and_fragdata_unused_func"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20008TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20008TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20008TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_007865 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_007865 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copyteximage2dTestCase.cpp
0 → 100644
浏览文件 @
152770c0
/*
* 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 "../ActsDeqpgles20011TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010851
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010851 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specif"
"ication.basic_copyteximage2d.2d_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010851 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010851 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010852
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010852 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specific"
"ation.basic_copyteximage2d.2d_luminance"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010852 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010852 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010853
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010853 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specificati"
"on.basic_copyteximage2d.2d_luminance_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010853 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010853 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010854
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010854 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.speci"
"fication.basic_copyteximage2d.2d_rgb"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010854 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010854 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010855
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010855 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specif"
"ication.basic_copyteximage2d.2d_rgba"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010855 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010855 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010856
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010856 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specifi"
"cation.basic_copyteximage2d.cube_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010856 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010856 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010857
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010857 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specifica"
"tion.basic_copyteximage2d.cube_luminance"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010857 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010857 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010858
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010858 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specificatio"
"n.basic_copyteximage2d.cube_luminance_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010858 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010858 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010859
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010859 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specif"
"ication.basic_copyteximage2d.cube_rgb"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010859 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010859 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010860
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010860 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specifi"
"cation.basic_copyteximage2d.cube_rgba"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010860 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010860 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copytexsubimage2dTestCase.cpp
0 → 100644
浏览文件 @
152770c0
/*
* 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 "../ActsDeqpgles20011TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010861
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010861 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specific"
"ation.basic_copytexsubimage2d.2d_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010861 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010861 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010862
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010862 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specificat"
"ion.basic_copytexsubimage2d.2d_luminance"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010862 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010862 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010863
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010863 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specification"
".basic_copytexsubimage2d.2d_luminance_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010863 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010863 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010864
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010864 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specifi"
"cation.basic_copytexsubimage2d.2d_rgb"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010864 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010864 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010865
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010865 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specifi"
"cation.basic_copytexsubimage2d.2d_rgba"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010865 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010865 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010866
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010866 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specifica"
"tion.basic_copytexsubimage2d.cube_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010866 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010866 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010867
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010867 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specificati"
"on.basic_copytexsubimage2d.cube_luminance"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010867 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010867 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010868
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010868 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specification."
"basic_copytexsubimage2d.cube_luminance_alpha"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010868 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010868 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010869
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010869 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specific"
"ation.basic_copytexsubimage2d.cube_rgb"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010869 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010869 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20011TestSuite
,
TestCase_010870
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010870 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.texture.specific"
"ation.basic_copytexsubimage2d.cube_rgba"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20011TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20011TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20011TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_010870 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_010870 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录