#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.
}
};
-
-// 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
{
/**
* @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.
bool IsDestroyed();
private:
+ ObjectRegistry mObjectRegistry;
bool mRefObjectDestroyed;
};