本文整理汇总了C++中TestApplication::Render方法的典型用法代码示例。如果您正苦于以下问题:C++ TestApplication::Render方法的具体用法?C++ TestApplication::Render怎么用?C++ TestApplication::Render使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TestApplication
的用法示例。
在下文中一共展示了TestApplication::Render方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: UtcDaliImageFactoryCompatibleResource03
// Different requests, compatible resource
int UtcDaliImageFactoryCompatibleResource03(void)
{
TestApplication application;
tet_infoline( "UtcDaliImageFactoryCompatibleResource03 - Two requests mapping to same resource" );
ImageFactory& imageFactory = Internal::ThreadLocalStorage::Get().GetImageFactory();
Vector2 testSize(80.0f, 80.0f);
application.GetPlatform().SetClosestImageSize(testSize);
// this time use defined attributes, nut just NULL
ImageAttributes attr = ImageAttributes::New();
attr.SetSize( 120, 120 );
// request with default attributes ( size is 0,0 )
RequestPtr req = imageFactory.RegisterRequest( gTestImageFilename, &attr );
ResourceTicketPtr ticket = imageFactory.Load( *req.Get() );
application.SendNotification();
application.Render();
application.SendNotification();
application.Render();
// emulate load success
EmulateImageLoaded( application, 80, 80 );
ImageAttributes attr2 = ImageAttributes::New();
attr2.SetSize( 80, 80 );
RequestPtr req2 = imageFactory.RegisterRequest( gTestImageFilename, &attr2 );
ResourceTicketPtr ticket2 = imageFactory.Load( *req2.Get() );
DALI_TEST_CHECK( req != req2 ); // different requests
DALI_TEST_EQUALS( ticket->GetId(), ticket2->GetId(), TEST_LOCATION ); // same resource
END_TEST;
}
示例2: UtcDaliStageKeepRenderingN
int UtcDaliStageKeepRenderingN(void)
{
TestApplication application;
Stage stage = Stage::GetCurrent();
// Run core until it wants to sleep
bool keepUpdating( true );
while ( keepUpdating )
{
application.SendNotification();
keepUpdating = application.Render( 1000.0f /*1 second*/ );
}
// Force rendering for the next 5 seconds
stage.KeepRendering( -1.0f );
application.SendNotification();
// Test that core wants to sleep after 10 seconds
keepUpdating = application.Render( 1000.0f /*1 second*/ );
DALI_TEST_CHECK( !keepUpdating );
END_TEST;
}
示例3: UtcDaliImageActorGetCurrentImageSize01
int UtcDaliImageActorGetCurrentImageSize01(void)
{
TestApplication application;
tet_infoline("Positive test for Dali::ImageActor::GetCurrentImageSize");
Vector2 initialImageSize(100, 50);
BitmapImage image = BitmapImage::New( initialImageSize.width, initialImageSize.height );
ImageActor actor = ImageActor::New( image );
Stage::GetCurrent().Add(actor);
application.SendNotification();
application.Render();
DALI_TEST_EQUALS( actor.GetCurrentImageSize(), initialImageSize, TEST_LOCATION );
Vector2 size(200.0f, 200.0f);
actor.SetSize(size);
// flush the queue and render once
application.SendNotification();
application.Render();
DALI_TEST_EQUALS( actor.GetCurrentImageSize(), size, TEST_LOCATION );
size.x = 200.0f;
size.y = 200.0f;
actor.SetSize(size);
application.Render(8);
// Test when a pixel area is set
ImageActor::PixelArea area(0, 0, 10, 10);
actor.SetPixelArea(area);
application.Render(9);
DALI_TEST_EQUALS( actor.GetCurrentImageSize(), Vector2( area.width, area.height ), TEST_LOCATION );
END_TEST;
}
示例4: UtcDaliImageFactoryUseCachedRequest01
// High-level test for image factory request cache
int UtcDaliImageFactoryUseCachedRequest01(void)
{
TestApplication application;
tet_infoline( "UtcDaliImageFactoryCachedRequest01 - Request same image more than once" );
Image image = ResourceImage::New( gTestImageFilename );
application.SendNotification();
application.Render();
DALI_TEST_CHECK( application.GetPlatform().WasCalled( TestPlatformAbstraction::LoadResourceFunc ) );
application.GetPlatform().ResetTrace();
Image image2 = ResourceImage::New( gTestImageFilename );
application.SendNotification();
application.Render();
// check resource is not loaded twice
DALI_TEST_CHECK( !application.GetPlatform().WasCalled( TestPlatformAbstraction::LoadResourceFunc ) );
application.GetPlatform().ResetTrace();
Image image3 = ResourceImage::New( gTestImageFilename );
application.SendNotification();
application.Render();
DALI_TEST_CHECK( !application.GetPlatform().WasCalled( TestPlatformAbstraction::LoadResourceFunc ) );
END_TEST;
}
示例5: UtcDaliPropertyNotificationGetNotifyResultP
int UtcDaliPropertyNotificationGetNotifyResultP(void)
{
TestApplication application;
tet_infoline(" UtcDaliPropertyNotificationGetNotifyMode");
Actor actor = Actor::New();
PropertyNotification notification = actor.AddPropertyNotification(Actor::Property::POSITION_X,
GreaterThanCondition(100.0f));
notification.SetNotifyMode(PropertyNotification::NotifyOnChanged);
gCallBackCalled = false;
notification.NotifySignal().Connect( &TestCallback );
actor.SetPosition(Vector3(0.0f, 0.0f, 0.0f));
application.Render(RENDER_FRAME_INTERVAL);
application.SendNotification();
application.Render(RENDER_FRAME_INTERVAL);
application.SendNotification();
bool notifyResult = notification.GetNotifyResult();
DALI_TEST_EQUALS( notifyResult, false, TEST_LOCATION );
END_TEST;
}
示例6: UtcDaliTapGestureActorRemovedWhilePossible
int UtcDaliTapGestureActorRemovedWhilePossible(void)
{
TestApplication application;
Actor actor = Actor::New();
actor.SetSize(100.0f, 100.0f);
actor.SetAnchorPoint(AnchorPoint::TOP_LEFT);
Stage::GetCurrent().Add(actor);
// Render and notify
application.SendNotification();
application.Render();
// Attach actor to detector
SignalData data;
GestureReceivedFunctor functor( data );
TapGestureDetector detector = TapGestureDetector::New();
detector.Attach(actor);
detector.DetectedSignal().Connect( &application, functor );
// Emit a possible
application.ProcessEvent(GenerateTap(Gesture::Possible, 1u, 1u, Vector2(50.0f, 10.0f)));
// Remove, render and delete actor
Stage::GetCurrent().Remove(actor);
application.SendNotification();
application.Render();
actor.Reset();
// Send a Started state, no signal.
application.ProcessEvent(GenerateTap(Gesture::Started, 1u, 1u, Vector2(50.0f, 10.0f)));
DALI_TEST_EQUALS(false, data.functorCalled, TEST_LOCATION);
END_TEST;
}
示例7: UtcDaliImageFactoryCompatibleResource02
// Different requests, compatible resource
int UtcDaliImageFactoryCompatibleResource02(void)
{
TestApplication application;
tet_infoline( "UtcDaliImageFactoryCompatibleResource02 - Two requests mapping to same resource." );
ImageFactory& imageFactory = Internal::ThreadLocalStorage::Get().GetImageFactory();
Vector2 testSize( 2048.0f, 2048.0f );
application.GetPlatform().SetClosestImageSize( testSize );
// request with default attributes ( size is 0,0 )
RequestPtr req = imageFactory.RegisterRequest( gTestImageFilename, NULL );
ResourceTicketPtr ticket = imageFactory.Load( *req.Get() );
application.SendNotification();
application.Render();
application.SendNotification();
application.Render();
// emulate load success
EmulateImageLoaded( application, testSize.x, testSize.y );
// Request slightly bigger size than actual image.
// This will load the same resource as the ImageFactory cache uses a small fudge factor in matching.
// See UtcDaliImageFactoryReload06
ImageAttributes attr = ImageAttributes::New();
attr.SetSize( testSize.x + 1, testSize.y + 1 );
RequestPtr req2 = imageFactory.RegisterRequest( gTestImageFilename, &attr );
ResourceTicketPtr ticket2 = imageFactory.Load( *req2.Get() );
DALI_TEST_CHECK( req != req2 ); // different requests
DALI_TEST_EQUALS( ticket->GetId(), ticket2->GetId(), TEST_LOCATION ); // same resource
END_TEST;
}
示例8: UtcDaliImageFactoryInCompatibleResource
// Different requests, incompatible resource, so two loads result:
int UtcDaliImageFactoryInCompatibleResource(void)
{
TestApplication application;
tet_infoline( "UtcDaliImageFactoryCompatibleResource02 - Two requests mapping to same resource." );
ImageFactory& imageFactory = Internal::ThreadLocalStorage::Get().GetImageFactory();
Vector2 testSize(2048.0f, 2048.0f);
application.GetPlatform().SetClosestImageSize(testSize);
// request with default attributes ( size is 0,0 )
RequestPtr req = imageFactory.RegisterRequest( gTestImageFilename, NULL );
ResourceTicketPtr ticket = imageFactory.Load( *req.Get() );
application.SendNotification();
application.Render();
application.SendNotification();
application.Render();
// emulate load success
EmulateImageLoaded( application, testSize.x, testSize.y );
// Request substantially different size than actual image.
// This will issue a second resource load as difference in sizes is greater than
// the small fudge factor used in the ImageFactory cache.
ImageAttributes attr = ImageAttributes::New();
attr.SetSize( testSize.x - 16, testSize.y - 16 );
RequestPtr req2 = imageFactory.RegisterRequest( gTestImageFilename, &attr );
ResourceTicketPtr ticket2 = imageFactory.Load( *req2.Get() );
DALI_TEST_CHECK( req != req2 ); // different requests
DALI_TEST_CHECK( ticket->GetId() != ticket2->GetId() ); // differnet resources
END_TEST;
}
示例9: UtcDaliModelBuildAnimation08
int UtcDaliModelBuildAnimation08(void)
{
TestApplication application;
TestPlatformAbstraction& platform = application.GetPlatform();
tet_infoline("Testing Dali::MeshActor::New()");
Dali::ModelData modelData = BuildTreeModel();
// Raise a request
Model model = Model::New("Tree");
application.SendNotification();
application.Render();
Integration::ResourceRequest* request = platform.GetRequest(); // Return modelData
if(request)
{
platform.SetResourceLoaded(request->GetId(), request->GetType()->id, Integration::ResourcePointer(&(modelData.GetBaseObject())));
}
application.Render();
application.SendNotification();
Actor actor = ModelActorFactory::BuildActorTree(model, ""); // model should be loaded
DALI_TEST_CHECK(model.GetLoadingState() == ResourceLoadingSucceeded);
DALI_TEST_CHECK(actor);
DALI_TEST_CHECK(actor.GetName().compare("root") == 0);
DALI_TEST_EQUALS(model.NumberOfAnimations(), static_cast<size_t>(1), TEST_LOCATION);
Animation twigAnim = ModelActorFactory::BuildAnimation(model, actor, 10);
DALI_TEST_CHECK(!twigAnim);
END_TEST;
}
示例10: UtcDaliImageActorUseImageAlpha04
int UtcDaliImageActorUseImageAlpha04(void)
{
TestApplication application;
tet_infoline("Testing Dali::RenderableActor::SetUseImageAlpha()");
FrameBufferImage image = FrameBufferImage::New( 100, 50, Pixel::RGBA8888 );
RenderTaskList taskList = Stage::GetCurrent().GetRenderTaskList();
RenderTask task = taskList.GetTask( 0u );
task.SetTargetFrameBuffer( image ); // To ensure frame buffer is connected
application.GetGlAbstraction().SetCheckFramebufferStatusResult( GL_FRAMEBUFFER_COMPLETE );
application.SendNotification();
application.Render(0);
ImageActor actor = ImageActor::New( image );
application.SendNotification();
application.Render(0);
actor.SetBlendMode( BlendingMode::ON );
actor.SetColor(Vector4(1.0, 1.0, 1.0, 1.0));
actor.SetSize(100, 50);
application.GetGlAbstraction().EnableCullFaceCallTrace(true); // For Enable(GL_BLEND)
Stage::GetCurrent().Add(actor);
application.SendNotification();
application.Render();
const TraceCallStack& callTrace = application.GetGlAbstraction().GetCullFaceTrace();
DALI_TEST_EQUALS( BlendDisabled( callTrace ), false, TEST_LOCATION );
DALI_TEST_EQUALS( BlendEnabled( callTrace), true, TEST_LOCATION );
END_TEST;
}
示例11: UtcDaliHitTestAlgorithmOrtho02
int UtcDaliHitTestAlgorithmOrtho02(void)
{
TestApplication application;
tet_infoline("Testing Dali::HitTestAlgorithm with offset Ortho camera()");
Stage stage = Stage::GetCurrent();
RenderTaskList renderTaskList = stage.GetRenderTaskList();
RenderTask defaultRenderTask = renderTaskList.GetTask(0u);
Dali::CameraActor cameraActor = defaultRenderTask.GetCameraActor();
Vector2 stageSize ( stage.GetSize() );
cameraActor.SetOrthographicProjection(-stageSize.x * 0.3f, stageSize.x * 0.7f,
stageSize.y * 0.3f, -stageSize.y * 0.7f,
800.0f, 4895.0f);
cameraActor.SetPosition(0.0f, 0.0f, 1600.0f);
Vector2 actorSize( stageSize * 0.5f );
// Create two actors with half the size of the stage and set them to be partially overlapping
Actor blue = Actor::New();
blue.SetName( "Blue" );
blue.SetAnchorPoint( AnchorPoint::TOP_LEFT );
blue.SetParentOrigin( Vector3(0.2f, 0.2f, 0.5f) );
blue.SetSize( actorSize );
blue.SetZ(30.0f);
Actor green = Actor::New( );
green.SetName( "Green" );
green.SetAnchorPoint( AnchorPoint::TOP_LEFT );
green.SetParentOrigin( Vector3(0.4f, 0.4f, 0.5f) );
green.SetSize( actorSize );
// Add the actors to the view
stage.Add( blue );
stage.Add( green );
// Render and notify
application.SendNotification();
application.Render(0);
application.Render(10);
HitTestAlgorithm::Results results;
HitTest(stage, Vector2( 240.0f, 400.0f ), results, &DefaultIsActorTouchableFunction);
DALI_TEST_CHECK( results.actor == green );
DALI_TEST_EQUALS( results.actorCoordinates, actorSize * 0.6f, TEST_LOCATION );
HitTest(stage, Vector2::ZERO, results, &DefaultIsActorTouchableFunction);
DALI_TEST_CHECK( results.actor == blue );
DALI_TEST_EQUALS( results.actorCoordinates, Vector2::ZERO, TEST_LOCATION );
HitTest(stage, stageSize, results, &DefaultIsActorTouchableFunction);
DALI_TEST_CHECK( ! results.actor );
DALI_TEST_EQUALS( results.actorCoordinates, Vector2::ZERO, TEST_LOCATION );
// Just inside green
HitTest(stage, stageSize*0.69f, results, &DefaultIsActorTouchableFunction);
DALI_TEST_CHECK( results.actor == green );
DALI_TEST_EQUALS( results.actorCoordinates, actorSize * 0.98f, TEST_LOCATION );
END_TEST;
}
示例12: UtcDaliTapGestureSignalReceptionDifferentPossible
int UtcDaliTapGestureSignalReceptionDifferentPossible(void)
{
TestApplication application;
Actor actor = Actor::New();
actor.SetSize(100.0f, 100.0f);
actor.SetAnchorPoint(AnchorPoint::TOP_LEFT);
Stage::GetCurrent().Add(actor);
// Render and notify
application.SendNotification();
application.Render();
// Attach actor to detector
SignalData data;
GestureReceivedFunctor functor( data );
TapGestureDetector detector = TapGestureDetector::New();
detector.Attach(actor);
detector.DetectedSignal().Connect( &application, functor );
// Gesture possible in actor's area.
application.ProcessEvent(GenerateTap(Gesture::Possible, 1u, 1u, Vector2(50.0f, 10.0f)));
DALI_TEST_EQUALS(false, data.functorCalled, TEST_LOCATION);
// Move actor somewhere else
actor.SetPosition( 100.0f, 100.0f );
// Render and notify
application.SendNotification();
application.Render();
// Emit Started event, we should not receive the tap.
application.ProcessEvent(GenerateTap(Gesture::Started, 1u, 1u, Vector2(50.0f, 10.0f)));
DALI_TEST_EQUALS(false, data.functorCalled, TEST_LOCATION);
// Tap possible in empty area.
application.ProcessEvent(GenerateTap(Gesture::Possible, 1u, 1u, Vector2(50.0f, 10.0f)));
DALI_TEST_EQUALS(false, data.functorCalled, TEST_LOCATION);
// Move actor in to the tap position.
actor.SetPosition( 0.0f, 0.0f );
// Render and notify
application.SendNotification();
application.Render();
// Emit Started event, we should not receive the tap.
application.ProcessEvent(GenerateTap(Gesture::Started, 1u, 1u, Vector2(50.0f, 10.0f)));
DALI_TEST_EQUALS(false, data.functorCalled, TEST_LOCATION);
// Normal tap in actor's area for completeness.
application.ProcessEvent(GenerateTap(Gesture::Possible, 1u, 1u, Vector2(50.0f, 10.0f)));
application.ProcessEvent(GenerateTap(Gesture::Started, 1u, 1u, Vector2(50.0f, 10.0f)));
DALI_TEST_EQUALS(true, data.functorCalled, TEST_LOCATION);
END_TEST;
}
示例13: UtcDaliShaderConstraint02
int UtcDaliShaderConstraint02(void)
{
TestApplication application;
tet_infoline("Test that a uniform map shader property can be constrained");
Shader shader = Shader::New(VertexSource, FragmentSource);
Material material = Material::New( shader );
material.SetProperty(Material::Property::COLOR, Color::WHITE);
Geometry geometry = CreateQuadGeometry();
Renderer renderer = Renderer::New( geometry, material );
Actor actor = Actor::New();
actor.AddRenderer(renderer);
actor.SetSize(400, 400);
Stage::GetCurrent().Add(actor);
application.SendNotification();
application.Render(0);
Vector4 initialColor = Color::WHITE;
Property::Index colorIndex = shader.RegisterProperty( "uFadeColor", initialColor );
TestGlAbstraction& gl = application.GetGlAbstraction();
application.SendNotification();
application.Render(0);
Vector4 actualValue(Vector4::ZERO);
DALI_TEST_CHECK( gl.GetUniformValue<Vector4>( "uFadeColor", actualValue ) );
DALI_TEST_EQUALS( actualValue, initialColor, TEST_LOCATION );
// Apply constraint
Constraint constraint = Constraint::New<Vector4>( shader, colorIndex, TestConstraintNoBlue );
constraint.Apply();
application.SendNotification();
application.Render(0);
// Expect no blue component in either buffer - yellow
DALI_TEST_CHECK( gl.GetUniformValue<Vector4>( "uFadeColor", actualValue ) );
DALI_TEST_EQUALS( actualValue, Color::YELLOW, TEST_LOCATION );
application.Render(0);
DALI_TEST_CHECK( gl.GetUniformValue<Vector4>( "uFadeColor", actualValue ) );
DALI_TEST_EQUALS( actualValue, Color::YELLOW, TEST_LOCATION );
shader.RemoveConstraints();
shader.SetProperty(colorIndex, Color::WHITE );
application.SendNotification();
application.Render(0);
DALI_TEST_CHECK( gl.GetUniformValue<Vector4>( "uFadeColor", actualValue ) );
DALI_TEST_EQUALS( actualValue, Color::WHITE, TEST_LOCATION );
END_TEST;
}
示例14: UtcDaliTapGestureSignalReceptionRotatedActor
int UtcDaliTapGestureSignalReceptionRotatedActor(void)
{
TestApplication application;
Actor actor = Actor::New();
actor.SetSize(100.0f, 100.0f);
actor.SetOrientation(Dali::Degree(90.0f), Vector3::ZAXIS);
Stage::GetCurrent().Add(actor);
// Render and notify
application.SendNotification();
application.Render();
SignalData data;
GestureReceivedFunctor functor(data);
TapGestureDetector detector = TapGestureDetector::New();
detector.Attach(actor);
detector.DetectedSignal().Connect(&application, functor);
// Do tap, only check finished value
application.ProcessEvent(GenerateTap(Gesture::Possible, 1u, 1u, Vector2(5.0f, 5.0f)));
application.ProcessEvent(GenerateTap(Gesture::Started, 1u, 1u, Vector2(5.0f, 5.0f)));
DALI_TEST_EQUALS(true, data.functorCalled, TEST_LOCATION);
DALI_TEST_EQUALS(1u, data.receivedGesture.numberOfTaps, TEST_LOCATION);
DALI_TEST_EQUALS(1u, data.receivedGesture.numberOfTouches, TEST_LOCATION);
DALI_TEST_EQUALS( Vector2(5.0f, 5.0f), data.receivedGesture.screenPoint, 0.1, TEST_LOCATION);
// Rotate actor again and render
actor.SetOrientation(Dali::Degree(180.0f), Vector3::ZAXIS);
application.SendNotification();
application.Render();
// Do tap, should still receive event
data.Reset();
application.ProcessEvent(GenerateTap(Gesture::Possible, 1u, 1u, Vector2(5.0f, 5.0f)));
application.ProcessEvent(GenerateTap(Gesture::Started, 1u, 1u, Vector2(5.0f, 5.0f)));
DALI_TEST_EQUALS(true, data.functorCalled, TEST_LOCATION);
DALI_TEST_EQUALS(1u, data.receivedGesture.numberOfTaps, TEST_LOCATION);
DALI_TEST_EQUALS(1u, data.receivedGesture.numberOfTouches, TEST_LOCATION);
DALI_TEST_EQUALS( Vector2(5.0f, 5.0f), data.receivedGesture.screenPoint, 0.1, TEST_LOCATION);
// Rotate actor again and render
actor.SetOrientation(Dali::Degree(90.0f), Vector3::YAXIS);
application.SendNotification();
application.Render();
// Do tap, inside the actor's area (area if it is not rotated), Should not receive the event
data.Reset();
application.ProcessEvent(GenerateTap(Gesture::Possible, 1u, 1u, Vector2(70.0f, 70.0f)));
application.ProcessEvent(GenerateTap(Gesture::Started, 1u, 1u, Vector2(70.0f, 70.0f)));
DALI_TEST_EQUALS(false, data.functorCalled, TEST_LOCATION);
END_TEST;
}
示例15: UtcDaliHoverActorBecomesInsensitiveParentConsumer
int UtcDaliHoverActorBecomesInsensitiveParentConsumer(void)
{
TestApplication application;
Actor rootActor( Stage::GetCurrent().GetRootLayer() );
Actor actor = Actor::New();
actor.SetSize(100.0f, 100.0f);
actor.SetAnchorPoint(AnchorPoint::TOP_LEFT);
Stage::GetCurrent().Add(actor);
// Render and notify
application.SendNotification();
application.Render();
// Connect to actor's hovered signal
SignalData data;
HoverEventFunctor functor( data, false );
actor.HoveredSignal().Connect( &application, functor );
// Connect to root actor's hovered signal
SignalData rootData;
HoverEventFunctor rootFunctor( rootData ); // Consumes signal
rootActor.HoveredSignal().Connect( &application, rootFunctor );
// Emit a started signal
application.ProcessEvent( GenerateSingleHover( TouchPoint::Started, Vector2( 10.0f, 10.0f ) ) );
DALI_TEST_EQUALS( true, data.functorCalled, TEST_LOCATION );
DALI_TEST_EQUALS( true, rootData.functorCalled, TEST_LOCATION );
DALI_TEST_EQUALS( TouchPoint::Started, data.hoverEvent.points[0].state, TEST_LOCATION );
DALI_TEST_EQUALS( TouchPoint::Started, rootData.hoverEvent.points[0].state, TEST_LOCATION );
DALI_TEST_CHECK( actor == data.hoverEvent.points[0].hitActor );
DALI_TEST_CHECK( actor == rootData.hoverEvent.points[0].hitActor );
data.Reset();
rootData.Reset();
// Remove actor from Stage
Stage::GetCurrent().Remove( actor );
// Render and notify
application.SendNotification();
application.Render();
// Make root actor insensitive
rootActor.SetSensitive( false );
// Emit a motion signal, signalled with an interrupted (should get interrupted even if within root actor)
application.ProcessEvent( GenerateSingleHover( TouchPoint::Motion, Vector2 ( 200.0f, 200.0f )) );
DALI_TEST_EQUALS( false, data.functorCalled, TEST_LOCATION );
DALI_TEST_EQUALS( true, rootData.functorCalled, TEST_LOCATION );
DALI_TEST_EQUALS( TouchPoint::Interrupted, rootData.hoverEvent.points[0].state, TEST_LOCATION );
END_TEST;
}