Hi,

I've downloaded the latest source from jwebunit/fitplugin cvs.  I integrated
with fitnesse and I was getting the following problem:

java.lang.NoSuchMethodException: assertForm( java.lang.String)
        at
net.sourceforge.jwebunit.util.reflect.MethodInvoker.getMethod(MethodInvoker.
java:58)
        at 
net.sourceforge.jwebunit.fit.WebFixture.getInvoker(WebFixture.java:191)

java.lang.NoSuchMethodException: assertFormElementEquals( java.lang.String)
        at
net.sourceforge.jwebunit.util.reflect.MethodInvoker.getMethod(MethodInvoker.
java:58)
        at 
net.sourceforge.jwebunit.fit.WebFixture.getInvoker(WebFixture.java:191)

I did some poking around and changed AssertionMap code a little bit from:

        map.put("title", "title equals");
        map.put("form element", "form element equals");
        map.put("title key", "title equals key");
        map.put("option", "option equals");

to:

        map.put("title", "TitleEquals");
        map.put("title key", "TitleKeyEquals");
        map.put("option", "OptionEquals");
        map.put("form", "FormPresent");
        map.put("form element", "FormElementPresent");
        map.put("button", "ButtonPresent");
        map.put("submit button", "SubmitButtonPresent");
        map.put("link present", "LinkPresentWithText");
        map.put("text", "TextPresent");

and it works now.  Have I done anything goofy?  Or is this alright?

TIA,

Rajesh


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Jwebunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to