X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Fdali-test-suite-utils.h;h=0c5efa35615eb5a91a2735ad2c7a243b29847884;hb=3928808cc2029cbfd59230f2edb8889a63a59cec;hp=577ca36c374598ea39f6e000ed58e8727a5b70b9;hpb=4aaa3009e1e192b20eae5f0831996f1034cbb6f4;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dali-test-suite-utils.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dali-test-suite-utils.h index 577ca36..0c5efa3 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dali-test-suite-utils.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dali-test-suite-utils.h @@ -2,7 +2,7 @@ #define DALI_TEST_SUITE_UTILS_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -393,15 +393,6 @@ struct DefaultFunctionCoverage } }; - -// Helper to Create buffer image -BufferImage CreateBufferImage(); -BufferImage CreateBufferImage(int32_t width, int32_t height, const Vector4& color); - - -// Prepare a resource image to be loaded. Should be called before creating the ResourceImage -void PrepareResourceImage( TestApplication& application, uint32_t imageWidth, uint32_t imageHeight, Pixel::Format pixelFormat ); - // Test namespace to prevent pollution of Dali namespace, add Test helper functions here namespace Test { @@ -420,8 +411,9 @@ public: /** * @brief Call in main part of code + * @param[in] objectRegistry The object Registry being used */ - ObjectDestructionTracker(); + ObjectDestructionTracker( ObjectRegistry objectRegistry ); /** * @brief Call in sub bock of code where the Actor being checked is still alive. @@ -438,6 +430,7 @@ public: bool IsDestroyed(); private: + ObjectRegistry mObjectRegistry; bool mRefObjectDestroyed; };