public class TextControlRenderer_PTest extends org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
Constructor and Description |
---|
TextControlRenderer_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 |
testLabelServiceUsageTextField()
Tests whether the
EMFFormsLabelProvider is used to get the message of the text field of the text
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, NoLabelFoundException
public void renderControlLabelAlignmentLeft() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
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, NoLabelFoundException
public void testDatabindingServiceUsageChangeObservable() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
public void testDatabindingServiceUsageChangeControl() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
public void testLabelServiceUsageTextField() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
EMFFormsLabelProvider
is used to get the message of the text field of the text
control.public void testEffectivelyReadOnlyDeactivatesControl() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
Copyright © 2019. All rights reserved.