Class EMFFormsDomainExpanderImpl_Test
- java.lang.Object
-
- org.eclipse.emfforms.internal.core.services.domainexpander.defaultheuristic.EMFFormsDomainExpanderImpl_Test
-
public class EMFFormsDomainExpanderImpl_Test extends java.lang.Object
JUnit test cases forEMFFormsDomainExpanderImpl
.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description EMFFormsDomainExpanderImpl_Test()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
prepareDomainObject_SegmentsOverDmr()
Tests that are used over the whole dmr if segments are present.void
setUp()
Create a newEMFFormsDomainExpanderImpl
for every test case.void
tearDown()
void
testPrepareDomainObject()
void
testPrepareDomainObject_NoDMRExpander()
void
testPrepareDomainObjectAllDMRExpandersConsidered()
void
testPrepareDomainObjectAllDMRSegmentExpandersConsidered()
void
testPrepareDomainObjectBothNull()
void
testPrepareDomainObjectLastSegmentNeedsExpansion()
void
testPrepareDomainObjectNoSuitableDMRExpander()
void
testPrepareDomainObjectNoSuitableSegmentExpander()
void
testPrepareDomainObjectObjectNull()
void
testPrepareDomainObjectReferenceNull()
void
testPrepareDomainObjectUseCorrectDMRExpander()
void
testPrepareDomainObjectUseCorrectSegmentExpander()
-
-
-
Method Detail
-
setUp
public void setUp()
Create a newEMFFormsDomainExpanderImpl
for every test case.
-
tearDown
public void tearDown() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPrepareDomainObject_NoDMRExpander
public void testPrepareDomainObject_NoDMRExpander() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectNoSuitableDMRExpander
public void testPrepareDomainObjectNoSuitableDMRExpander() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectAllDMRExpandersConsidered
public void testPrepareDomainObjectAllDMRExpandersConsidered() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectUseCorrectDMRExpander
public void testPrepareDomainObjectUseCorrectDMRExpander() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectReferenceNull
public void testPrepareDomainObjectReferenceNull() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectObjectNull
public void testPrepareDomainObjectObjectNull() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectBothNull
public void testPrepareDomainObjectBothNull() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
prepareDomainObject_SegmentsOverDmr
public void prepareDomainObject_SegmentsOverDmr() throws EMFFormsExpandingFailedException
Tests that are used over the whole dmr if segments are present.- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObject
public void testPrepareDomainObject() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectLastSegmentNeedsExpansion
public void testPrepareDomainObjectLastSegmentNeedsExpansion() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectNoSuitableSegmentExpander
public void testPrepareDomainObjectNoSuitableSegmentExpander() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectAllDMRSegmentExpandersConsidered
public void testPrepareDomainObjectAllDMRSegmentExpandersConsidered() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
testPrepareDomainObjectUseCorrectSegmentExpander
public void testPrepareDomainObjectUseCorrectSegmentExpander() throws EMFFormsExpandingFailedException
- Throws:
EMFFormsExpandingFailedException
-
-