projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
If a RenderTask's exclusive actor is destoryed, then ensure the RenderTaskList of...
[platform/core/uifw/dali-core.git]
/
automated-tests
/
src
/
dali
/
utc-Dali-RenderTask.cpp
diff --git
a/automated-tests/src/dali/utc-Dali-RenderTask.cpp
b/automated-tests/src/dali/utc-Dali-RenderTask.cpp
index
82d57a9
..
8067f58
100644
(file)
--- a/
automated-tests/src/dali/utc-Dali-RenderTask.cpp
+++ b/
automated-tests/src/dali/utc-Dali-RenderTask.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 201
7
Samsung Electronics Co., Ltd.
+ * Copyright (c) 201
9
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.
*
* 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 );
}
// 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;
}
END_TEST;
}