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
perspectiveA.getChildren().add(placeholderA);
		perspectiveA.setSelectedElement(placeholderA);
		MPerspective perspectiveB = AdvancedFactoryImpl.eINSTANCE
				.createPerspective();
		perspectiveStack.getChildren().add(perspectiveB);
		MPlaceholder placeholderB = AdvancedFactoryImpl.eINSTANCE
				.createPlaceholder();
		placeholderB.setToBeRendered(false);
		placeholderB.setRef(part);
		perspectiveB.getChildren().add(placeholderB);
		perspectiveB.setSelectedElement(placeholderB);
		initialize(applicationContext, application);
		getEngine().createGui(window);
		EPartService partService = window.getContext().get(EPartService.class);
		partService.activate(part);
		assertNotNull(part.getContext());
		partService.switchPerspective(perspectiveB);
		assertNotNull(part.getContext());
		partService.hidePart(part, force);
		assertNotNull(part.getContext());
	}
	public void testHidePart_Bug327765_True() {
		testHidePart_Bug327765(true);
	}
	public void testHidePart_Bug327765_False() {
		testHidePart_Bug327765(false);
	}
	private void testHidePart_Bug327917(boolean force) {
		MApplication application = ApplicationFactoryImpl.eINSTANCE
				.createApplication();