Refactor tcu::TestExecutor
authorPyry Haulos <phaulos@google.com>
Fri, 20 Mar 2015 18:06:41 +0000 (11:06 -0700)
committerPyry Haulos <phaulos@google.com>
Tue, 24 Mar 2015 17:23:23 +0000 (10:23 -0700)
commit4e3ea87b79b12195e79d28ef6ab2be0a847b5d9a
tree7bd1d3bc56150a6a39d2bb893bc40c7841cc7d5c
parentbd35111dc539a2daa4cc2576c5be5c81c3879d5d
Refactor tcu::TestExecutor

tcu::TestExecutor used to provide all functionality required for
traversing hierarchy, executing tests, and even generating test case
lists. This change splits TestExecutor into three separate utilities:

 1) TestHierarchyIterator provides test hierarchy traversal.
 2) TestSessionExecutor provides test session execution.
 3) Utility functions for generating test case list files.

In addition TestCaseWrapper has been replaced by package-specific
TestCaseExecutor with TestSessionExecutor-managed lifetime.

Change-Id: Idb8090964a80cd64892231798710547e84e2989b
41 files changed:
Android.mk
framework/common/CMakeLists.txt
framework/common/tcuApp.cpp
framework/common/tcuApp.hpp
framework/common/tcuResource.cpp
framework/common/tcuResultCollector.hpp
framework/common/tcuTestCase.hpp
framework/common/tcuTestCaseWrapper.cpp [deleted file]
framework/common/tcuTestContext.hpp
framework/common/tcuTestExecutor.cpp [deleted file]
framework/common/tcuTestExecutor.hpp [deleted file]
framework/common/tcuTestHierarchyIterator.cpp [new file with mode: 0644]
framework/common/tcuTestHierarchyIterator.hpp [new file with mode: 0644]
framework/common/tcuTestHierarchyUtil.cpp [new file with mode: 0644]
framework/common/tcuTestHierarchyUtil.hpp [moved from framework/common/tcuTestCaseWrapper.hpp with 59% similarity]
framework/common/tcuTestPackage.cpp
framework/common/tcuTestPackage.hpp
framework/common/tcuTestSessionExecutor.cpp [new file with mode: 0644]
framework/common/tcuTestSessionExecutor.hpp [new file with mode: 0644]
modules/egl/teglTestPackage.cpp
modules/egl/teglTestPackage.hpp
modules/gles2/CMakeLists.txt
modules/gles2/tes2TestCaseWrapper.cpp [deleted file]
modules/gles2/tes2TestCaseWrapper.hpp [deleted file]
modules/gles2/tes2TestPackage.cpp
modules/gles2/tes2TestPackage.hpp
modules/gles3/CMakeLists.txt
modules/gles3/tes3TestCaseWrapper.cpp [deleted file]
modules/gles3/tes3TestCaseWrapper.hpp [deleted file]
modules/gles3/tes3TestPackage.cpp
modules/gles3/tes3TestPackage.hpp
modules/gles31/CMakeLists.txt
modules/gles31/tes31TestCase.cpp
modules/gles31/tes31TestCaseWrapper.cpp [deleted file]
modules/gles31/tes31TestCaseWrapper.hpp [deleted file]
modules/gles31/tes31TestPackage.cpp
modules/gles31/tes31TestPackage.hpp
modules/internal/ditImageCompareTests.cpp
modules/internal/ditImageIOTests.cpp
modules/internal/ditTestPackage.cpp
modules/internal/ditTestPackage.hpp