public void ComponentGroupListView_CanCreateWithNullWindow() { ComponentGroupListView listView; Assert.DoesNotThrow(() => { listView = new ComponentGroupListView(new TreeViewState(), null, null); listView.Reload(); }); }
private void CreateComponentGroupListView() { componentGroupListView = ComponentGroupListView.CreateList(SystemSelection as ComponentSystemBase, componentGroupListStates, componentGroupListStateNames, this); }
private void CreateComponentGroupListView() { componentGroupListView = ComponentGroupListView.CreateList(SystemSelection as ComponentSystemBase, componentGroupListStates, componentGroupListStateNames, x => SetEntityListSelection(x, false, true), () => SystemSelectionWorld); }
private void CreateComponentGroupListView() { componentGroupListView = ComponentGroupListView.CreateList(SystemSelection as ComponentSystemBase, componentGroupListStates, componentGroupListStateNames, SetComponentGroupSelection, () => WorldSelection); }
public void ComponentGroupListView_CanSetNullSystem() { var listView = new ComponentGroupListView(new TreeViewState(), EmptySystem, new FakeWindow()); Assert.DoesNotThrow(() => listView.SelectedSystem = null); }