Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-incubator-dev] Unit tests


I noticed that several validator tests and a launch test were failing with NullPointer exceptions. The tests in question are:

testBuildConfig
This was failing do to a change in the way the Launch Configurations output tab's metadata was being saved. Since the OutputFilename is no longer used, the test case itself needed to be updated to the new launch configuration meta data. This is now passing


testXSLT2XPath20Fails
testValidXSLT
these tests were failing because the elementStackTrace.size() was being checked for > 2, when it needed to be checked for > 1, as the prior if statement check was checking == 1, so the xslElm was remaining null in the StyleSheetBuilder class.

This is fixed.

All tests now pass locally, and releasing the code to the build system.





Back to the top