diff options
author | Chris Craik <ccraik@google.com> | 2015-12-02 14:50:25 -0800 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-12-02 15:25:10 -0800 |
commit | 8160f20b0aca8c6595d4b385d673f59b6bcd16a4 (patch) | |
tree | 581bd7ae88d7ad352fc03e00d5175ccbfdd140bc | |
parent | 54fa17f667c285a5c9225e238c8132dfe830ef36 (diff) |
Reorganize hwui test directories
Now test-only common files reside in tests/common, and each test
executable type (macrobench, microbench, and unit) has a subdir there.
This change means the shared lib no longer has test code in it, and
sets up a means for scenes to be shared between tests.
Change-Id: I37b081f6977300e03fdd961b8e6439fde730605e
-rw-r--r-- | libs/hwui/Android.mk | 57 | ||||
-rw-r--r-- | libs/hwui/tests/common/TestScene.h (renamed from libs/hwui/tests/TestScene.h) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/TestUtils.cpp (renamed from libs/hwui/utils/TestUtils.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/TestUtils.h (renamed from libs/hwui/utils/TestUtils.h) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/nullegl.cpp (renamed from libs/hwui/tests/nullegl.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/nullgles.cpp (renamed from libs/hwui/tests/nullgles.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/scenes/HwLayerAnimation.cpp (renamed from libs/hwui/tests/scenes/HwLayerAnimation.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/scenes/ListViewAnimation.cpp (renamed from libs/hwui/tests/scenes/ListViewAnimation.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/scenes/OvalAnimation.cpp (renamed from libs/hwui/tests/scenes/OvalAnimation.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/scenes/PartialDamageAnimation.cpp (renamed from libs/hwui/tests/scenes/PartialDamageAnimation.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/scenes/RecentsAnimation.cpp (renamed from libs/hwui/tests/scenes/RecentsAnimation.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/scenes/RectGridAnimation.cpp (renamed from libs/hwui/tests/scenes/RectGridAnimation.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/scenes/SaveLayerAnimation.cpp (renamed from libs/hwui/tests/scenes/SaveLayerAnimation.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/scenes/ShadowGrid2Animation.cpp (renamed from libs/hwui/tests/scenes/ShadowGrid2Animation.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/scenes/ShadowGridAnimation.cpp (renamed from libs/hwui/tests/scenes/ShadowGridAnimation.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/common/scenes/TestSceneBase.h (renamed from libs/hwui/tests/scenes/TestSceneBase.h) | 8 | ||||
-rw-r--r-- | libs/hwui/tests/macrobench/Benchmark.h (renamed from libs/hwui/tests/Benchmark.h) | 2 | ||||
-rw-r--r-- | libs/hwui/tests/macrobench/TestContext.cpp (renamed from libs/hwui/tests/TestContext.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/macrobench/TestContext.h (renamed from libs/hwui/tests/TestContext.h) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/macrobench/TestSceneRunner.cpp (renamed from libs/hwui/tests/TestSceneRunner.cpp) | 2 | ||||
-rw-r--r-- | libs/hwui/tests/macrobench/how_to_run.txt (renamed from libs/hwui/tests/how_to_run.txt) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/macrobench/main.cpp (renamed from libs/hwui/tests/main.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/microbench/DisplayListCanvasBench.cpp (renamed from libs/hwui/microbench/DisplayListCanvasBench.cpp) | 4 | ||||
-rw-r--r-- | libs/hwui/tests/microbench/LinearAllocatorBench.cpp (renamed from libs/hwui/microbench/LinearAllocatorBench.cpp) | 2 | ||||
-rw-r--r-- | libs/hwui/tests/microbench/MicroBench.h (renamed from libs/hwui/microbench/MicroBench.h) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/microbench/OpReordererBench.cpp (renamed from libs/hwui/microbench/OpReordererBench.cpp) | 2 | ||||
-rw-r--r-- | libs/hwui/tests/microbench/PathParserBench.cpp (renamed from libs/hwui/microbench/PathParserBench.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/microbench/ShadowBench.cpp (renamed from libs/hwui/microbench/ShadowBench.cpp) | 2 | ||||
-rwxr-xr-x | libs/hwui/tests/microbench/how_to_run.txt (renamed from libs/hwui/microbench/how_to_run.txt) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/unit/BakedOpStateTests.cpp (renamed from libs/hwui/unit_tests/BakedOpStateTests.cpp) | 2 | ||||
-rw-r--r-- | libs/hwui/tests/unit/CanvasStateTests.cpp (renamed from libs/hwui/unit_tests/CanvasStateTests.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/unit/ClipAreaTests.cpp (renamed from libs/hwui/unit_tests/ClipAreaTests.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/unit/DamageAccumulatorTests.cpp (renamed from libs/hwui/unit_tests/DamageAccumulatorTests.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/unit/DeviceInfoTests.cpp (renamed from libs/hwui/unit_tests/DeviceInfoTests.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/unit/FatVectorTests.cpp (renamed from libs/hwui/unit_tests/FatVectorTests.cpp) | 2 | ||||
-rw-r--r-- | libs/hwui/tests/unit/LayerUpdateQueueTests.cpp (renamed from libs/hwui/unit_tests/LayerUpdateQueueTests.cpp) | 2 | ||||
-rw-r--r-- | libs/hwui/tests/unit/LinearAllocatorTests.cpp (renamed from libs/hwui/unit_tests/LinearAllocatorTests.cpp) | 2 | ||||
-rw-r--r-- | libs/hwui/tests/unit/OffscreenBufferPoolTests.cpp (renamed from libs/hwui/unit_tests/OffscreenBufferPoolTests.cpp) | 2 | ||||
-rw-r--r-- | libs/hwui/tests/unit/OpReordererTests.cpp (renamed from libs/hwui/unit_tests/OpReordererTests.cpp) | 2 | ||||
-rw-r--r-- | libs/hwui/tests/unit/RecordingCanvasTests.cpp (renamed from libs/hwui/unit_tests/RecordingCanvasTests.cpp) | 2 | ||||
-rw-r--r-- | libs/hwui/tests/unit/StringUtilsTests.cpp (renamed from libs/hwui/unit_tests/StringUtilsTests.cpp) | 0 | ||||
-rw-r--r-- | libs/hwui/tests/unit/VectorDrawableTests.cpp (renamed from libs/hwui/unit_tests/VectorDrawableTests.cpp) | 0 | ||||
-rwxr-xr-x | libs/hwui/tests/unit/how_to_run.txt (renamed from libs/hwui/unit_tests/how_to_run.txt) | 0 |
43 files changed, 49 insertions, 44 deletions
diff --git a/libs/hwui/Android.mk b/libs/hwui/Android.mk index fc4916c79d09..d98497bc046b 100644 --- a/libs/hwui/Android.mk +++ b/libs/hwui/Android.mk @@ -30,7 +30,6 @@ hwui_src_files := \ utils/StringUtils.cpp \ utils/TestWindowContext.cpp \ utils/VectorDrawableUtils.cpp \ - utils/TestUtils.cpp \ AmbientShadow.cpp \ AnimationContext.cpp \ Animator.cpp \ @@ -90,6 +89,9 @@ hwui_src_files := \ VectorDrawablePath.cpp \ protos/hwui.proto +hwui_test_common_src_files := \ + tests/common/TestUtils.cpp + hwui_cflags := \ -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES \ -DATRACE_TAG=ATRACE_TAG_VIEW -DLOG_TAG=\"OpenGLRenderer\" \ @@ -180,8 +182,8 @@ LOCAL_CFLAGS := \ -DHWUI_NULL_GPU LOCAL_SRC_FILES := \ $(hwui_src_files) \ - tests/nullegl.cpp \ - tests/nullgles.cpp + tests/common/nullegl.cpp \ + tests/common/nullgles.cpp LOCAL_C_INCLUDES := $(hwui_c_includes) $(call hwui_proto_include) LOCAL_EXPORT_C_INCLUDE_DIRS := $(hwui_c_includes) $(call hwui_proto_include) @@ -215,28 +217,29 @@ LOCAL_CFLAGS := \ -DHWUI_NULL_GPU LOCAL_SRC_FILES += \ - unit_tests/CanvasStateTests.cpp \ - unit_tests/ClipAreaTests.cpp \ - unit_tests/DamageAccumulatorTests.cpp \ - unit_tests/DeviceInfoTests.cpp \ - unit_tests/FatVectorTests.cpp \ - unit_tests/LayerUpdateQueueTests.cpp \ - unit_tests/LinearAllocatorTests.cpp \ - unit_tests/VectorDrawableTests.cpp \ - unit_tests/OffscreenBufferPoolTests.cpp \ - unit_tests/StringUtilsTests.cpp + $(hwui_test_common_src_files) \ + tests/unit/CanvasStateTests.cpp \ + tests/unit/ClipAreaTests.cpp \ + tests/unit/DamageAccumulatorTests.cpp \ + tests/unit/DeviceInfoTests.cpp \ + tests/unit/FatVectorTests.cpp \ + tests/unit/LayerUpdateQueueTests.cpp \ + tests/unit/LinearAllocatorTests.cpp \ + tests/unit/VectorDrawableTests.cpp \ + tests/unit/OffscreenBufferPoolTests.cpp \ + tests/unit/StringUtilsTests.cpp ifeq (true, $(HWUI_NEW_OPS)) LOCAL_SRC_FILES += \ - unit_tests/BakedOpStateTests.cpp \ - unit_tests/RecordingCanvasTests.cpp \ - unit_tests/OpReordererTests.cpp + tests/unit/BakedOpStateTests.cpp \ + tests/unit/RecordingCanvasTests.cpp \ + tests/unit/OpReordererTests.cpp endif include $(BUILD_NATIVE_TEST) # ------------------------ -# test app +# Macro-bench app # ------------------------ include $(CLEAR_VARS) @@ -255,11 +258,12 @@ LOCAL_CFLAGS := $(hwui_cflags) LOCAL_WHOLE_STATIC_LIBRARIES := libhwui_static LOCAL_SRC_FILES += \ - tests/TestContext.cpp \ - tests/TestSceneRunner.cpp \ - tests/main.cpp + $(hwui_test_common_src_files) \ + tests/macrobench/TestContext.cpp \ + tests/macrobench/TestSceneRunner.cpp \ + tests/macrobench/main.cpp -LOCAL_SRC_FILES += $(call all-cpp-files-under, tests/scenes) +LOCAL_SRC_FILES += $(call all-cpp-files-under, tests/common/scenes) include $(BUILD_EXECUTABLE) @@ -285,14 +289,15 @@ LOCAL_WHOLE_STATIC_LIBRARIES := libhwui_static_null_gpu LOCAL_STATIC_LIBRARIES := libbenchmark libbase LOCAL_SRC_FILES += \ - microbench/DisplayListCanvasBench.cpp \ - microbench/LinearAllocatorBench.cpp \ - microbench/PathParserBench.cpp \ - microbench/ShadowBench.cpp + $(hwui_test_common_src_files) \ + tests/microbench/DisplayListCanvasBench.cpp \ + tests/microbench/LinearAllocatorBench.cpp \ + tests/microbench/PathParserBench.cpp \ + tests/microbench/ShadowBench.cpp ifeq (true, $(HWUI_NEW_OPS)) LOCAL_SRC_FILES += \ - microbench/OpReordererBench.cpp + tests/microbench/OpReordererBench.cpp endif include $(BUILD_EXECUTABLE) diff --git a/libs/hwui/tests/TestScene.h b/libs/hwui/tests/common/TestScene.h index b5d8954652a3..b5d8954652a3 100644 --- a/libs/hwui/tests/TestScene.h +++ b/libs/hwui/tests/common/TestScene.h diff --git a/libs/hwui/utils/TestUtils.cpp b/libs/hwui/tests/common/TestUtils.cpp index 6cef85203352..6cef85203352 100644 --- a/libs/hwui/utils/TestUtils.cpp +++ b/libs/hwui/tests/common/TestUtils.cpp diff --git a/libs/hwui/utils/TestUtils.h b/libs/hwui/tests/common/TestUtils.h index 9c1c0b9d2c08..9c1c0b9d2c08 100644 --- a/libs/hwui/utils/TestUtils.h +++ b/libs/hwui/tests/common/TestUtils.h diff --git a/libs/hwui/tests/nullegl.cpp b/libs/hwui/tests/common/nullegl.cpp index b6cc2f247627..b6cc2f247627 100644 --- a/libs/hwui/tests/nullegl.cpp +++ b/libs/hwui/tests/common/nullegl.cpp diff --git a/libs/hwui/tests/nullgles.cpp b/libs/hwui/tests/common/nullgles.cpp index f8e8c98c20ba..f8e8c98c20ba 100644 --- a/libs/hwui/tests/nullgles.cpp +++ b/libs/hwui/tests/common/nullgles.cpp diff --git a/libs/hwui/tests/scenes/HwLayerAnimation.cpp b/libs/hwui/tests/common/scenes/HwLayerAnimation.cpp index e316eca79be8..e316eca79be8 100644 --- a/libs/hwui/tests/scenes/HwLayerAnimation.cpp +++ b/libs/hwui/tests/common/scenes/HwLayerAnimation.cpp diff --git a/libs/hwui/tests/scenes/ListViewAnimation.cpp b/libs/hwui/tests/common/scenes/ListViewAnimation.cpp index 27adb125fcf9..27adb125fcf9 100644 --- a/libs/hwui/tests/scenes/ListViewAnimation.cpp +++ b/libs/hwui/tests/common/scenes/ListViewAnimation.cpp diff --git a/libs/hwui/tests/scenes/OvalAnimation.cpp b/libs/hwui/tests/common/scenes/OvalAnimation.cpp index 936aba184c88..936aba184c88 100644 --- a/libs/hwui/tests/scenes/OvalAnimation.cpp +++ b/libs/hwui/tests/common/scenes/OvalAnimation.cpp diff --git a/libs/hwui/tests/scenes/PartialDamageAnimation.cpp b/libs/hwui/tests/common/scenes/PartialDamageAnimation.cpp index c31ddd1d531b..c31ddd1d531b 100644 --- a/libs/hwui/tests/scenes/PartialDamageAnimation.cpp +++ b/libs/hwui/tests/common/scenes/PartialDamageAnimation.cpp diff --git a/libs/hwui/tests/scenes/RecentsAnimation.cpp b/libs/hwui/tests/common/scenes/RecentsAnimation.cpp index 5d4ef9663d34..5d4ef9663d34 100644 --- a/libs/hwui/tests/scenes/RecentsAnimation.cpp +++ b/libs/hwui/tests/common/scenes/RecentsAnimation.cpp diff --git a/libs/hwui/tests/scenes/RectGridAnimation.cpp b/libs/hwui/tests/common/scenes/RectGridAnimation.cpp index a1f04d67c785..a1f04d67c785 100644 --- a/libs/hwui/tests/scenes/RectGridAnimation.cpp +++ b/libs/hwui/tests/common/scenes/RectGridAnimation.cpp diff --git a/libs/hwui/tests/scenes/SaveLayerAnimation.cpp b/libs/hwui/tests/common/scenes/SaveLayerAnimation.cpp index c73e97ba003c..c73e97ba003c 100644 --- a/libs/hwui/tests/scenes/SaveLayerAnimation.cpp +++ b/libs/hwui/tests/common/scenes/SaveLayerAnimation.cpp diff --git a/libs/hwui/tests/scenes/ShadowGrid2Animation.cpp b/libs/hwui/tests/common/scenes/ShadowGrid2Animation.cpp index 26c86aa6f9d5..26c86aa6f9d5 100644 --- a/libs/hwui/tests/scenes/ShadowGrid2Animation.cpp +++ b/libs/hwui/tests/common/scenes/ShadowGrid2Animation.cpp diff --git a/libs/hwui/tests/scenes/ShadowGridAnimation.cpp b/libs/hwui/tests/common/scenes/ShadowGridAnimation.cpp index ee3c590c4e0d..ee3c590c4e0d 100644 --- a/libs/hwui/tests/scenes/ShadowGridAnimation.cpp +++ b/libs/hwui/tests/common/scenes/ShadowGridAnimation.cpp diff --git a/libs/hwui/tests/scenes/TestSceneBase.h b/libs/hwui/tests/common/scenes/TestSceneBase.h index a208509edf0e..8a2414971515 100644 --- a/libs/hwui/tests/scenes/TestSceneBase.h +++ b/libs/hwui/tests/common/scenes/TestSceneBase.h @@ -19,10 +19,10 @@ #include "DisplayListCanvas.h" #include "RecordingCanvas.h" #include "RenderNode.h" -#include "tests/Benchmark.h" -#include "tests/TestContext.h" -#include "tests/TestScene.h" -#include "utils/TestUtils.h" +#include "tests/macrobench/Benchmark.h" +#include "tests/macrobench/TestContext.h" +#include "tests/common/TestScene.h" +#include "tests/common/TestUtils.h" #include <functional> diff --git a/libs/hwui/tests/Benchmark.h b/libs/hwui/tests/macrobench/Benchmark.h index 3f87d7fc34ce..aad8eb3716a6 100644 --- a/libs/hwui/tests/Benchmark.h +++ b/libs/hwui/tests/macrobench/Benchmark.h @@ -16,7 +16,7 @@ #ifndef TESTS_BENCHMARK_H #define TESTS_BENCHMARK_H -#include "TestScene.h" +#include "tests/common/TestScene.h" #include <string> #include <vector> diff --git a/libs/hwui/tests/TestContext.cpp b/libs/hwui/tests/macrobench/TestContext.cpp index ba763a8def62..ba763a8def62 100644 --- a/libs/hwui/tests/TestContext.cpp +++ b/libs/hwui/tests/macrobench/TestContext.cpp diff --git a/libs/hwui/tests/TestContext.h b/libs/hwui/tests/macrobench/TestContext.h index 2bbe5dffd9b8..2bbe5dffd9b8 100644 --- a/libs/hwui/tests/TestContext.h +++ b/libs/hwui/tests/macrobench/TestContext.h diff --git a/libs/hwui/tests/TestSceneRunner.cpp b/libs/hwui/tests/macrobench/TestSceneRunner.cpp index 0376e109052d..1e1c6a1e318a 100644 --- a/libs/hwui/tests/TestSceneRunner.cpp +++ b/libs/hwui/tests/macrobench/TestSceneRunner.cpp @@ -18,7 +18,7 @@ #include "Benchmark.h" #include "RenderNode.h" #include "TestContext.h" -#include "scenes/TestSceneBase.h" +#include "tests/common/scenes/TestSceneBase.h" #include "renderthread/RenderProxy.h" #include "renderthread/RenderTask.h" diff --git a/libs/hwui/tests/how_to_run.txt b/libs/hwui/tests/macrobench/how_to_run.txt index b051768f3262..b051768f3262 100644 --- a/libs/hwui/tests/how_to_run.txt +++ b/libs/hwui/tests/macrobench/how_to_run.txt diff --git a/libs/hwui/tests/main.cpp b/libs/hwui/tests/macrobench/main.cpp index 48566e8f6ecd..48566e8f6ecd 100644 --- a/libs/hwui/tests/main.cpp +++ b/libs/hwui/tests/macrobench/main.cpp diff --git a/libs/hwui/microbench/DisplayListCanvasBench.cpp b/libs/hwui/tests/microbench/DisplayListCanvasBench.cpp index 4be1f992e399..2e59eb450c9f 100644 --- a/libs/hwui/microbench/DisplayListCanvasBench.cpp +++ b/libs/hwui/tests/microbench/DisplayListCanvasBench.cpp @@ -22,8 +22,8 @@ #else #include "DisplayListCanvas.h" #endif -#include "microbench/MicroBench.h" -#include "utils/TestUtils.h" +#include "tests/common/TestUtils.h" +#include "tests/microbench/MicroBench.h" using namespace android; using namespace android::uirenderer; diff --git a/libs/hwui/microbench/LinearAllocatorBench.cpp b/libs/hwui/tests/microbench/LinearAllocatorBench.cpp index 75f57cbd6021..28513e438fe1 100644 --- a/libs/hwui/microbench/LinearAllocatorBench.cpp +++ b/libs/hwui/tests/microbench/LinearAllocatorBench.cpp @@ -16,8 +16,8 @@ #include <benchmark/Benchmark.h> +#include "tests/microbench/MicroBench.h" #include "utils/LinearAllocator.h" -#include "microbench/MicroBench.h" #include <vector> diff --git a/libs/hwui/microbench/MicroBench.h b/libs/hwui/tests/microbench/MicroBench.h index f05e92cd86d1..f05e92cd86d1 100644 --- a/libs/hwui/microbench/MicroBench.h +++ b/libs/hwui/tests/microbench/MicroBench.h diff --git a/libs/hwui/microbench/OpReordererBench.cpp b/libs/hwui/tests/microbench/OpReordererBench.cpp index 53b64c32ce52..406bfcc684b1 100644 --- a/libs/hwui/microbench/OpReordererBench.cpp +++ b/libs/hwui/tests/microbench/OpReordererBench.cpp @@ -23,7 +23,7 @@ #include "OpReorderer.h" #include "RecordedOp.h" #include "RecordingCanvas.h" -#include "utils/TestUtils.h" +#include "tests/common/TestUtils.h" #include "Vector.h" #include "microbench/MicroBench.h" diff --git a/libs/hwui/microbench/PathParserBench.cpp b/libs/hwui/tests/microbench/PathParserBench.cpp index 3d9fafac6c93..3d9fafac6c93 100644 --- a/libs/hwui/microbench/PathParserBench.cpp +++ b/libs/hwui/tests/microbench/PathParserBench.cpp diff --git a/libs/hwui/microbench/ShadowBench.cpp b/libs/hwui/tests/microbench/ShadowBench.cpp index 1b0f5eae70a0..98ec4d9b8f9d 100644 --- a/libs/hwui/microbench/ShadowBench.cpp +++ b/libs/hwui/tests/microbench/ShadowBench.cpp @@ -21,7 +21,7 @@ #include "Vector.h" #include "VertexBuffer.h" #include "TessellationCache.h" -#include "microbench/MicroBench.h" +#include "tests/microbench/MicroBench.h" #include <SkPath.h> diff --git a/libs/hwui/microbench/how_to_run.txt b/libs/hwui/tests/microbench/how_to_run.txt index e6f80b278276..e6f80b278276 100755 --- a/libs/hwui/microbench/how_to_run.txt +++ b/libs/hwui/tests/microbench/how_to_run.txt diff --git a/libs/hwui/unit_tests/BakedOpStateTests.cpp b/libs/hwui/tests/unit/BakedOpStateTests.cpp index 7ad2f9bdbb67..de14abf6a89b 100644 --- a/libs/hwui/unit_tests/BakedOpStateTests.cpp +++ b/libs/hwui/tests/unit/BakedOpStateTests.cpp @@ -18,7 +18,7 @@ #include <BakedOpState.h> #include <RecordedOp.h> -#include <utils/TestUtils.h> +#include <tests/common/TestUtils.h> namespace android { namespace uirenderer { diff --git a/libs/hwui/unit_tests/CanvasStateTests.cpp b/libs/hwui/tests/unit/CanvasStateTests.cpp index dfbf6d358ce5..dfbf6d358ce5 100644 --- a/libs/hwui/unit_tests/CanvasStateTests.cpp +++ b/libs/hwui/tests/unit/CanvasStateTests.cpp diff --git a/libs/hwui/unit_tests/ClipAreaTests.cpp b/libs/hwui/tests/unit/ClipAreaTests.cpp index d6192df08bc3..d6192df08bc3 100644 --- a/libs/hwui/unit_tests/ClipAreaTests.cpp +++ b/libs/hwui/tests/unit/ClipAreaTests.cpp diff --git a/libs/hwui/unit_tests/DamageAccumulatorTests.cpp b/libs/hwui/tests/unit/DamageAccumulatorTests.cpp index 29354a79efbd..29354a79efbd 100644 --- a/libs/hwui/unit_tests/DamageAccumulatorTests.cpp +++ b/libs/hwui/tests/unit/DamageAccumulatorTests.cpp diff --git a/libs/hwui/unit_tests/DeviceInfoTests.cpp b/libs/hwui/tests/unit/DeviceInfoTests.cpp index 17236bdf0bf7..17236bdf0bf7 100644 --- a/libs/hwui/unit_tests/DeviceInfoTests.cpp +++ b/libs/hwui/tests/unit/DeviceInfoTests.cpp diff --git a/libs/hwui/unit_tests/FatVectorTests.cpp b/libs/hwui/tests/unit/FatVectorTests.cpp index c6ccf4dd9bea..64b0ba13562d 100644 --- a/libs/hwui/unit_tests/FatVectorTests.cpp +++ b/libs/hwui/tests/unit/FatVectorTests.cpp @@ -17,7 +17,7 @@ #include <gtest/gtest.h> #include <utils/FatVector.h> -#include <utils/TestUtils.h> +#include <tests/common/TestUtils.h> using namespace android; using namespace android::uirenderer; diff --git a/libs/hwui/unit_tests/LayerUpdateQueueTests.cpp b/libs/hwui/tests/unit/LayerUpdateQueueTests.cpp index cc15cc6d2628..8b0e91c77396 100644 --- a/libs/hwui/unit_tests/LayerUpdateQueueTests.cpp +++ b/libs/hwui/tests/unit/LayerUpdateQueueTests.cpp @@ -19,7 +19,7 @@ #include <LayerUpdateQueue.h> #include <RenderNode.h> -#include <utils/TestUtils.h> +#include <tests/common/TestUtils.h> namespace android { namespace uirenderer { diff --git a/libs/hwui/unit_tests/LinearAllocatorTests.cpp b/libs/hwui/tests/unit/LinearAllocatorTests.cpp index 0591db628bd1..78d65ddaa19d 100644 --- a/libs/hwui/unit_tests/LinearAllocatorTests.cpp +++ b/libs/hwui/tests/unit/LinearAllocatorTests.cpp @@ -17,7 +17,7 @@ #include <gtest/gtest.h> #include <utils/LinearAllocator.h> -#include <utils/TestUtils.h> +#include <tests/common/TestUtils.h> using namespace android; using namespace android::uirenderer; diff --git a/libs/hwui/unit_tests/OffscreenBufferPoolTests.cpp b/libs/hwui/tests/unit/OffscreenBufferPoolTests.cpp index de86aedfa26a..2187654fb36c 100644 --- a/libs/hwui/unit_tests/OffscreenBufferPoolTests.cpp +++ b/libs/hwui/tests/unit/OffscreenBufferPoolTests.cpp @@ -17,7 +17,7 @@ #include <gtest/gtest.h> #include <renderstate/OffscreenBufferPool.h> -#include <utils/TestUtils.h> +#include <tests/common/TestUtils.h> using namespace android; using namespace android::uirenderer; diff --git a/libs/hwui/unit_tests/OpReordererTests.cpp b/libs/hwui/tests/unit/OpReordererTests.cpp index 2ce1d0a5db7f..98a430a0ef10 100644 --- a/libs/hwui/unit_tests/OpReordererTests.cpp +++ b/libs/hwui/tests/unit/OpReordererTests.cpp @@ -21,7 +21,7 @@ #include <OpReorderer.h> #include <RecordedOp.h> #include <RecordingCanvas.h> -#include <utils/TestUtils.h> +#include <tests/common/TestUtils.h> #include <unordered_map> diff --git a/libs/hwui/unit_tests/RecordingCanvasTests.cpp b/libs/hwui/tests/unit/RecordingCanvasTests.cpp index 81f0851a6174..2449ce870b95 100644 --- a/libs/hwui/unit_tests/RecordingCanvasTests.cpp +++ b/libs/hwui/tests/unit/RecordingCanvasTests.cpp @@ -18,7 +18,7 @@ #include <RecordedOp.h> #include <RecordingCanvas.h> -#include <utils/TestUtils.h> +#include <tests/common/TestUtils.h> namespace android { namespace uirenderer { diff --git a/libs/hwui/unit_tests/StringUtilsTests.cpp b/libs/hwui/tests/unit/StringUtilsTests.cpp index 6b2e265a61ff..6b2e265a61ff 100644 --- a/libs/hwui/unit_tests/StringUtilsTests.cpp +++ b/libs/hwui/tests/unit/StringUtilsTests.cpp diff --git a/libs/hwui/unit_tests/VectorDrawableTests.cpp b/libs/hwui/tests/unit/VectorDrawableTests.cpp index 77dd73acff10..77dd73acff10 100644 --- a/libs/hwui/unit_tests/VectorDrawableTests.cpp +++ b/libs/hwui/tests/unit/VectorDrawableTests.cpp diff --git a/libs/hwui/unit_tests/how_to_run.txt b/libs/hwui/tests/unit/how_to_run.txt index c11d6eb33358..c11d6eb33358 100755 --- a/libs/hwui/unit_tests/how_to_run.txt +++ b/libs/hwui/tests/unit/how_to_run.txt |