public class TextControlRenderer_PTest extends AbstractControl_PTest
AbstractControl_PTest.TestObservableValue
context, CUSTOM_VARIANT, databindingService, labelProvider, renderer, shell, templateProvider, 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 |
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() |
dispose, labelServiceUsage, mockControl, mockDatabindingIsUnsettable, renderControl, renderLabel, renderValidationIconLabelAlignmentLeft, renderValidationIconLabelAlignmentNone, setMockLabelAlignment, setup, 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 AbstractControl_PTest
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.Copyright © 2016. All rights reserved.