X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftoolkit-test-application.h;h=b9e94ed19a239f2bee14d770913027e877c312be;hb=HEAD;hp=85df495991f628ff5b46089eb66762cb3d4c4c26;hpb=8a647e87a01c5c78451653c1264a9eea81ac9b20;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-test-application.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-test-application.h index 85df495..b9e94ed 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-test-application.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-test-application.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEST_APPLICATION_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 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. @@ -29,7 +29,7 @@ #include #include "test-application.h" -#undef assert +//#undef assert namespace Dali { @@ -61,9 +61,18 @@ public: */ void RunIdles(); -private: + Dali::Window GetWindow() + { + return mMainWindow; + } + + Dali::Adaptor& GetAdaptor() + { + return *mAdaptor; + } - std::unique_ptr mMainWindow; +private: + Dali::Window mMainWindow; std::unique_ptr< Adaptor > mAdaptor; };