Class IndexDomainModelReferenceConverter_Test
- java.lang.Object
-
- org.eclipse.emfforms.internal.core.services.databinding.index.IndexDomainModelReferenceConverter_Test
-
public class IndexDomainModelReferenceConverter_Test extends java.lang.Object
JUnit tests forIndexDomainModelReferenceConverter
.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description IndexDomainModelReferenceConverter_Test()
-
Method Summary
-
-
-
Method Detail
-
setupClass
public static void setupClass()
-
setUp
public void setUp()
Set up executed before every test case.
-
tearDown
public void tearDown() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testIsApplicable
public void testIsApplicable()
Test method forIndexDomainModelReferenceConverter.isApplicable(VDomainModelReference)
.
-
testConvertToValuePropertyIndex0
public void testConvertToValuePropertyIndex0() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToValuePropertyIndex1
public void testConvertToValuePropertyIndex1() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToValuePropertyNoReferencePath
public void testConvertToValuePropertyNoReferencePath() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToValuePropertyWrongListType
public void testConvertToValuePropertyWrongListType() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToValuePropertyNoFeature
public void testConvertToValuePropertyNoFeature() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToValuePropertyNull
public void testConvertToValuePropertyNull() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed (expected for this test case)
-
testConvertToValuePropertyWrongReferenceType
public void testConvertToValuePropertyWrongReferenceType() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToValueProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListPropertyIndex0
public void testConvertToListPropertyIndex0() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListPropertyIndex1
public void testConvertToListPropertyIndex1() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListPropertyNoReferencePath
public void testConvertToListPropertyNoReferencePath() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListPropertyWrongListType
public void testConvertToListPropertyWrongListType() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListPropertyNull
public void testConvertToListPropertyNull() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListPropertyWrongReferenceType
public void testConvertToListPropertyWrongReferenceType() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed
-
testConvertToListPropertyNoFeature
public void testConvertToListPropertyNoFeature() throws DatabindingFailedException
Test method forIndexDomainModelReferenceConverter.convertToListProperty(VDomainModelReference,EObject)
.- Throws:
DatabindingFailedException
- if the databinding failed (expected for this test case)
-
testGetSetting
public void testGetSetting() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
testGetSettingPrefixDMR
public void testGetSettingPrefixDMR() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
testGetSettingNoReferencePath
public void testGetSettingNoReferencePath() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
testGetSettingWrongListType
public void testGetSettingWrongListType() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
testGetSettingNoFeature
public void testGetSettingNoFeature() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
testGetSettingNull
public void testGetSettingNull() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
testGetSettingWrongReferenceType
public void testGetSettingWrongReferenceType() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
-