|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emfforms.internal.core.services.label.EMFFormsLabelProviderDefaultImpl_ITest
public class EMFFormsLabelProviderDefaultImpl_ITest
JUnit integration test that tests that EMFFormsLabelProviderDefaultImpl
uses the correct services.
Constructor Summary | |
---|---|
EMFFormsLabelProviderDefaultImpl_ITest()
|
Method Summary | |
---|---|
void |
setUp()
Resets and newly configures the services for every test. |
static void |
setUpBeforeClass()
Set up that is executed before every test case. |
void |
tearDown()
Dispose the realm. |
static void |
tearDownClass()
Unregisters the services after every test. |
void |
testServiceUsageDescriptionOneParam()
Tests that EMFFormsLabelProviderDefaultImpl.getDescription(VDomainModelReference) uses the databinding
and emf
specific services. |
void |
testServiceUsageDescriptionTwoParam()
Tests that EMFFormsLabelProviderDefaultImpl.getDescription(VDomainModelReference, EObject) uses the
databinding
and emf specific services. |
void |
testServiceUsageDisplayNameOneParam()
Tests that EMFFormsLabelProviderDefaultImpl.getDisplayName(VDomainModelReference) uses the databinding
and emf
specific services. |
void |
testServiceUsageDisplayNameTwoParam()
Tests that EMFFormsLabelProviderDefaultImpl.getDisplayName(VDomainModelReference, EObject) uses the
databinding
and emf specific services. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EMFFormsLabelProviderDefaultImpl_ITest()
Method Detail |
---|
public static void setUpBeforeClass() throws DatabindingFailedException, org.osgi.framework.InvalidSyntaxException
DatabindingFailedException
- should not happen, just needs to be thrown because the databinding service
defines the throw in its interface.
org.osgi.framework.InvalidSyntaxException
- thrown by OSGIpublic void setUp() throws DatabindingFailedException
DatabindingFailedException
- should not happen, just needs to be thrown because the databinding service
defines the throw in its interface.public void tearDown()
public static void tearDownClass()
public void testServiceUsageDisplayNameOneParam() throws DatabindingFailedException, NoLabelFoundException
EMFFormsLabelProviderDefaultImpl.getDisplayName(VDomainModelReference)
uses the databinding
and emf
specific services.
DatabindingFailedException
- should not happen, just needs to be thrown because the databinding service
defines the throw in its interface.
NoLabelFoundException
- should not be thrownpublic void testServiceUsageDescriptionOneParam() throws DatabindingFailedException, NoLabelFoundException
EMFFormsLabelProviderDefaultImpl.getDescription(VDomainModelReference)
uses the databinding
and emf
specific services.
DatabindingFailedException
- should not happen, just needs to be thrown because the databinding service
defines the throw in its interface.
NoLabelFoundException
- should not be thrownpublic void testServiceUsageDisplayNameTwoParam() throws DatabindingFailedException, NoLabelFoundException
EMFFormsLabelProviderDefaultImpl.getDisplayName(VDomainModelReference, EObject)
uses the
databinding
and emf specific services.
DatabindingFailedException
- should not happen, just needs to be thrown because the databinding service
defines the throw in its interface.
NoLabelFoundException
- Should not be thrownpublic void testServiceUsageDescriptionTwoParam() throws DatabindingFailedException, NoLabelFoundException
EMFFormsLabelProviderDefaultImpl.getDescription(VDomainModelReference, EObject)
uses the
databinding
and emf specific services.
DatabindingFailedException
- should not happen, just needs to be thrown because the databinding service
defines the throw in its interface.
NoLabelFoundException
- Should not be thrown
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |