use of org.kie.workbench.common.screens.archetype.mgmt.client.table.config.ArchetypeTableConfiguration in project kie-wb-common by kiegroup.
the class AbstractArchetypeTablePresenterTest method isShowStatusColumnWhenIsTrueTest.
@Test
public void isShowStatusColumnWhenIsTrueTest() {
final ArchetypeTableConfiguration config = new ArchetypeTableConfiguration.Builder().withStatusColumn().build();
doReturn(config).when(presenter).getConfiguration();
final boolean result = presenter.isShowStatusColumn();
assertTrue(result);
}
use of org.kie.workbench.common.screens.archetype.mgmt.client.table.config.ArchetypeTableConfiguration in project kie-wb-common by kiegroup.
the class AbstractArchetypeTablePresenterTest method isShowIncludeColumnWhenIsFalseTest.
@Test
public void isShowIncludeColumnWhenIsFalseTest() {
final ArchetypeTableConfiguration config = new ArchetypeTableConfiguration.Builder().build();
doReturn(config).when(presenter).getConfiguration();
final boolean result = presenter.isShowIncludeColumn();
assertFalse(result);
}
use of org.kie.workbench.common.screens.archetype.mgmt.client.table.config.ArchetypeTableConfiguration in project kie-wb-common by kiegroup.
the class SpaceArchetypeTablePresenterTest method initConfigurationTest.
@Test
public void initConfigurationTest() {
final ArchetypeTableConfiguration expectedConfig = new ArchetypeTableConfiguration.Builder().withStatusColumn().withIncludeColumn().build();
assertEquals(expectedConfig, presenter.initConfiguration());
}
Aggregations