#include <dali-toolkit-test-suite-utils.h>
#include <dali-toolkit/dali-toolkit.h>
#include <dali-toolkit/devel-api/controls/text-controls/text-editor.h> ///< @todo to be removed when text-editor is added to the dali-toolkit.h
-#include <dali-toolkit/devel-api/styling/style-manager.h>
using namespace Dali;
using namespace Toolkit;
ToolkitTestApplication application;
tet_infoline(" UtcDaliToolkitTextEditorAtlasRenderP");
StyleManager styleManager = StyleManager::Get();
- styleManager.RequestDefaultTheme();
+ styleManager.ApplyDefaultTheme();
TextEditor editor = TextEditor::New();
DALI_TEST_CHECK( editor );
DALI_TEST_EQUALS( offscreenRoot.GetChildCount(), 1u, TEST_LOCATION ); // The camera actor.
Actor offscreenImage = editor.GetChildAt( 2u );
- ImageActor imageActor = ImageActor::DownCast( offscreenImage );
- DALI_TEST_CHECK( imageActor );
+ DALI_TEST_CHECK( offscreenImage );
// Create a tap event to touch the text editor.
application.ProcessEvent( GenerateTap( Gesture::Possible, 1u, 1u, Vector2( 150.0f, 25.0f ) ) );