Bug 294493 XMI definition of part icon is ignored
The icon URI definition for parts seem to be ignored as the part tabs don't have any icons.
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/MPartTest.java
MPartStack stack = (MPartStack) container.getChildren()
								.get(0);
						MPart part = stack.getChildren().get(0);
						part.setName("Another Name");
						assertEquals("Another Name", item.getText());
					}
				});
	}
	private MWindow createWindowWithOneView(String partName) {
		MApplication application = (MApplication) getAppContext().get(
				MApplication.class.getName());
		final MWindow window = MApplicationFactory.eINSTANCE.createWindow();
		window.setHeight(300);
		window.setWidth(400);
		window.setName("MyWindow");
		MPartSashContainer sash = MApplicationFactory.eINSTANCE
				.createPartSashContainer();
		window.getChildren().add(sash);
		MPartStack stack = MApplicationFactory.eINSTANCE.createPartStack();
		sash.getChildren().add(stack);
		MPart contributedPart = MApplicationFactory.eINSTANCE.createPart();
		stack.getChildren().add(contributedPart);
		contributedPart.setName(partName);
		contributedPart
				.setURI("platform:/plugin/org.eclipse.e4.ui.tests/org.eclipse.e4.ui.tests.workbench.SampleView");
		application.getChildren().add(window);
		return window;
	}
}