[dali_2.3.22] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit / dali-toolkit-test-utils / toolkit-test-application.h
index 85df495..b9e94ed 100644 (file)
@@ -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 <dali/devel-api/adaptor-framework/accessibility.h>
 #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<Dali::Window> mMainWindow;
+private:
+  Dali::Window mMainWindow;
   std::unique_ptr< Adaptor > mAdaptor;
 };