Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
06a5d101
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看板
提交
06a5d101
编写于
6月 28, 2022
作者:
Z
zhouwei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test
Signed-off-by:
N
zhouwei
<
zhouwei@kaihongdigi.com
>
上级
55556d28
变更
2
展开全部
隐藏空白更改
内联
并排
Showing
2 changed file
with
2096 addition
and
0 deletion
+2096
-0
graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp
...rgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp
+1642
-0
graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp
...haders/Khrgles3preprocessor_predefined_macrosTestCase.cpp
+454
-0
未找到文件。
graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp
0 → 100644
浏览文件 @
06a5d101
此差异已折叠。
点击以展开。
graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp
0 → 100644
浏览文件 @
06a5d101
/*
* 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 "../ActsKhrgles30002TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001032
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001032 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor."
"predefined_macros.version_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001032 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001032 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001033
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001033 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor.p"
"redefined_macros.version_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001033 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001033 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001034
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001034 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor."
"predefined_macros.gl_es_1_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001034 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001034 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001035
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001035 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor.p"
"redefined_macros.gl_es_1_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001035 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001035 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001036
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001036 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor."
"predefined_macros.gl_es_2_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001036 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001036 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001037
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001037 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor.p"
"redefined_macros.gl_es_2_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001037 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001037 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001038
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001038 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor."
"predefined_macros.line_1_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001038 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001038 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001039
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001039 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor.p"
"redefined_macros.line_1_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001039 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001039 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001040
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001040 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor"
".predefined_macros.file_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001040 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001040 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001041
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001041 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor."
"predefined_macros.file_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001041 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001041 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001042
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001042 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor.p"
"redefined_macros.if_gl_es_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001042 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001042 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001043
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001043 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor.pr"
"edefined_macros.if_gl_es_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001043 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001043 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001044
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001044 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor.pr"
"edefined_macros.if_version_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001044 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001044 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001045
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001045 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor.pre"
"defined_macros.if_version_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001045 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001045 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001046
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001046 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor.predefi"
"ned_macros.invalid_token_pasting_vertex"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001046 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001046 end"
;
}
static
HWTEST_F
(
ActsKhrgles30002TestSuite
,
TestCase_001047
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001047 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES3.shaders.preprocessor.predefin"
"ed_macros.invalid_token_pasting_fragment"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles30002TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles30002TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles30002TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles30002TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles30002TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_001047 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_001047 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录