public class LinkControlSWTRenderer_Containment_PTest extends org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
LinkControlSWTRenderer
which use a containment EReference
.Constructor and Description |
---|
LinkControlSWTRenderer_Containment_PTest() |
Modifier and Type | Method and Description |
---|---|
void |
before() |
void |
createAndLinkButton_noReferenceStyle() |
void |
createAndLinkButton_referenceStyleFalse()
For containment references, the 'create and link new' button must also be shown if the reference style property
is set to false.
|
void |
linkButton_referenceStyleFalse_readOnly()
Test that buttons are still created but invisible when the VControl is set to readonly.
|
void |
linkButton_referenceStyleFalse()
For containment references, the 'link' button must not be shown if the reference style property
is set to false.
|
void |
linkExistingButton_noReferenceStyle_readOnly() |
void |
linkExistingButton_noReferenceStyle()
For containment references, the 'link' button must be shown by default (:= reference style == true).
|
protected void |
mockControl() |
void |
tearDown() |
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 LinkControlSWTRenderer_Containment_PTest()
public void before() throws DatabindingFailedException, NoLabelFoundException
public void tearDown()
protected void mockControl() throws DatabindingFailedException
mockControl
in class org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
DatabindingFailedException
public void createAndLinkButton_noReferenceStyle() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeption
public void createAndLinkButton_referenceStyleFalse() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeption
public void linkExistingButton_noReferenceStyle() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeption
public void linkExistingButton_noReferenceStyle_readOnly() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeption
public void linkButton_referenceStyleFalse() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeption
public void linkButton_referenceStyleFalse_readOnly() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeption
Copyright © 2019. All rights reserved.