1 /*-------------------------------------------------------------------------
2 * Vulkan Conformance Tests
3 * ------------------------
5 * Copyright (c) 2015 Google Inc.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 *//*--------------------------------------------------------------------*/
24 #include "vktApiTests.hpp"
26 #include "vktTestGroupUtil.hpp"
27 #include "vktApiSmokeTests.hpp"
28 #include "vktApiDeviceInitializationTests.hpp"
29 #include "vktApiObjectManagementTests.hpp"
30 #include "vktApiBufferTests.hpp"
31 #include "vktApiBufferViewCreateTests.hpp"
32 #include "vktApiBufferViewAccessTests.hpp"
33 #include "vktApiFeatureInfo.hpp"
34 #include "vktApiCommandBuffersTests.hpp"
35 #include "vktApiCopiesAndBlittingTests.hpp"
36 #include "vktApiImageClearingTests.hpp"
37 #include "vktApiFillBufferTests.hpp"
38 #include "vktApiDescriptorPoolTests.hpp"
39 #include "vktApiNullHandleTests.hpp"
40 #include "vktApiGranularityTests.hpp"
41 #include "vktApiGetMemoryCommitment.hpp"
42 #include "vktApiExternalMemoryTests.hpp"
52 void createBufferViewTests (tcu::TestCaseGroup* bufferViewTests)
54 tcu::TestContext& testCtx = bufferViewTests->getTestContext();
56 bufferViewTests->addChild(createBufferViewCreateTests (testCtx));
57 bufferViewTests->addChild(createBufferViewAccessTests (testCtx));
60 void createApiTests (tcu::TestCaseGroup* apiTests)
62 tcu::TestContext& testCtx = apiTests->getTestContext();
64 apiTests->addChild(createSmokeTests (testCtx));
65 apiTests->addChild(api::createFeatureInfoTests (testCtx));
66 apiTests->addChild(createDeviceInitializationTests (testCtx));
67 apiTests->addChild(createObjectManagementTests (testCtx));
68 apiTests->addChild(createBufferTests (testCtx));
69 apiTests->addChild(createTestGroup (testCtx, "buffer_view", "BufferView tests", createBufferViewTests));
70 apiTests->addChild(createCommandBuffersTests (testCtx));
71 apiTests->addChild(createCopiesAndBlittingTests (testCtx));
72 apiTests->addChild(createImageClearingTests (testCtx));
73 apiTests->addChild(createFillAndUpdateBufferTests (testCtx));
74 apiTests->addChild(createDescriptorPoolTests (testCtx));
75 apiTests->addChild(createNullHandleTests (testCtx));
76 apiTests->addChild(createGranularityQueryTests (testCtx));
77 apiTests->addChild(createMemoryCommitmentTests (testCtx));
78 apiTests->addChild(createExternalMemoryTests (testCtx));
83 tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
85 return createTestGroup(testCtx, "api", "API Tests", createApiTests);