Community
Participate
Working Groups
The tests were updated to run correctly on linux (bug 300740), but have failed several times on Windows. The second failure could be because of a failed existence check when setting up the test (the test uses the same project as the previous test). The tests are being disabled for M7. Marker count for build.properties1 expected:<[3]> but was:<[0]> junit.framework.ComparisonFailure: Marker count for build.properties1 expected:<[3]> but was:<[0]> at org.eclipse.pde.ui.tests.build.properties.AbstractBuildValidationTest.verifyBuildPropertiesMarkers(AbstractBuildValidationTest.java:116) at org.eclipse.pde.ui.tests.build.properties.BuildPropertiesValidationTest.testBuildPropertiesTwo(BuildPropertiesValidationTest.java:86) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209) at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) Resource '/org.eclipse.pde.tests.build.properties.two/build.properties' already exists. org.eclipse.core.internal.resources.ResourceException: Resource '/org.eclipse.pde.tests.build.properties.two/build.properties' already exists. at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:305) at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:292) at org.eclipse.core.internal.resources.Resource.checkCopyRequirements(Resource.java:244) at org.eclipse.core.internal.resources.Resource.assertCopyRequirements(Resource.java:145) at org.eclipse.core.internal.resources.Resource.copy(Resource.java:546)
Ankur, can you try and reproduce the test failures on your windows machine?
Created attachment 169325 [details] Patch
Created attachment 169327 [details] test projects zip
Fix works on linux, I'm assuming that Ankur was fixing them on WinXP. Will try on the Mac too, just in case.
Created attachment 169361 [details] Updated Fix This fix includes the fix for bug 312783. It also adds the tests back into the main suite, organizes the imports and changes code formatting slightly.
Ankur, please double check my changes. Darin and Chris, please review.
+1 for my updated patch. Tests pass on Linux and Mac.
+1
*** Bug 312783 has been marked as a duplicate of this bug. ***
Tests pass on windows 7. Darin has asked to put these off until 3.7. It is very late in RC3 and the tests are in no way critical.
Created attachment 172842 [details] Updated Fix + cleanup + extra testcase Renamed the test cases to better names Added an extra test case for bug 292763
Created attachment 172843 [details] test projects zip will go to /org.eclipse.pde.ui.tests/tests/build.properties/build.properties.tests.zip Delete old zips from that folder
3.7 builds have started, so you can commit the changes if you are happy with them Ankur. After its committed I'll synch up and check that the changes don't break the linux tests.
Fixed in HEAD
The tests have been passing consistently. Verified.