Hi,
No problem, I will set it protected.
++
Julien
----- Message d'origine ----
De : Dirk Jerusalem <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Mercredi, 10 Janvier 2007, 13h52mn 05s
Objet : [Jwebunit-users] using WebTester migrating from 1.2 to 1.4
Hi
all,
when using jWebUnit
1.2 I found that using the tester of WebTestCase was a good
possibility to capsule code I wanted to reuse very often.
So my TestCases
looked like this:
public class
RendererParameterTest extends WebTestCase {
private AdminCenterHelper
acHelper;
private RendererParameterHelper
rendererParameterHelper;
public
RendererParameterTest(String name)
{
super(name);
}
public void setUp() {
String
adminUrl =
AdminCenterHelper.getAdminUrl();
getTestContext().setBaseUrl(adminUrl);
beginAt("/abxadmin");
acHelper = new
AdminCenterHelper(tester);
rendererParameterHelper =
new RendererParameterHelper(tester);
}
and like you can see
it was easy to use HelperClasses which looked similar to this
one:
public class
RendererParameterHelper extends WebTestCase {
public
RendererParameterHelper(WebTester tester) {
this.tester =
tester;
uiHelper = new
WebUIHelper(tester);
}
so how can I do this
now, because the tester in WebTestCase is declared private? Any experience with
other architectures? Any suggestions?
thanx for any help
in advance,
Dirk.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users