提交 e99eea07 编写于 作者: J jiaoyikun

testcase

Signed-off-by: Njiaoyikun <jiaoyikun@kaihongdigi.com>
上级 7c1bd4f0
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002923, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002923 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage2d.rgb5a1.0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002923 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002923 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002924, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002924 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage2d.rgb5a1.1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002924 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002924 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002925, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002925 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgb5a1.16_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002925 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002925 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002926, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002926 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage2d.rgb5a1.1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002926 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002926 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002927, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002927 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgb5a1.16_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002927 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002927 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002928, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002928 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage2d.rgb5a1.16_16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002928 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002928 end";
}
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003005, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003005 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r8snorm.0_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003005 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003005 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003006, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003006 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r8snorm.1_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003006 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003006 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003007, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003007 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r8snorm.16_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003007 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003007 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003008, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003008 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r8snorm.1_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003008 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003008 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003009, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003009 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r8snorm.16_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003009 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003009 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003010, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003010 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.r8snorm.16_16_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003010 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003010 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003011, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003011 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r8snorm.1_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003011 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003011 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003012, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003012 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.r8snorm.16_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003012 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003012 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003013, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003013 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.r8snorm.16_16_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003013 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003013 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003014, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003014 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.r8snorm.16_16_4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003014 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003014 end";
}
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003355, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003355 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb10a2.0_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003355 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003355 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003356, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003356 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb10a2.1_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003356 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003356 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003357, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003357 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb10a2.16_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003357 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003357 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003358, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003358 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb10a2.1_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003358 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003358 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003359, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003359 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb10a2.16_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003359 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003359 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003360, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003360 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgb10a2.16_16_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003360 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003360 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003361, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003361 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb10a2.1_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003361 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003361 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003362, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003362 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb10a2.16_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003362 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003362 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003363, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003363 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgb10a2.16_16_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003363 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003363 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003364, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003364 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgb10a2.16_16_4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003364 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003364 end";
}
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003275, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003275 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb16ui.0_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003275 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003275 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003276, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003276 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb16ui.1_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003276 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003276 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003277, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003277 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb16ui.16_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003277 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003277 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003278, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003278 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb16ui.1_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003278 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003278 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003279, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003279 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb16ui.16_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003279 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003279 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003280, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003280 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgb16ui.16_16_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003280 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003280 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003281, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003281 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb16ui.1_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003281 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003281 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003282, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003282 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb16ui.16_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003282 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003282 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003283, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003283 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgb16ui.16_16_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003283 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003283 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003284, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003284 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragemo"
"des.teximage3d.rgb16ui.16_16_4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003284 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003284 end";
}
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003245, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003245 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb32f.0_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003245 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003245 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003246, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003246 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb32f.1_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003246 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003246 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003247, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003247 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32f.16_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003247 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003247 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003248, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003248 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb32f.1_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003248 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003248 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003249, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003249 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32f.16_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003249 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003249 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003250, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003250 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32f.16_16_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003250 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003250 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003251, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003251 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb32f.1_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003251 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003251 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003252, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003252 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32f.16_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003252 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003252 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003253, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003253 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32f.16_16_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003253 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003253 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003254, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003254 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32f.16_16_4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003254 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003254 end";
}
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003305, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003305 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb32i.0_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003305 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003305 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003306, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003306 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb32i.1_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003306 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003306 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003307, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003307 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32i.16_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003307 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003307 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003308, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003308 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb32i.1_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003308 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003308 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003309, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003309 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32i.16_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003309 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003309 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003310, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003310 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32i.16_16_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003310 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003310 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003311, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003311 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb32i.1_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003311 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003311 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003312, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003312 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32i.16_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003312 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003312 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003313, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003313 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32i.16_16_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003313 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003313 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003314, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003314 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb32i.16_16_4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003314 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003314 end";
}
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310004TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003205, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003205 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb565.0_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003205 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003205 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003206, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003206 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb565.1_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003206 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003206 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003207, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003207 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb565.16_0_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003207 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003207 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003208, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003208 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb565.1_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003208 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003208 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003209, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003209 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb565.16_1_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003209 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003209 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003210, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003210 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb565.16_16_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003210 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003210 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003211, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003211 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorage"
"modes.teximage3d.rgb565.1_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003211 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003211 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003212, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003212 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb565.16_1_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003212 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003212 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003213, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003213 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb565.16_16_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003213 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003213 end";
}
static HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003214, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003214 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstoragem"
"odes.teximage3d.rgb565.16_16_4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310004TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310004TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310004TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003214 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003214 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册