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
final MWindow window = createWindowWithOneView("Part Name");
		((Notifier) window.getParent()).eAdapters().add(
				new UIEventPublisher(getAppContext()));
		Realm.runWithDefault(SWTObservables.getRealm(getDisplay()),
				new Runnable() {
					public void run() {
						IEclipseContext context = getAppContext();
						PartRenderingEngine renderer = (PartRenderingEngine) getCFactory()
								.create(PartRenderingEngine.engineURI, context);
						Object o = renderer.createGui(window);
						assertNotNull(o);
						topWidget = (Widget) o;
						assertTrue(topWidget instanceof Shell);
						Shell shell = (Shell) topWidget;
						assertEquals("MyWindow", shell.getText());
						Control[] controls = shell.getChildren();
						assertEquals(1, controls.length);
						SashForm sash = (SashForm) controls[0];
						Control[] sashChildren = sash.getChildren();
						assertEquals(1, sashChildren.length);
						
						
						Composite marginHolder = (Composite) sashChildren[0];
						assertEquals(1, marginHolder.getChildren().length);
						CTabFolder folder = (CTabFolder) marginHolder
								.getChildren()[0];
						CTabItem item = folder.getItem(0);
						assertEquals("Part Name", item.getText());
						MPartSashContainer container = (MPartSashContainer) window
								.getChildren().get(0);