Merge "Sync UTC harness" into devel/master
[platform/core/uifw/dali-core.git] / automated-tests / src / dali / utc-Dali-Core.cpp
index 67d14a5..ae881b2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
@@ -50,3 +50,14 @@ int UtcDaliCoreGetObjectRegistry(void)
   DALI_TEST_CHECK(application.GetCore().GetObjectRegistry());
   END_TEST;
 }
+
+int UtcDaliCoreCheckMemoryPool(void)
+{
+  TestApplication application;
+
+  // Calling LogMemoryPools should check capacity across the board.
+  application.GetCore().LogMemoryPools();
+
+  tet_result(TET_PASS);
+  END_TEST;
+}