Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e
[platform/upstream/VK-GL-CTS.git] / modules / gles31 / tes31TestPackage.hpp
index cfe339b..1372f83 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "tcuDefs.hpp"
 #include "tcuTestPackage.hpp"
-#include "tes31TestCaseWrapper.hpp"
 #include "tes31Context.hpp"
 #include "tcuResource.hpp"
 
@@ -34,20 +33,6 @@ namespace deqp
 namespace gles31
 {
 
-class PackageContext
-{
-public:
-                                                                       PackageContext                  (tcu::TestContext& testCtx);
-                                                                       ~PackageContext                 (void);
-
-       Context&                                                getContext                              (void) { return *m_context;             }
-       tcu::TestCaseWrapper&                   getTestCaseWrapper              (void) { return *m_caseWrapper; }
-
-private:
-       Context*                                                m_context;
-       TestCaseWrapper*                                m_caseWrapper;
-};
-
 class TestPackage : public tcu::TestPackage
 {
 public:
@@ -57,12 +42,14 @@ public:
        virtual void                                    init                                    (void);
        virtual void                                    deinit                                  (void);
 
-       tcu::TestCaseWrapper&                   getTestCaseWrapper              (void) { return m_packageCtx->getTestCaseWrapper(); }
-       tcu::Archive&                                   getArchive                              (void) { return m_archive; }
+       tcu::TestCaseExecutor*                  createExecutor                  (void) const;
+
+       tcu::Archive*                                   getArchive                              (void) { return &m_archive; }
+       Context*                                                getContext                              (void) { return m_context; }
 
 private:
-       PackageContext*                                 m_packageCtx;
        tcu::ResourcePrefix                             m_archive;
+       Context*                                                m_context;
 };
 
 } // gles31