Fixed test case to match new stencil hit rules 44/24844/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 23 Jul 2014 09:11:40 +0000 (10:11 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 23 Jul 2014 09:11:40 +0000 (10:11 +0100)
Change-Id: I5b2e818118c8d7b751007cb8a924ff943df245b5

automated-tests/src/dali-unmanaged/utc-Dali-HitTestAlgorithm.cpp

index fd075ff..23c7db5 100644 (file)
@@ -374,8 +374,8 @@ int UtcDaliHitTestAlgorithmStencil(void)
   stencil.SetName( "stencil" );
   layer.Add( stencil );
 
-  // Create an actor and add that to the layer
-  Actor layerHitActor = Actor::New();
+  // Create a renderable actor and add that to the layer
+  Actor layerHitActor = TextActor::New();
   layerHitActor.SetSize( 100.0f, 100.0f );
   layerHitActor.SetAnchorPoint( AnchorPoint::TOP_LEFT );
   layerHitActor.SetParentOrigin( ParentOrigin::TOP_LEFT );