public class EnumComboViewerRenderer_PTest extends org.eclipse.emfforms.swt.common.test.AbstractControl_PTest<VControl>
EnumComboViewerSWTRenderer
.Constructor and Description |
---|
EnumComboViewerRenderer_PTest() |
Modifier and Type | Method and Description |
---|---|
void |
availableEnumValues()
Tests that the renderer only shows enum literals which fulfill both conditions:
they are returned by the item descriptor
they are not filtered out by the custom isInputtable annotation
|
void |
before() |
protected void |
mockControl() |
void |
testDatabindingServiceUsageChangeControl() |
void |
testDatabindingServiceUsageChangeObservable() |
void |
testDatabindingServiceUsageInitialBinding() |
void |
testEffectivelyReadOnlyDeactivatesControl() |
void |
testLabelServiceUsage()
Tests whether the
EMFFormsLabelProvider is used to get the labels of the control. |
void |
testRootDomainModelChanged() |
void |
testTearDown() |
void |
updateUIFromModelChange()
Verify that the renderer correctly updates the UI when the model is updated directly
as by updating with change sets from an EMFStore repository.
|
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()
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
public void testDatabindingServiceUsageChangeObservable() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
public void testDatabindingServiceUsageChangeControl() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
public void testLabelServiceUsage() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException, NoLabelFoundException
EMFFormsLabelProvider
is used to get the labels of the control.public void testEffectivelyReadOnlyDeactivatesControl() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
public void availableEnumValues() throws DatabindingFailedException
DatabindingFailedException
public void updateUIFromModelChange()
public void testRootDomainModelChanged() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeption
Copyright © 2019. All rights reserved.