Class TextControlRendererUnsettable_PTest
- java.lang.Object
-
- org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
-
- org.eclipse.emf.ecp.view.spi.core.swt.renderer.TextControlRendererUnsettable_PTest
-
public class TextControlRendererUnsettable_PTest extends org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
JUnit tests that test whether the (un)set button is properly aligned for unsettable attributes when anVTUnsettableStyleProperty
is configured and defines the button's alignment.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description TextControlRendererUnsettable_PTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
before()
protected void
mockControl()
protected void
mockDatabindingIsSettableAndChangeable()
void
testTearDown()
void
unsetButtonAlignmentLeftSet()
void
unsetButtonAlignmentLeftSetToUnsetToSet()
void
unsetButtonAlignmentLeftUnset()
void
unsetButtonAlignmentLeftUnsetToSetToUnset()
void
unsetButtonAlignmentRightSet()
void
unsetButtonAlignmentRightSetToUnsetToSet()
void
unsetButtonAlignmentRightUnset()
void
unsetButtonAlignmentRightUnsetToSetToUnset()
void
unsetButtonPlacementLeftAndAlignmentLeft()
void
unsetButtonPlacementLeftAndAlignmentRight()
void
unsetButtonPlacementRightAndAlignmentLeft()
void
unsetButtonPlacementRightAndAlignmentRight()
-
Methods inherited from class org.eclipse.emfforms.swt.common.test.AbstractControl_PTest
createResource, dispose, getContext, getDatabindingService, getLabelProvider, getRenderer, getShell, getTemplateProvider, getvControl, labelServiceUsage, mockControl, renderControl, renderLabel, renderValidationIconLabelAlignmentLeft, renderValidationIconLabelAlignmentNone, setContext, setDatabindingService, setLabelProvider, setMockLabelAlignment, setRenderer, setShell, setTemplateProvider, setup, setvControl, testGridDescriptionLabelAlignmentLeft, testGridDescriptionLabelAlignmentNone
-
-
-
-
Method Detail
-
before
public void before() throws DatabindingFailedException, NoLabelFoundException
-
testTearDown
public void testTearDown()
-
mockDatabindingIsSettableAndChangeable
protected void mockDatabindingIsSettableAndChangeable() throws DatabindingFailedException
- Overrides:
mockDatabindingIsSettableAndChangeable
in classorg.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
- Throws:
DatabindingFailedException
-
mockControl
protected void mockControl() throws DatabindingFailedException
- Specified by:
mockControl
in classorg.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
- Throws:
DatabindingFailedException
- See Also:
AbstractControl_PTest.mockControl()
-
unsetButtonAlignmentLeftUnset
public void unsetButtonAlignmentLeftUnset() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
unsetButtonAlignmentLeftUnsetToSetToUnset
public void unsetButtonAlignmentLeftUnsetToSetToUnset() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
unsetButtonAlignmentLeftSet
public void unsetButtonAlignmentLeftSet() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
unsetButtonAlignmentLeftSetToUnsetToSet
public void unsetButtonAlignmentLeftSetToUnsetToSet() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
unsetButtonAlignmentRightUnset
public void unsetButtonAlignmentRightUnset() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
unsetButtonAlignmentRightUnsetToSetToUnset
public void unsetButtonAlignmentRightUnsetToSetToUnset() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
unsetButtonAlignmentRightSet
public void unsetButtonAlignmentRightSet() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
unsetButtonAlignmentRightSetToUnsetToSet
public void unsetButtonAlignmentRightSetToUnsetToSet() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
unsetButtonPlacementLeftAndAlignmentRight
public void unsetButtonPlacementLeftAndAlignmentRight() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
unsetButtonPlacementLeftAndAlignmentLeft
public void unsetButtonPlacementLeftAndAlignmentLeft() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
unsetButtonPlacementRightAndAlignmentRight
public void unsetButtonPlacementRightAndAlignmentRight() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
unsetButtonPlacementRightAndAlignmentLeft
public void unsetButtonPlacementRightAndAlignmentLeft() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
-
-