Class NumberControlRenderer_PTest
- java.lang.Object
-
- org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
-
- org.eclipse.emf.ecp.view.internal.core.swt.renderer.NumberControlRenderer_PTest
-
public class NumberControlRenderer_PTest extends org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
-
-
Constructor Summary
Constructors Constructor Description NumberControlRenderer_PTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
before()
protected void
mockControl()
void
renderControlLabelAlignmentLeft()
void
renderControlLabelAlignmentNone()
void
testControlTextUpdateWithoutPrevalidation_InputTooBig()
void
testControlTextUpdateWithoutPrevalidation_InputTooSmall()
void
testControlTextUpdateWithPrevalidation()
void
testDatabindingServiceUsageChangeControl()
void
testDatabindingServiceUsageChangeControlToDoubleValue()
void
testDatabindingServiceUsageChangeObservable()
void
testDatabindingServiceUsageInitialBinding()
void
testEffectivelyReadOnlyDeactivatesControl()
void
testLabelServiceUsage()
Tests whether theEMFFormsLabelProvider
is used to get the labels of the control.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
-
renderControlLabelAlignmentLeft
public void renderControlLabelAlignmentLeft() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
-
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
-
testDatabindingServiceUsageChangeObservable
public void testDatabindingServiceUsageChangeObservable() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
-
testDatabindingServiceUsageChangeControl
public void testDatabindingServiceUsageChangeControl() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
-
testDatabindingServiceUsageChangeControlToDoubleValue
public void testDatabindingServiceUsageChangeControlToDoubleValue() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
-
testControlTextUpdateWithoutPrevalidation_InputTooBig
public void testControlTextUpdateWithoutPrevalidation_InputTooBig() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
-
testControlTextUpdateWithoutPrevalidation_InputTooSmall
public void testControlTextUpdateWithoutPrevalidation_InputTooSmall() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
-
testControlTextUpdateWithPrevalidation
public void testControlTextUpdateWithPrevalidation()
-
testEffectivelyReadOnlyDeactivatesControl
public void testEffectivelyReadOnlyDeactivatesControl() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
-
-