Search in sources :

Example 1 with ResourceDetailsLabelProvider

use of org.jboss.tools.openshift.internal.ui.wizard.newapp.ResourceDetailsLabelProvider in project jbosstools-openshift by jbosstools.

the class ResourceDetailsLabelProviderTest method init.

@BeforeClass
public static void init() {
    IParameter p1 = mock(IParameter.class);
    when(p1.getValue()).thenReturn("Dmitrii");
    IParameter p2 = mock(IParameter.class);
    when(p2.getValue()).thenReturn("Bocharov");
    templateParameters = new HashMap<>();
    templateParameters.put("name", p1);
    templateParameters.put("surname", p2);
    labelsProvider = new ResourceDetailsLabelProvider(templateParameters);
}
Also used : IParameter(com.openshift.restclient.model.template.IParameter) ResourceDetailsLabelProvider(org.jboss.tools.openshift.internal.ui.wizard.newapp.ResourceDetailsLabelProvider) BeforeClass(org.junit.BeforeClass)

Aggregations

IParameter (com.openshift.restclient.model.template.IParameter)1 ResourceDetailsLabelProvider (org.jboss.tools.openshift.internal.ui.wizard.newapp.ResourceDetailsLabelProvider)1 BeforeClass (org.junit.BeforeClass)1