TestBug25() refers to the old bug database at bugs.jspwiki.org (which is no longer online). The test is correct and there is a bug.

/Janne

On 4 Sep 2008, at 20:17, Harry Metske wrote:

Simon,

there seems to be something magic with the PageRenamerTest :-) , a lot of us
have been annoyed by it the last months.
There always appear to be exactly 2 failures, if I run the 2.8 (latest
build) version on Linux I get the failures on
- testAttachmentChange()
- testBug25()

Now, the testAttachmentChange() should fail because this functionality is not yet properly working in PageRenamer, but I personally never understood
testBug25(), and I also can't find any description of "Bug 25".
I'd like to get it explained, and if nobody can, I like to remove this test
also.

Harry


2008/9/4 Simon Kitching <[EMAIL PROTECTED]>

Hi,

Unit tests
 PageRenamerTest.testBug85_case1
and
 PageRenamerTest.testBug85_case3
fail for me.

They both throw a WikiException with message "Page does not exist anymore".

But as far as I can see from these tests, that is exactly what would be expected; these tests appear to be deliberately renaming a page that does not exist, and then do not try to catch the resulting exception. However I presume these tests were run before the release was made, and that they
passed. So I'm confused.

Not that it's very important (now that I've ruled out these test failures
as being related to my other jspwiki problems), but I'm curious.

This is from the 2.6.3 release, but the tests seem the same in 2.6.4..

Regards,
Simon




--
met vriendelijke groet,
Harry Metske
Telnr. +31-548-512395
Mobile +31-6-51898081

Reply via email to