diff --git a/graphic/vulkan/src/texture/ActsTexture0001TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0001TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..99755445994c62437672d4b424eff51bc768218f --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0001TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0001TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0001TS::startTime; + time_t ActsTexture0001TS::endTime; + FuncRunResult ActsTexture0001TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0001TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0001TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..65fd0648ca96b18a2815ac9c2e9d8b683b2818ea --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0001TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE0001_TESTCASE_H +#define TEXTURE0001_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0001TS) + +#endif // TEXTURE0001_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0002TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0002TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..2a62e56f6251c225731a9aed996875dfa1745d01 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0002TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0002TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0002TS::startTime; + time_t ActsTexture0002TS::endTime; + FuncRunResult ActsTexture0002TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0002TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0002TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..acc8357c07fb90889892fa9cf5fe56cd5c3aa134 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0002TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0002TS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0003TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0003TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..771d09b2f55ff4ec31a5bc64c44306004d1cc1f9 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0003TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0003TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0003TS::startTime; + time_t ActsTexture0003TS::endTime; + FuncRunResult ActsTexture0003TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0003TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0003TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..dab7fc6a59e4ae54d4e13d8dbe06b37109ff96b1 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0003TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0003TS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0004TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0004TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..d28318730ce4e7cbb039020793355fd490be397f --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0004TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0004TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0004TS::startTime; + time_t ActsTexture0004TS::endTime; + FuncRunResult ActsTexture0004TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0004TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0004TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..b9c637bb524cbb4710bfebb209a565272b0a3c00 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0004TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0004TS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0005TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0005TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..bbb3b99a1c92552a8f611a88c36c787d88a502ff --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0005TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0005TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0005TS::startTime; + time_t ActsTexture0005TS::endTime; + FuncRunResult ActsTexture0005TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0005TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0005TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..709a27052c746a0d979a3476d1dc67d5dad6edc5 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0005TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0005TS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0006TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0006TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..5c474facfb11be8efe93a9713c4f7cdcbd576fab --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0006TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0006TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0006TS::startTime; + time_t ActsTexture0006TS::endTime; + FuncRunResult ActsTexture0006TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0006TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0006TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..b334b920c7962bcb1cc4e3d444dfa091136d5a96 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0006TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0006TS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0007TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0007TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..f6f967fa94f2039c5626b70b9e58d825dd0ed83b --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0007TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0007TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0007TS::startTime; + time_t ActsTexture0007TS::endTime; + FuncRunResult ActsTexture0007TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0007TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0007TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..ba41873bfe1b42a08a04ef9ee158d7109f900c32 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0007TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0007TS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0008TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0008TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..a1041e27d1465124c7fd70d1054afabe6d4ed6a3 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0008TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0008TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0008TS::startTime; + time_t ActsTexture0008TS::endTime; + FuncRunResult ActsTexture0008TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0008TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0008TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..5050508cbe6f5df182ee07b0e9647c150e23fc35 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0008TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0008TS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0009TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0009TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..a4f84ec2d564721b0d2143cc07a36ebf073df884 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0009TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0009TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0009TS::startTime; + time_t ActsTexture0009TS::endTime; + FuncRunResult ActsTexture0009TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0009TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0009TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..9c1437899808e32f8b85ee4f7d015d263fe28bb2 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0009TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0009TS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0010TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0010TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..189de57ac91ed112224a0a218c43a83d1f084867 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0010TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0010TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0010TS::startTime; + time_t ActsTexture0010TS::endTime; + FuncRunResult ActsTexture0010TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0010TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0010TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..7e54e2f2ed0a39558f969fbe1e89e7db823e165c --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0010TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0010TS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0011TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0011TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..61f18732cd67c1f6a4e8645c485f0b4961c0e93b --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0011TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0011TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0011TS::startTime; + time_t ActsTexture0011TS::endTime; + FuncRunResult ActsTexture0011TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0011TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0011TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..897774e7ff500d8eced13c5f9dab67c7733e100f --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0011TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0011TS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0012TestSuite.cpp b/graphic/vulkan/src/texture/ActsTexture0012TestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..28c8a24f847b4f28ce7a9411ce47996dfc35f29b --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0012TestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTexture0012TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTexture0012TS::startTime; + time_t ActsTexture0012TS::endTime; + FuncRunResult ActsTexture0012TS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTexture0012TestSuite.h b/graphic/vulkan/src/texture/ActsTexture0012TestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..3390ac14f15b106168598afacda28596d4f6fcaf --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTexture0012TestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTexture0012TS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTextureTestSuite.cpp b/graphic/vulkan/src/texture/ActsTextureTestSuite.cpp new file mode 100644 index 0000000000000000000000000000000000000000..aedbe30312c9f0448a2ec55de67f1cdab7a04359 --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTextureTestSuite.cpp @@ -0,0 +1,30 @@ +/* + * 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 +#include +#include +#include "TextureBaseFunc.h" +#include "ActsTextureTestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsTextureTS::startTime; + time_t ActsTextureTS::endTime; + FuncRunResult ActsTextureTS::runResult; + +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/ActsTextureTestSuite.h b/graphic/vulkan/src/texture/ActsTextureTestSuite.h new file mode 100644 index 0000000000000000000000000000000000000000..dae7f207a59aa1b3ca93683ce71f07b3313d406a --- /dev/null +++ b/graphic/vulkan/src/texture/ActsTextureTestSuite.h @@ -0,0 +1,24 @@ +/* + * 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. + */ + +#ifndef TEXTURE_TESTCASE_H +#define TEXTURE_TESTCASE_H + +#include "TextureBaseFunc.h" +#include "testsuitehead.h" + +SHRINK_SUITETEST_HEAD(ActsTextureTS) + +#endif // TEXTURE_TESTCASE_H \ No newline at end of file diff --git a/graphic/vulkan/src/texture/TextureBaseFunc.cpp b/graphic/vulkan/src/texture/TextureBaseFunc.cpp new file mode 100644 index 0000000000000000000000000000000000000000..4e737d421a920a28b61e3fc678f41a92c9292c50 --- /dev/null +++ b/graphic/vulkan/src/texture/TextureBaseFunc.cpp @@ -0,0 +1,85 @@ +/* + * 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 +#include + +#include "tcuDefs.hpp" +#include "tcuCommandLine.hpp" +#include "tcuPlatform.hpp" +// #include "ActsApp.h" +#include "tcuApp.hpp" +#include "tcuResource.hpp" +#include "tcuTestLog.hpp" +#include "tcuTestSessionExecutor.hpp" +#include "deUniquePtr.hpp" +#include "tcuOhosPlatform.hpp" + +#include "external/vulkancts/modules/vulkan/vktTestPackage.hpp" + +#include "logdefine.h" +#include "TextureBaseFunc.h" + + +static tcu::TestPackage* createTestPackage (tcu::TestContext& testCtx) +{ + return new vkt::TestPackage(testCtx); +} + +static tcu::TestPackage* createExperimentalTestPackage (tcu::TestContext& testCtx) +{ + return new vkt::ExperimentalTestPackage(testCtx); +} + +// tcu::TestPackageDescriptor g_vktPackageDescriptor("dEQP-VK", createTestPackage); +// tcu::TestPackageDescriptor g_vktExperimentalPackageDescriptor("dEQP-VK-experimental", createExperimentalTestPackage); + +void RegistPackage(void) +{ + tcu::TestPackageRegistry *registry = tcu::TestPackageRegistry::getSingleton(); + registry->registerPackage("dEQP-VK", createTestPackage); + registry->registerPackage("dEQP-VK-experimental", createExperimentalTestPackage); +} + + +// extern tcu::TestLog tcutestlog; +FuncRunResult RunTestKHRGLES(int argc, const char** argv) +{ + FuncRunResult runResult; + try { + tcu::CommandLine cmdLine(argc, argv); + std::cout << "testmain end argc"<< argc << ";" << argv[0] << ";" << argv[1] << ";" << argv[2] << std::endl; + tcu::DirArchive archive(cmdLine.getArchiveDir()); + + de::UniquePtr platform(createOhosPlatform()); + de::UniquePtr app(new tcu::App(*platform, archive, OHOS::Logdefine::tcutestlog, cmdLine)); + + for (;;) { + if (!app->iterate()) { + break; + }; + }; + runResult.isComplete = app->getResult().isComplete; + runResult.numPassed = app->getResult().numPassed; + runResult.numExecuted = app->getResult().numExecuted; + runResult.numFailed = app->getResult().numFailed; + runResult.numNotSupported = app->getResult().numNotSupported; + runResult.numWarnings = app->getResult().numWarnings; + runResult.numWaived = app->getResult().numWaived; + } catch (const std::exception &e) { + tcu::die("%s", e.what()); + }; + return runResult; +} \ No newline at end of file diff --git a/graphic/vulkan/src/texture/TextureBaseFunc.h b/graphic/vulkan/src/texture/TextureBaseFunc.h new file mode 100644 index 0000000000000000000000000000000000000000..18596984c37059cffa7c02169f5d23f9ac12cf8a --- /dev/null +++ b/graphic/vulkan/src/texture/TextureBaseFunc.h @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#ifndef TEXTURE_FUNC_H +#define TEXTURE_FUNC_H + +struct FuncRunResult { + int numExecuted; // !< Total number of cases executed. + int numPassed; // !< Number of cases passed. + int numFailed; // !< Number of cases failed. + int numNotSupported; // !< Number of cases not supported. + int numWarnings; // !< Number of QualityWarning / CompatibilityWarning results. + int numWaived; // !< Number of waived tests. + bool isComplete; // !< Is run complete. +}; + +void RegistPackage(void); +FuncRunResult RunTestKHRGLES(int argc, const char** argv); + +#endif // TEXTURE_FUNC_H \ No newline at end of file