public class BooleanControlRenderer_PTest extends org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
Constructor and Description |
---|
BooleanControlRenderer_PTest() |
Modifier and Type | Method and Description |
---|---|
void |
before() |
protected void |
mockControl() |
void |
renderControlLabelAlignmentLeft() |
void |
renderControlLabelAlignmentNone() |
void |
testDatabindingServiceUsageChangeControl() |
void |
testDatabindingServiceUsageChangeObservable() |
void |
testDatabindingServiceUsageInitialBinding() |
void |
testEffectivelyReadOnlyDeactivatesControl() |
void |
testLabelServiceUsage()
Tests whether the
EMFFormsLabelProvider is used to get the labels of the control. |
void |
testTearDown() |
createResource, dispose, getContext, getDatabindingService, getLabelProvider, getRenderer, getShell, getTemplateProvider, getvControl, labelServiceUsage, mockControl, mockDatabindingIsSettableAndChangeable, renderControl, renderLabel, renderValidationIconLabelAlignmentLeft, renderValidationIconLabelAlignmentNone, setContext, setDatabindingService, setLabelProvider, setMockLabelAlignment, setRenderer, setShell, setTemplateProvider, setup, setvControl, testGridDescriptionLabelAlignmentLeft, testGridDescriptionLabelAlignmentNone
public void before() throws DatabindingFailedException
DatabindingFailedException
public void testTearDown()
public void renderControlLabelAlignmentNone() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
public void renderControlLabelAlignmentLeft() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
protected void mockControl() throws DatabindingFailedException
mockControl
in class org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
DatabindingFailedException
public void testDatabindingServiceUsageInitialBinding() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
public void testDatabindingServiceUsageChangeObservable() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
public void testDatabindingServiceUsageChangeControl() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
public void testLabelServiceUsage() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, NoLabelFoundException
EMFFormsLabelProvider
is used to get the labels of the control.public void testEffectivelyReadOnlyDeactivatesControl() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
Copyright © 2019. All rights reserved.