Class TextControlRenderer_PTest
- java.lang.Object
-
- org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
-
- org.eclipse.emf.ecp.view.spi.core.swt.renderer.TextControlRenderer_PTest
-
public class TextControlRenderer_PTest extends org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
-
-
Constructor Summary
Constructors Constructor Description TextControlRenderer_PTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
before()
protected void
mockControl()
void
renderControlLabelAlignmentLeft()
void
renderControlLabelAlignmentNone()
void
testDatabindingServiceUsageChangeControl()
void
testDatabindingServiceUsageChangeObservable()
void
testDatabindingServiceUsageInitialBinding()
void
testEffectivelyReadOnlyDeactivatesControl()
void
testLabelServiceUsage()
Tests whether theEMFFormsLabelProvider
is used to get the labels of the control.void
testLabelServiceUsageTextField()
Tests whether theEMFFormsLabelProvider
is used to get the message of the text field of the text control.void
testProcessorCalled()
void
testTearDown()
-
Methods inherited from class org.eclipse.emfforms.swt.common.test.AbstractControl_PTest
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
-
-
-
-
Method Detail
-
before
public void before() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
testTearDown
public void testTearDown()
-
renderControlLabelAlignmentNone
public void renderControlLabelAlignmentNone() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
-
renderControlLabelAlignmentLeft
public void renderControlLabelAlignmentLeft() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
-
testLabelServiceUsage
public void testLabelServiceUsage() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
Tests whether theEMFFormsLabelProvider
is used to get the labels of the control.
-
mockControl
protected void mockControl() throws DatabindingFailedException
- Specified by:
mockControl
in classorg.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
- Throws:
DatabindingFailedException
-
testDatabindingServiceUsageInitialBinding
public void testDatabindingServiceUsageInitialBinding() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
-
testDatabindingServiceUsageChangeObservable
public void testDatabindingServiceUsageChangeObservable() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
-
testDatabindingServiceUsageChangeControl
public void testDatabindingServiceUsageChangeControl() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
-
testLabelServiceUsageTextField
public void testLabelServiceUsageTextField() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
Tests whether theEMFFormsLabelProvider
is used to get the message of the text field of the text control.
-
testEffectivelyReadOnlyDeactivatesControl
public void testEffectivelyReadOnlyDeactivatesControl() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
-
testProcessorCalled
public void testProcessorCalled() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, NoLabelFoundException, DatabindingFailedException
-
-