public class LinkControlSWTRenderer_CrossReference_PTest extends org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
LinkControlSWTRenderer which use a non-containment EReference.| Constructor and Description |
|---|
LinkControlSWTRenderer_CrossReference_PTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
before() |
void |
createAndLinkButton_noReferenceStyleProperty()
By default, the 'create and link new' button should be shown for cross references (legacy behavior).
|
void |
createAndLinkButton_referenceStylePropertyFalse_readOnly()
Test that buttons are still created but invisible when the VControl is set to readonly.
|
void |
createAndLinkButton_referenceStylePropertyFalse() |
void |
createAndLinkButton_referenceStylePropertyTrue() |
void |
linkButton_referenceStyleFalse_readonly() |
void |
linkButton_referenceStyleFalse()
For cross references, the 'link' button must also be shown if the reference style property
is set to false.
|
void |
linkExistingButton_noReferenceStyle()
For cross 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, testGridDescriptionLabelAlignmentNonepublic LinkControlSWTRenderer_CrossReference_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>DatabindingFailedExceptionpublic void createAndLinkButton_noReferenceStyleProperty()
throws DatabindingFailedException,
NoRendererFoundException,
NoPropertyDescriptorFoundExeption
public void createAndLinkButton_referenceStylePropertyTrue()
throws DatabindingFailedException,
NoRendererFoundException,
NoPropertyDescriptorFoundExeption
public void createAndLinkButton_referenceStylePropertyFalse()
throws DatabindingFailedException,
NoRendererFoundException,
NoPropertyDescriptorFoundExeption
public void createAndLinkButton_referenceStylePropertyFalse_readOnly()
throws DatabindingFailedException,
NoRendererFoundException,
NoPropertyDescriptorFoundExeption
public void linkExistingButton_noReferenceStyle()
throws DatabindingFailedException,
NoRendererFoundException,
NoPropertyDescriptorFoundExeption
public void linkButton_referenceStyleFalse()
throws DatabindingFailedException,
NoRendererFoundException,
NoPropertyDescriptorFoundExeption
public void linkButton_referenceStyleFalse_readonly()
throws DatabindingFailedException,
NoRendererFoundException,
NoPropertyDescriptorFoundExeption
Copyright © 2020. All rights reserved.