public class NumberControlRenderer_PTest extends org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
Constructor and Description |
---|
NumberControlRenderer_PTest() |
Modifier and Type | Method and 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 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
public void testLabelServiceUsage() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
EMFFormsLabelProvider
is used to get the labels of the control.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 testDatabindingServiceUsageChangeControlToDoubleValue() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
public void testControlTextUpdateWithoutPrevalidation_InputTooBig() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
public void testControlTextUpdateWithoutPrevalidation_InputTooSmall() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
public void testControlTextUpdateWithPrevalidation()
public void testEffectivelyReadOnlyDeactivatesControl() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
Copyright © 2019. All rights reserved.