Bug 327980 Part activation history should not be perspective-dependent
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/EPartServiceTest.java
.createApplication();
		MWindow window = BasicFactoryImpl.eINSTANCE.createWindow();
		application.getChildren().add(window);
		application.setSelectedElement(window);
		MPart part = BasicFactoryImpl.eINSTANCE.createPart();
		window.getChildren().add(part);
		window.setSelectedElement(part);
		if (tagged) {
			part.getTags().add(EPartService.REMOVE_ON_HIDE_TAG);
		}
		initialize(applicationContext, application);
		getEngine().createGui(window);
		EPartService partService = (EPartService) window.getContext().get(
				EPartService.class.getName());
		partService.hidePart(part);
		assertFalse(part.isToBeRendered());
		assertEquals(tagged ? null : window, part.getParent());
	}
	public void testHidePart_Tagged_True() {
		testHidePart_Tagged(true);
	}
	public void testHidePart_Tagged_False() {
		testHidePart_Tagged(false);
	}
	public void testGetDirtyParts() {
		MApplication application = createApplication(1, new String[1][0]);
		MWindow window = application.getChildren().get(0);
		getEngine().createGui(window);
		EPartService partService = (EPartService) window.getContext().get(
				EPartService.class.getName());