提交 f6bebdfb 编写于 作者: W wangshi

add depq2 testcase

Signed-off-by: Nwangshi <wangshi@kaihongdigi.com>
上级 73b0ebd1
/*
* 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 "../ActsDeqpgles20013TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012889, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012889 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.renderab"
"le.texture.depth.depth_component_unsigned_short",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012889 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012889 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012890, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012890 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.rendera"
"ble.texture.depth.depth_component_unsigned_int",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012890 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012890 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012891, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012891 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.r"
"enderable.texture.depth.red_unsigned_byte",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012891 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012891 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012892, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012892 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completene"
"ss.renderable.texture.depth.red_float",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012892 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012892 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012893, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012893 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.re"
"nderable.texture.depth.red_half_float_oes",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012893 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012893 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012894, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012894 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.r"
"enderable.texture.depth.rgb_unsigned_byte",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012894 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012894 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012895, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012895 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completene"
"ss.renderable.texture.depth.rgb_float",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012895 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012895 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012896, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012896 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.rende"
"rable.texture.depth.rgb_unsigned_short_5_6_5",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012896 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012896 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012897, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012897 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.renderab"
"le.texture.depth.rgb_unsigned_int_2_10_10_10_rev",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012897 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012897 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012898, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012898 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.renderabl"
"e.texture.depth.rgb_unsigned_int_10f_11f_11f_rev",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012898 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012898 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012899, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012899 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.re"
"nderable.texture.depth.rgb_half_float_oes",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012899 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012899 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012900, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012900 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.re"
"nderable.texture.depth.rgba_unsigned_byte",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012900 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012900 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012901, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012901 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completenes"
"s.renderable.texture.depth.rgba_float",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012901 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012901 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012902, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012902 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.render"
"able.texture.depth.rgba_unsigned_short_4_4_4_4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012902 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012902 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012903, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012903 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.render"
"able.texture.depth.rgba_unsigned_short_5_5_5_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012903 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012903 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012904, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012904 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.renderabl"
"e.texture.depth.rgba_unsigned_int_2_10_10_10_rev",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012904 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012904 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012905, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012905 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.re"
"nderable.texture.depth.rgba_half_float_oes",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012905 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012905 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012906, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012906 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.complete"
"ness.renderable.texture.depth.rgb8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012906 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012906 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012907, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012907 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.complete"
"ness.renderable.texture.depth.rgb10",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012907 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012907 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012908, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012908 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.complete"
"ness.renderable.texture.depth.rgba4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012908 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012908 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012909, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012909 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completen"
"ess.renderable.texture.depth.rgb5_a1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012909 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012909 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012910, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012910 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.complete"
"ness.renderable.texture.depth.rgba8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012910 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012910 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012911, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012911 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completene"
"ss.renderable.texture.depth.rgb10_a2",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012911 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012911 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012912, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012912 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.r"
"enderable.texture.depth.depth_component16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012912 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012912 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012913, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012913 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.r"
"enderable.texture.depth.depth_component24",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012913 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012913 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012914, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012914 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.r"
"enderable.texture.depth.depth_component32",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012914 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012914 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012915, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012915 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.r"
"enderable.texture.depth.rg_unsigned_byte",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012915 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012915 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012916, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012916 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completene"
"ss.renderable.texture.depth.rg_float",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012916 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012916 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012917, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012917 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.r"
"enderable.texture.depth.rg_half_float_oes",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012917 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012917 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012918, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012918 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.complet"
"eness.renderable.texture.depth.r8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012918 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012918 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012919, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012919 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.complet"
"eness.renderable.texture.depth.rg8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012919 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012919 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012920, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012920 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.complete"
"ness.renderable.texture.depth.r16f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012920 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012920 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012921, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012921 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.complete"
"ness.renderable.texture.depth.rg16f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012921 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012921 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012922, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012922 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.renderab"
"le.texture.depth.depth_stencil_unsigned_int_24_8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012922 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012922 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012923, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012923 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completen"
"ess.renderable.texture.depth.rgba16f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012923 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012923 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012924, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012924 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completen"
"ess.renderable.texture.depth.rgb16f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012924 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012924 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012925, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012925 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.r"
"enderable.texture.depth.depth24_stencil8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012925 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012925 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012926, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012926 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness."
"renderable.texture.depth.r11f_g11f_b10f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012926 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012926 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012927, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012927 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.re"
"nderable.texture.depth.srgb_unsigned_byte",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012927 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012927 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012928, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012928 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.complete"
"ness.renderable.texture.depth.srgb8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012928 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012928 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012929, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012929 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness.rende"
"rable.texture.depth.srgb_alpha_unsigned_byte",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012929 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012929 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012930, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012930 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness"
".renderable.texture.depth.srgb8_alpha8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012930 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012930 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012931, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012931 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completeness."
"renderable.texture.depth.stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012931 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012931 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012932, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012932 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completen"
"ess.renderable.texture.depth.rgb565",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012932 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012932 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012933, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012933 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completen"
"ess.renderable.texture.depth.sr8_ext",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012933 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012933 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012934, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012934 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.completene"
"ss.renderable.texture.depth.srg8_ext",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012934 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012934 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册