public class EMFFormsDMRExpanderDefaultHeuristic_Test extends Object
EMFFormsDMRExpanderDefaultHeuristic
.Constructor and Description |
---|
EMFFormsDMRExpanderDefaultHeuristic_Test() |
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Creates a new
EMFFormsDMRExpanderDefaultHeuristic and sets its ReportService for every test case. |
void |
testIsApplicable()
|
void |
testIsApplicableNotApplicable()
|
void |
testIsApplicableNull()
|
void |
testPrepareDomainObject_InvalidReferencePath()
Tests that an invalid reference path does not cause an Exception
|
void |
testPrepareDomainObject()
|
void |
testPrepareDomainObjectBothNull()
|
void |
testPrepareDomainObjectEmptyReference()
|
void |
testPrepareDomainObjectList()
|
void |
testPrepareDomainObjectObjectNull()
|
void |
testPrepareDomainObjectReferenceNull()
|
void |
testPrepareDomainObjectWrongReference()
|
public EMFFormsDMRExpanderDefaultHeuristic_Test()
public void setUp()
EMFFormsDMRExpanderDefaultHeuristic
and sets its ReportService
for every test case.public void testIsApplicable()
public void testIsApplicableNotApplicable()
public void testIsApplicableNull()
public void testPrepareDomainObject() throws EMFFormsExpandingFailedException
EMFFormsDMRExpanderDefaultHeuristic.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.EMFFormsExpandingFailedException
- if the expansion fails.public void testPrepareDomainObjectList() throws EMFFormsExpandingFailedException
EMFFormsDMRExpanderDefaultHeuristic.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.EMFFormsExpandingFailedException
- if the expansion fails.public void testPrepareDomainObjectEmptyReference() throws EMFFormsExpandingFailedException
EMFFormsDMRExpanderDefaultHeuristic.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.EMFFormsExpandingFailedException
- if the expansion fails.public void testPrepareDomainObject_InvalidReferencePath() throws EMFFormsExpandingFailedException
EMFFormsExpandingFailedException
public void testPrepareDomainObjectReferenceNull() throws EMFFormsExpandingFailedException
EMFFormsDMRExpanderDefaultHeuristic.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.EMFFormsExpandingFailedException
- if the expansion fails.public void testPrepareDomainObjectObjectNull() throws EMFFormsExpandingFailedException
EMFFormsDMRExpanderDefaultHeuristic.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.EMFFormsExpandingFailedException
- if the expansion fails.public void testPrepareDomainObjectBothNull() throws EMFFormsExpandingFailedException
EMFFormsDMRExpanderDefaultHeuristic.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.EMFFormsExpandingFailedException
- if the expansion fails.public void testPrepareDomainObjectWrongReference() throws EMFFormsExpandingFailedException
EMFFormsDMRExpanderDefaultHeuristic.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.EMFFormsExpandingFailedException
- if the expansion fails.Copyright © 2019. All rights reserved.