public class EMFFormsRendererFactory_ITest extends Object
EMFFormsRendererFactory
.Constructor and Description |
---|
EMFFormsRendererFactory_ITest() |
Modifier and Type | Method and Description |
---|---|
static void |
beforeClass()
Setup the
BundleContext . |
void |
cleanUp()
Ungets the service.
|
void |
setUp()
Retrieves the
EMFFormsRendererFactory as a service. |
void |
testAddAdditionalRendererService()
|
void |
testAddRendererService()
|
void |
testRemoveAdditionalRendererService()
|
void |
testRemoveRendererService()
|
public static void beforeClass()
BundleContext
.public void setUp()
EMFFormsRendererFactory
as a service.public void cleanUp()
public void testAddRendererService() throws EMFFormsNoRendererException
EMFFormsRendererFactory.getRendererInstance(VElement, ViewModelContext)
.
Testing that a registered EMFFormsRendererService
is picked up.EMFFormsNoRendererException
public void testRemoveRendererService() throws EMFFormsNoRendererException
EMFFormsRendererFactory.getRendererInstance(VElement, ViewModelContext)
.
Testing that an IllegalStateException is thrown when no EMFFormsRendererService
is registered.EMFFormsNoRendererException
public void testAddAdditionalRendererService()
EMFFormsRendererFactory.getAdditionalRendererInstances(VElement, ViewModelContext)
.
Testing that a registered EMFFormsAdditionalRendererService
is picked up.public void testRemoveAdditionalRendererService()
EMFFormsRendererFactory.getAdditionalRendererInstances(VElement, ViewModelContext)
.
Testing that an IllegalStateException is thrown when no EMFFormsAdditionalRendererService
is registered.Copyright © 2019. All rights reserved.