use of org.kie.workbench.common.screens.explorer.service.ActiveOptions in project kie-wb-common by kiegroup.
the class ProjectExplorerContentResolverTest method testResolveWithOUWithRepositoryNullQueryTechnicalView.
@Test
public void testResolveWithOUWithRepositoryNullQueryTechnicalView() throws Exception {
final ProjectExplorerContentQuery query = new ProjectExplorerContentQuery(repository, masterBranch);
final ActiveOptions options = new ActiveOptions();
options.add(Option.TREE_NAVIGATOR);
options.add(Option.EXCLUDE_HIDDEN_ITEMS);
options.add(Option.TECHNICAL_CONTENT);
query.setOptions(options);
resolver.resolve(query);
}
use of org.kie.workbench.common.screens.explorer.service.ActiveOptions in project kie-wb-common by kiegroup.
the class BaseViewPresenterTest method setup.
@Before
public void setup() {
when(view.getExplorer()).thenReturn(mock(Explorer.class));
when(explorerServiceActual.getContent(any(ProjectExplorerContentQuery.class))).thenReturn(content);
when(activeOptions.getOptions()).thenReturn(new ActiveOptions());
}
Aggregations