X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftest-native-image.cpp;h=9d78225d4d97b0a62fa719f825b229794f9a93c6;hb=214aac69c6f01cd0544afe05e4c4d7060092b190;hp=da4e7e8254232e79f5bea3418d26450bde5c3e94;hpb=f781537e1453775663bb7f89adb495957dfa61ef;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-native-image.cpp b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-native-image.cpp index da4e7e8..9d78225 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-native-image.cpp +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-native-image.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -15,42 +15,30 @@ * */ - #include "test-application.h" -#include "test-native-image.h" +#include "test-native-image.h" namespace Dali { - -TestNativeImagePointer TestNativeImage::New(int width, int height) +TestNativeImagePointer TestNativeImage::New(uint32_t width, uint32_t height) { return new TestNativeImage(width, height); } -TestNativeImage::TestNativeImage(int width, int height) -: mWidth(width), mHeight(height), mExtensionCreateCalls(0), mExtensionDestroyCalls(0), mTargetTextureCalls(0),createResult(true) +TestNativeImage::TestNativeImage(uint32_t width, uint32_t height) +: mWidth(width), + mHeight(height), + mExtensionCreateCalls(0), + mExtensionDestroyCalls(0), + mTargetTextureCalls(0), + createResult(true) { - mExtension = new TestNativeImageExtension(); + mCallStack.EnableLogging(true); } TestNativeImage::~TestNativeImage() { } - -TestNativeImageNoExtPointer TestNativeImageNoExt::New(int width, int height) -{ - return new TestNativeImageNoExt(width, height); -} - -TestNativeImageNoExt::TestNativeImageNoExt(int width, int height) -: mWidth(width), mHeight(height), mExtensionCreateCalls(0), mExtensionDestroyCalls(0), mTargetTextureCalls(0),createResult(true) -{ -} - -TestNativeImageNoExt::~TestNativeImageNoExt() -{ -} - -} // namespace dali +} // namespace Dali