X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=automated-tests%2Fsrc%2Fdali%2Futc-Dali-RenderTask.cpp;h=8067f58686d58a772f25eab4728f1be4364aeabb;hb=c1df908470fc3dd242fef202248e56009727bca4;hp=82d57a9d3a5bb696fc17605f4a7d08e92e8053c9;hpb=d5039e3c8d18f0b0afa1caca6c53d84f6938c8f9;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/automated-tests/src/dali/utc-Dali-RenderTask.cpp b/automated-tests/src/dali/utc-Dali-RenderTask.cpp index 82d57a9..8067f58 100644 --- a/automated-tests/src/dali/utc-Dali-RenderTask.cpp +++ b/automated-tests/src/dali/utc-Dali-RenderTask.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -757,6 +757,12 @@ int UtcDaliRenderTaskSetExclusive(void) // Test that task 2 renders actor2 DALI_TEST_CHECK( boundTextures[2] == 9u ); } + + // Create a renderable actor and replace the source actor in task2 + auto actor4 = CreateRenderableActor(); + task2.SetSourceActor( actor3 ); + DALI_TEST_EQUALS( actor3, task2.GetSourceActor(), TEST_LOCATION ); + END_TEST; }