Class ViewModelContextImpl_ITest
- java.lang.Object
-
- org.eclipse.emf.ecp.view.internal.context.ViewModelContextImpl_ITest
-
public class ViewModelContextImpl_ITest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ViewModelContextImpl_ITest.MyService
Dummy view-model service interface for testing.
-
Constructor Summary
Constructors Constructor Description ViewModelContextImpl_ITest()
-
Method Summary
-
-
-
Method Detail
-
setUpBeforeClass
public static void setUpBeforeClass()
-
setUp
public void setUp() throws DatabindingFailedException
- Throws:
DatabindingFailedException
-
tearDown
public void tearDown()
-
testGlobalImmediateServiceProviderCalled
public void testGlobalImmediateServiceProviderCalled()
-
testGlobalImmediateServiceProviderNotCalledFromChild
public void testGlobalImmediateServiceProviderNotCalledFromChild()
-
testLocalImmediateServiceProviderCalled
public void testLocalImmediateServiceProviderCalled()
-
testLocalImmediateServiceProviderCalledFromChild
public void testLocalImmediateServiceProviderCalledFromChild()
-
testLocalLazyServiceProviderCalled
public void testLocalLazyServiceProviderCalled()
-
testLocalLazyServiceProviderCalledFromChild
public void testLocalLazyServiceProviderCalledFromChild()
-
testGlobalLazyServiceProviderCalled
public void testGlobalLazyServiceProviderCalled()
-
testGlobalLazyServiceProviderCalledFromChild
public void testGlobalLazyServiceProviderCalledFromChild()
-
testLegacyServiceFactoryCalled
public void testLegacyServiceFactoryCalled()
-
testLegacyServiceFactoryCalledBeforeImmediateServices
public void testLegacyServiceFactoryCalledBeforeImmediateServices()
-
testOSGiServiceCalled
public void testOSGiServiceCalled()
-
testOSGiServiceCalledAfterUnregister
public void testOSGiServiceCalledAfterUnregister()
-
testOSGiServiceUnregisteredOnDispose
public void testOSGiServiceUnregisteredOnDispose()
-
testNoAvailableServiceReturnsNull
public void testNoAvailableServiceReturnsNull()
-
testConstructorServiceBeforeLocalImmediateParentContext
public void testConstructorServiceBeforeLocalImmediateParentContext()
-
testConstructorServiceBeforeLocalImmediateChildContext
public void testConstructorServiceBeforeLocalImmediateChildContext()
-
testLocalImmediateBeforeLocalLazyParentContext
public void testLocalImmediateBeforeLocalLazyParentContext()
-
testLocalImmediateBeforeLocalLazyChildContext
public void testLocalImmediateBeforeLocalLazyChildContext()
-
testLocalLazyBeforeGlobalImmediateParentContext
public void testLocalLazyBeforeGlobalImmediateParentContext()
-
testLocalLazyBeforeGlobalImmediateChildContext
public void testLocalLazyBeforeGlobalImmediateChildContext()
-
testGlobalImmediateBeforeGlobalLazyParentContext
public void testGlobalImmediateBeforeGlobalLazyParentContext()
-
testGlobalImmediateBeforeGlobalLazyChildContext
public void testGlobalImmediateBeforeGlobalLazyChildContext()
-
testChildContextWithProvider
public void testChildContextWithProvider()
Test the inheritance of provided view-model services from the parent context in a child, and overriding of the same by services additionally injected in the child.
-
testContextWithNullServiceProvider
public void testContextWithNullServiceProvider()
Test that it's okay to create contexts with null service-override providers.
-
testContextDispose
public void testContextDispose()
-
testChangeDomainModelWithServiceProvider
public void testChangeDomainModelWithServiceProvider()
Test that service-override providers are invoked again on re-initialization of the context following domain-model change.
-
testRootContextInitialValues
public void testRootContextInitialValues()
Test initialization of the root context's map of values.
-
testRootContextInitialValuesWithServiceProvider
public void testRootContextInitialValuesWithServiceProvider()
Test initialization of the root context's map of values with a service provider.
-
testChangeDomainModelOfChildContext
public void testChangeDomainModelOfChildContext()
Verify that we can change the domain model of a child context and not lose track of it.
-
testChildContextDomainModelListeners
public void testChildContextDomainModelListeners()
Verify that we can change the domain model of a child context and not lose track of it.
-
-