Class EMFKeyAttributeValueProperty_Test
- java.lang.Object
-
- org.eclipse.emfforms.internal.core.services.databinding.keyattribute.EMFKeyAttributeValueProperty_Test
-
public class EMFKeyAttributeValueProperty_Test extends java.lang.Object
JUnit test cases forEMFKeyAttributeValueProperty
.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description EMFKeyAttributeValueProperty_Test()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testDoGetValueEmptyList()
Test method forEMFKeyAttributeValueProperty.doGetValue(java.lang.Object)
.void
testDoGetValueEObjectKeyPresent()
Test method forEMFKeyAttributeValueProperty.doGetValue(java.lang.Object)
.void
testDoGetValueKeyNotPresent()
Test method forEMFKeyAttributeValueProperty.doGetValue(java.lang.Object)
.void
testDoGetValueKeyPresent()
Test method forEMFKeyAttributeValueProperty.doGetValue(java.lang.Object)
.void
testDoSetValueNewValueDatabindingFails()
void
testDoSetValueNewValueDoesntContainKey()
void
testDoSetValueNoOldKeyPresent()
void
testDoSetValueOldKeyPresent()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
tearDown
public void tearDown() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDoGetValueKeyPresent
public void testDoGetValueKeyPresent() throws DatabindingFailedException
Test method forEMFKeyAttributeValueProperty.doGetValue(java.lang.Object)
.- Throws:
DatabindingFailedException
-
testDoGetValueKeyNotPresent
public void testDoGetValueKeyNotPresent() throws DatabindingFailedException
Test method forEMFKeyAttributeValueProperty.doGetValue(java.lang.Object)
.- Throws:
DatabindingFailedException
-
testDoGetValueEmptyList
public void testDoGetValueEmptyList() throws DatabindingFailedException
Test method forEMFKeyAttributeValueProperty.doGetValue(java.lang.Object)
.- Throws:
DatabindingFailedException
-
testDoGetValueEObjectKeyPresent
public void testDoGetValueEObjectKeyPresent() throws DatabindingFailedException
Test method forEMFKeyAttributeValueProperty.doGetValue(java.lang.Object)
.- Throws:
DatabindingFailedException
-
testDoSetValueNewValueDoesntContainKey
public void testDoSetValueNewValueDoesntContainKey() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
testDoSetValueNewValueDatabindingFails
public void testDoSetValueNewValueDatabindingFails() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
testDoSetValueNoOldKeyPresent
public void testDoSetValueNoOldKeyPresent() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
testDoSetValueOldKeyPresent
public void testDoSetValueOldKeyPresent() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
-