lullaby/tests/layout_system_test.cc
// Test that the LayoutSystem will not respond to a OnDisabledEvent if
// LayoutIgnoreMode_None.
Test that the LayoutSystem will not respond to a OnDisabledEvent if
LayoutIgnoreMode_None.
Test that the LayoutSystem will not respond to a OnDisabledEvent if LayoutIgnoreMode_None .
TEST_F(QueuedLayoutSystemTest, DisabledEvent_IgnoreNone) {
  const Entity parent = CreateParent();
  const Entity child = CreateChild(parent, 1.0f);
  dispatcher_->Dispatch();
  ClearListeners();
  transform_system_->Disable(child);
  AssertListenersEmpty();
  dispatcher_->Dispatch();
  AssertListenersEmpty();
}
TEST_F ( QueuedLayoutSystemTest , DisabledEvent_IgnoreNone ) { const Entity parent = CreateParent ( ) ; const Entity child = CreateChild ( parent , 1.0f ) ; dispatcher_ -> Dispatch ( ) ; ClearListeners ( ) ; transform_system_ -> Disable ( child ) ; AssertListenersEmpty ( ) ; dispatcher_ -> Dispatch ( ) ; AssertListenersEmpty ( ) ; }
Test that the LayoutSystem will not respond to a OnDisabledEvent if
LayoutIgnoreMode_None.
Test that the LayoutSystem will not respond to a OnDisabledEvent if LayoutIgnoreMode_None .