public class EMFFormsIndexDMRExpander_Test extends Object
EMFFormsIndexDMRExpander.| Constructor and Description |
|---|
EMFFormsIndexDMRExpander_Test() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Creates a new
EMFFormsIndexDMRExpander and mocks its required services for every test case. |
void |
testIsApplicable()
|
void |
testIsApplicableNull()
|
void |
testIsApplicableWrongReferenceType()
|
void |
testPrepareDomainObjectBothNull()
|
void |
testPrepareDomainObjectNoListWithoutPrefixDMR()
|
void |
testPrepareDomainObjectNoListWithPrefixDMR()
|
void |
testPrepareDomainObjectObjectNull()
|
void |
testPrepareDomainObjectReferenceNull()
|
void |
testPrepareDomainObjectWithoutPrefixDMRIndex0()
|
void |
testPrepareDomainObjectWithoutPrefixDMRIndex1()
|
void |
testPrepareDomainObjectWithPrefixDMRIndex0()
|
void |
testPrepareDomainObjectWithPrefixDMRIndex1()
|
void |
testPrepareDomainObjectWrongReferenceType()
|
public void setUp()
EMFFormsIndexDMRExpander and mocks its required services for every test case.public void testPrepareDomainObjectReferenceNull()
throws EMFFormsExpandingFailedException
EMFFormsIndexDMRExpander.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.EMFFormsExpandingFailedExceptionpublic void testPrepareDomainObjectObjectNull()
throws EMFFormsExpandingFailedException
EMFFormsIndexDMRExpander.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.EMFFormsExpandingFailedExceptionpublic void testPrepareDomainObjectBothNull()
throws EMFFormsExpandingFailedException
EMFFormsIndexDMRExpander.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.EMFFormsExpandingFailedExceptionpublic void testPrepareDomainObjectWrongReferenceType()
throws EMFFormsExpandingFailedException
EMFFormsIndexDMRExpander.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.EMFFormsExpandingFailedExceptionpublic void testPrepareDomainObjectWithPrefixDMRIndex0()
throws EMFFormsExpandingFailedException,
DatabindingFailedException
public void testPrepareDomainObjectWithPrefixDMRIndex1()
throws EMFFormsExpandingFailedException,
DatabindingFailedException
public void testPrepareDomainObjectNoListWithPrefixDMR()
throws EMFFormsExpandingFailedException,
DatabindingFailedException
EMFFormsIndexDMRExpander.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.
Tests whether the correct exception is thrown if the domain model e feature of the prefix dmr does not describe a
list.public void testPrepareDomainObjectNoListWithoutPrefixDMR()
throws EMFFormsExpandingFailedException,
DatabindingFailedException
EMFFormsIndexDMRExpander.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference, org.eclipse.emf.ecore.EObject)
.
Tests whether the correct exception is thrown if the domain model e feature of the index dmr does not describe a
list.public void testPrepareDomainObjectWithoutPrefixDMRIndex0()
throws EMFFormsExpandingFailedException,
DatabindingFailedException
public void testPrepareDomainObjectWithoutPrefixDMRIndex1()
throws EMFFormsExpandingFailedException,
DatabindingFailedException
public void testIsApplicable()
public void testIsApplicableNull()
public void testIsApplicableWrongReferenceType()
Copyright © 2018. All rights reserved.