Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
7c3ee500
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
接近 2 年 前同步成功
通知
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看板
提交
7c3ee500
编写于
6月 28, 2022
作者:
W
wangyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test
Signed-off-by:
N
wangyu
<
wangyu@kaihongdigi.com
>
上级
b09e18dc
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
1848 addition
and
0 deletion
+1848
-0
graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_compareTestCase.cpp
...rc/khrgles3/shaders/Khrgles3fragdepth_compareTestCase.cpp
+265
-0
graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_writeTestCase.cpp
.../src/khrgles3/shaders/Khrgles3fragdepth_writeTestCase.cpp
+265
-0
graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_packedTestCase1.cpp
...es3/shaders/Khrgles3single_basic_type_packedTestCase1.cpp
+1318
-0
未找到文件。
graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_compareTestCase.cpp
0 → 100644
浏览文件 @
7c3ee500
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000020
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000020 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.frag"
"depth.compare.no_write"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000020 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000020 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000021
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000021 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fr"
"agdepth.compare.const"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000021 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000021 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000022
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000022 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fra"
"gdepth.compare.uniform"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000022 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000022 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000023
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000023 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fra"
"gdepth.compare.dynamic"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000023 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000023 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000024
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000024 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fragd"
"epth.compare.fragcoord_z"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000024 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000024 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000025
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000025 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fragdepth.co"
"mpare.uniform_conditional_write"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000025 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000025 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000026
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000026 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fragdepth.co"
"mpare.dynamic_conditional_write"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000026 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000026 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000027
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000027 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fragdepth"
".compare.uniform_loop_write"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000027 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000027 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000028
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000028 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fragdept"
"h.compare.write_in_function"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000028 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000028 end"
;
}
graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_writeTestCase.cpp
0 → 100644
浏览文件 @
7c3ee500
/*
* 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 "../Khrgles3BaseFunc.h"
#include "../ActsKhrgles30001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000011
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000011 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fra"
"gdepth.write.no_write"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000011 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000011 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000012
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000012 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.f"
"ragdepth.write.const"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000012 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000012 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000013
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000013 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fr"
"agdepth.write.uniform"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000013 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000013 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000014
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000014 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fr"
"agdepth.write.dynamic"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000014 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000014 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000015
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000015 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.frag"
"depth.write.fragcoord_z"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000015 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000015 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000016
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000016 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fragdepth.w"
"rite.uniform_conditional_write"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000016 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000016 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000017
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000017 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fragdepth.w"
"rite.dynamic_conditional_write"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000017 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000017 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000018
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000018 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fragdept"
"h.write.uniform_loop_write"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000018 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000018 end"
;
}
static
HWTEST_F
(
ActsKhrgles30001TestSuite
,
TestCase_000019
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000019 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.fragdep"
"th.write.write_in_function"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000019 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000019 end"
;
}
graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_packedTestCase1.cpp
0 → 100644
浏览文件 @
7c3ee500
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录