Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
90f53e3a
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看板
提交
90f53e3a
编写于
7月 05, 2022
作者:
W
wangshi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add depq2 testcase
Signed-off-by:
N
wangshi
<
wangshi@kaihongdigi.com
>
上级
c0fef8d7
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
1366 addition
and
0 deletion
+1366
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_bufferTestCase.cpp
.../deqpgles2/functional/Deqpgles2indices_bufferTestCase.cpp
+76
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_unaligned_user_ptrTestCase.cpp
...unctional/Deqpgles2indices_unaligned_user_ptrTestCase.cpp
+49
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_user_ptrTestCase.cpp
...eqpgles2/functional/Deqpgles2indices_user_ptrTestCase.cpp
+76
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basicTestCase.cpp
...functional/Deqpgles2info_query_multiple_basicTestCase.cpp
+103
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basic_arrayTestCase.cpp
...onal/Deqpgles2info_query_multiple_basic_arrayTestCase.cpp
+103
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_nested_structs_arraysTestCase.cpp
...les2info_query_multiple_nested_structs_arraysTestCase.cpp
+103
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bindTestCase.cpp
...c/deqpgles2/functional/Deqpgles2lifetime_bindTestCase.cpp
+130
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bind_no_genTestCase.cpp
...les2/functional/Deqpgles2lifetime_bind_no_genTestCase.cpp
+130
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_deleteTestCase.cpp
...deqpgles2/functional/Deqpgles2lifetime_deleteTestCase.cpp
+184
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_boundTestCase.cpp
...es2/functional/Deqpgles2lifetime_delete_boundTestCase.cpp
+130
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_usedTestCase.cpp
...les2/functional/Deqpgles2lifetime_delete_usedTestCase.cpp
+49
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_genTestCase.cpp
...rc/deqpgles2/functional/Deqpgles2lifetime_genTestCase.cpp
+184
-0
graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_customTestCase.cpp
...rc/deqpgles2/functional/Deqpgles2loops_customTestCase.cpp
+49
-0
未找到文件。
graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_bufferTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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_016338
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016338 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.draw.draw_e"
"lements.indices.buffer.index_byte"
,
"--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_016338 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016338 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016339
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016339 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.draw.draw_e"
"lements.indices.buffer.index_short"
,
"--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_016339 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016339 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_unaligned_user_ptrTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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_016337
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016337 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.draw.draw_element"
"s.indices.unaligned_user_ptr.index_short"
,
"--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_016337 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016337 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_user_ptrTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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_016335
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016335 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.draw.draw_el"
"ements.indices.user_ptr.index_byte"
,
"--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_016335 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016335 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016336
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016336 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.draw.draw_el"
"ements.indices.user_ptr.index_short"
,
"--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_016336 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016336 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basicTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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 "../ActsDeqpgles20015TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014125
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014125 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api"
".info_query.multiple_basic.vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014125 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014125 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014126
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014126 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api."
"info_query.multiple_basic.fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014126 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014126 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014127
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014127 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_ap"
"i.info_query.multiple_basic.both"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014127 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014127 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basic_arrayTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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 "../ActsDeqpgles20015TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014128
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014128 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.in"
"fo_query.multiple_basic_array.vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014128 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014128 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014129
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014129 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.inf"
"o_query.multiple_basic_array.fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014129 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014129 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014130
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014130 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.i"
"nfo_query.multiple_basic_array.both"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014130 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014130 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_nested_structs_arraysTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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 "../ActsDeqpgles20015TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014131
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014131 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_qu"
"ery.multiple_nested_structs_arrays.vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014131 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014131 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014132
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014132 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_que"
"ry.multiple_nested_structs_arrays.fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014132 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014132 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20015TestSuite
,
TestCase_014133
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014133 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_q"
"uery.multiple_nested_structs_arrays.both"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20015TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20015TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20015TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_014133 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_014133 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bindTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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_016469
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016469 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional"
".lifetime.bind.buffer"
,
"--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_016469 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016469 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016470
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016470 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional"
".lifetime.bind.texture"
,
"--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_016470 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016470 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016471
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016471 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.li"
"fetime.bind.renderbuffer"
,
"--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_016471 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016471 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016472
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016472 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.l"
"ifetime.bind.framebuffer"
,
"--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_016472 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016472 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bind_no_genTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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_016477
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016477 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.li"
"fetime.bind_no_gen.buffer"
,
"--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_016477 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016477 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016478
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016478 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.lif"
"etime.bind_no_gen.texture"
,
"--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_016478 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016478 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016479
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016479 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.lifet"
"ime.bind_no_gen.renderbuffer"
,
"--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_016479 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016479 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016480
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016480 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.lifet"
"ime.bind_no_gen.framebuffer"
,
"--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_016480 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016480 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_deleteTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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_016463
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016463 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional."
"lifetime.delete.buffer"
,
"--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_016463 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016463 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016464
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016464 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional."
"lifetime.delete.texture"
,
"--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_016464 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016464 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016465
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016465 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.lif"
"etime.delete.renderbuffer"
,
"--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_016465 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016465 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016466
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016466 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.li"
"fetime.delete.framebuffer"
,
"--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_016466 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016466 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016467
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016467 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional."
"lifetime.delete.shader"
,
"--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_016467 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016467 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016468
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016468 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional."
"lifetime.delete.program"
,
"--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_016468 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016468 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_boundTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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_016473
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016473 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.lif"
"etime.delete_bound.buffer"
,
"--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_016473 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016473 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016474
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016474 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.lif"
"etime.delete_bound.texture"
,
"--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_016474 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016474 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016475
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016475 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.lifeti"
"me.delete_bound.renderbuffer"
,
"--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_016475 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016475 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016476
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016476 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.lifet"
"ime.delete_bound.framebuffer"
,
"--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_016476 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016476 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_usedTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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_016481
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016481 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.lif"
"etime.delete_used.program"
,
"--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_016481 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016481 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_genTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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_016457
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016457 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functiona"
"l.lifetime.gen.buffer"
,
"--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_016457 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016457 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016458
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016458 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional"
".lifetime.gen.texture"
,
"--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_016458 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016458 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016459
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016459 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.l"
"ifetime.gen.renderbuffer"
,
"--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_016459 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016459 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016460
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016460 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.l"
"ifetime.gen.framebuffer"
,
"--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_016460 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016460 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016461
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016461 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functiona"
"l.lifetime.gen.shader"
,
"--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_016461 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016461 end"
;
}
static
HWTEST_F
(
ActsDeqpgles20017TestSuite
,
TestCase_016462
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_016462 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional"
".lifetime.gen.program"
,
"--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_016462 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_016462 end"
;
}
graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_customTestCase.cpp
0 → 100644
浏览文件 @
90f53e3a
/*
* 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 "../ActsDeqpgles20004TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsDeqpgles20004TestSuite
,
TestCase_003931
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003931 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"dEQP-GLES2.functional.shaders.loops."
"custom.continue_in_fragment_for_loop"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsDeqpgles20004TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsDeqpgles20004TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsDeqpgles20004TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsDeqpgles20004TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsDeqpgles20004TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_003931 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_003931 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录