Class MappingDomainModelReferenceConverter_Test
- java.lang.Object
-
- org.eclipse.emfforms.internal.core.services.databinding.mapping.MappingDomainModelReferenceConverter_Test
-
public class MappingDomainModelReferenceConverter_Test extends java.lang.Object
JUnit test cases forMappingDomainModelReferenceConverter
.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description MappingDomainModelReferenceConverter_Test()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
Creates a newMappingDomainModelReferenceConverter
for every test casestatic void
setupClass()
void
testConvertToListProperty()
void
testConvertToListPropertyNoFeature()
void
testConvertToListPropertyNoReferencePath()
void
testConvertToListPropertyWrongMapType()
void
testConvertToListPropertyWrongReference()
void
testConvertToValueProperty()
void
testConvertToValuePropertyNoFeature()
void
testConvertToValuePropertyNoReferencePaths()
void
testConvertToValuePropertyWrongMapType()
void
testConvertToValuePropertyWrongReference()
void
testGetSetting()
void
testIsApplicable()
Test method forMappingDomainModelReferenceConverter.isApplicable(VDomainModelReference)
.
-
-
-
Method Detail
-
setupClass
public static void setupClass()
-
setUp
public void setUp()
Creates a newMappingDomainModelReferenceConverter
for every test case
-
testIsApplicable
public void testIsApplicable()
Test method forMappingDomainModelReferenceConverter.isApplicable(VDomainModelReference)
.
-
testConvertToValueProperty
public void testConvertToValueProperty() throws DatabindingFailedException
Test method forMappingDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToValuePropertyNoReferencePaths
public void testConvertToValuePropertyNoReferencePaths() throws DatabindingFailedException
Test method forMappingDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToValuePropertyWrongMapType
public void testConvertToValuePropertyWrongMapType() throws DatabindingFailedException
Test method forMappingDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToValuePropertyWrongReference
public void testConvertToValuePropertyWrongReference() throws DatabindingFailedException
Test method forMappingDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToValuePropertyNoFeature
public void testConvertToValuePropertyNoFeature() throws DatabindingFailedException
Test method forMappingDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListProperty
public void testConvertToListProperty() throws DatabindingFailedException
Test method forMappingDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListPropertyNoReferencePath
public void testConvertToListPropertyNoReferencePath() throws DatabindingFailedException
Test method forMappingDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListPropertyWrongMapType
public void testConvertToListPropertyWrongMapType() throws DatabindingFailedException
Test method forMappingDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListPropertyWrongReference
public void testConvertToListPropertyWrongReference() throws DatabindingFailedException
Test method forMappingDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListPropertyNoFeature
public void testConvertToListPropertyNoFeature() throws DatabindingFailedException
Test method forMappingDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testGetSetting
public void testGetSetting() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
-