Community
Participate
Working Groups
Created attachment 167569 [details] Patch to add JUnit test for Bug 311542. This is a JUnit that exercises the issue documented in Bug 311542. I added a test311542() method to the DefectVerificationTests. A couple of other fixes were needed as well for this particular use case to succeed. I don't think the fixes should impact other tests. Running the WebImportOperationTest and DefectVerificationTests show the same failures with and without the fixes. The new test311542() test in DefectVerificationTests fails without the fix for Bug 311542 and passes with it's fix present. Since I'm getting failures with these tests, I didn't bother running other tests. It's not clear if this is to be expected for the current WTP 3.2, or if something is missing from my environment. I'll attach the problem war file in a separate attachment. The test expects to find it in the "TestData\WARImportTests" folder. Feel free to rework the test in any way you feel is appropriate.
Created attachment 167571 [details] A simple war file the exercises the problem.
Jason, you owned 311542 - can you help get this JUnit in place?
Thanks for the JUnit; checked into head for RC1. PMC approval is not required because this is test changes only.
Verified that running the DefectVerificationTestsSuite includes a functioning test311542() test using the S-3.2.0RC1-20100513125036 wtp-tests build.
closing