Bug 327592 Remove weird context setting of ctxt.set(IEclipseContext.class.getName(), ctxt)
Getting is not so bad but setting is pretty weird. This should not be necessary.
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/RenderingTestCase.java
IEclipseContext serviceContext = EclipseContextFactory
				.getServiceContext(Activator.getDefault().getBundle()
						.getBundleContext());
		appContext = E4Workbench.createWorkbenchContext(serviceContext,
				RegistryFactory.getRegistry(), null, null);
		MApplication app = ApplicationFactoryImpl.eINSTANCE.createApplication();
		appContext.set(MApplication.class.getName(), app);
		appContext.set(IContributionFactory.class.getName(),
				contributionFactory);
		appContext.set(IEclipseContext.class.getName(), appContext);
		app.setContext(appContext);
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see junit.framework.TestCase#tearDown()
	 */
	@Override
	protected void tearDown() throws Exception {
		System.out.print("tearDown");
		super.tearDown();
		
		appContext = null;
		renderer = null;
		if (topWidget != null) {
			if (!topWidget.isDisposed())
				topWidget.dispose();