Project: Eclipse_Platform_UI
Bug 356639 ModelElementTest tests are failing
Reported: 2011-09-02 16:12:06 | Status: verified fixed

It seems SnippetContainer is not abstract. I believe it should be. junit.framework.AssertionFailedError: The following concrete classes don't implement 'MApplicationElement': * SnippetContainer at junit.framework.Assert.fail(Assert.java:47) at org.eclipse.e4.ui.tests.application.ModelElementTest.testForMApplicationInterface(ModelElementTest.java:38) junit.framework.AssertionFailedError: The following concrete classes have a mixin as base 'MApplicationElement': * SnippetContainer at junit.framework.Assert.fail(Assert.java:47) at org.eclipse.e4.ui.tests.application.ModelElementTest.testForOptimalBaseClass(ModelElementTest.java:73)

Files changed in fix:
bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MSnippetContainer.java bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUiFactory.java bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWindow.java bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/impl/BasicPackageImpl.java bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/impl/WindowImpl.java bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/UiFactoryImpl.java bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/UiPackageImpl.java