Bugs item #2205858, was opened at 2008-10-29 01:09
Message generated for change (Comment added) made by henryju
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=2205858&group_id=61302
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core API
Group: Release 2.1
Status: Open
Resolution: None
Priority: 3
Private: No
Submitted By: Jevon Wright (jevonwright)
Assigned to: Julien HENRY (henryju)
Summary: WebTestCase compilation does not keep generics
Initial Comment:
The Maven task to compile the WebTestCase from WebTester doesn't copy over
generics from the template, e.g:
public Map<String, String> getAllHeaders() {
becomes
public Map getAllHeaders() {
Is this possible to improve in the compiler?
On a side note, are there any alternatives other than using Java compilation to
create the interface? Could we make WebTester extend TestCase?
----------------------------------------------------------------------
Comment By: Julien HENRY (henryju)
Date: 2008-10-29 09:24
Message:
The difference between WebTester and WebTestCase is if you are writing a
test case that already need to extend an abstract class (inheritance vs
delegation). Personnaly I only use inheritance (and WebTestCase) but I
suppose merging the two will be difficult (see for example the runBare
method in WebTestCase that is called by JUnit).
I'll try to improve the parser.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=2205858&group_id=61302
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development