Class IndexSegmentExpander_Test
- java.lang.Object
-
- org.eclipse.emfforms.internal.core.services.segments.index.IndexSegmentExpander_Test
-
public class IndexSegmentExpander_Test extends java.lang.Object
JUnit tests forIndexSegmentExpander
.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description IndexSegmentExpander_Test()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testIsApplicable()
void
testIsApplicableNull()
void
testIsApplicableWrongSegmentType()
void
testPrepareDomainObjectBothNull()
void
testPrepareDomainObjectDomainObjectNull()
void
testPrepareDomainObjectEAttribute()
void
testPrepareDomainObjectIndexNotPresentAbstractReference()
void
testPrepareDomainObjectIndexNotPresentEmptyList()
void
testPrepareDomainObjectIndexNotPresentListTooSmall()
void
testPrepareDomainObjectIndexPresent()
void
testPrepareDomainObjectIndexPresentAbstractReference()
void
testPrepareDomainObjectIndexPresentAsLastListElement()
void
testPrepareDomainObjectNullReference()
void
testPrepareDomainObjectSegmentNull()
void
testPrepareDomainObjectSingleReference()
void
testPrepareDomainObjectWrongSegmentType()
-
-
-
Method Detail
-
setUp
public void setUp()
-
tearDown
public void tearDown()
-
testPrepareDomainObjectIndexNotPresentEmptyList
public void testPrepareDomainObjectIndexNotPresentEmptyList() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectIndexNotPresentListTooSmall
public void testPrepareDomainObjectIndexNotPresentListTooSmall() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectIndexPresent
public void testPrepareDomainObjectIndexPresent() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectIndexPresentAsLastListElement
public void testPrepareDomainObjectIndexPresentAsLastListElement() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectIndexNotPresentAbstractReference
public void testPrepareDomainObjectIndexNotPresentAbstractReference() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectIndexPresentAbstractReference
public void testPrepareDomainObjectIndexPresentAbstractReference() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectSingleReference
public void testPrepareDomainObjectSingleReference() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectEAttribute
public void testPrepareDomainObjectEAttribute() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectNullReference
public void testPrepareDomainObjectNullReference() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectSegmentNull
public void testPrepareDomainObjectSegmentNull() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectDomainObjectNull
public void testPrepareDomainObjectDomainObjectNull() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectBothNull
public void testPrepareDomainObjectBothNull() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectWrongSegmentType
public void testPrepareDomainObjectWrongSegmentType() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testIsApplicable
public void testIsApplicable()
-
testIsApplicableNull
public void testIsApplicableNull()
-
testIsApplicableWrongSegmentType
public void testIsApplicableWrongSegmentType()
-
-