Skip to main content

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

DOUG SATCHWELL wrote:
Ok - what about the one in XSLCompletionTest that is commented out? Its not new functionality, its a bug - so should it be included now, even though it fails?

If you are referring to the one in regards to "tran" and auto completing, the test itself isn't correct. The reason is that ICompletion proposal, always returns a Complete list of items, and doesn't actually do the filtering. The filtering happens farther up in the stack. The bug request for that particular test is still open, and hasn't been addressed yet. I need to find a better way to test that particular scenario. That's the reason that particular test is currently commented out, and will be uncommented or rewritten once I address bug 240170 (hopefully within the M2 timeframe).

https://bugs.eclipse.org/bugs/show_bug.cgi?id=240170.

Ideally we all should be writting tests that go along with any code that we check into CVS. As we fix the bugs we should have tests that verify that they are fixed, thus 240170 hasn't been fixed yet, so it's test is commented out until I can address it otherwise, there isn't a clean build.

Dave





Back to the top