IllegalArgumentExceptions in logging for simple test case [message #6068] |
Wed, 03 December 2008 12:27  |
Eclipse User |
|
|
|
Hello,
Now that I have a logging xml file in place, I am noticing some
IllegalArgumentExceptions reported in the Eclipse Console for a simple
test case derived from SWTEclipseBotTestCase.
The test case class:
public class DummySWTBotTestCase extends SWTBotEclipseTestCase{
public void setUp()
{
System.out.println("setting up test case");
}
public void tearDown()
{
System.out.println("tearing down test case");
}
public void testDummy1() throws Exception
{
System.out.println("#Testing# running testDummy1()");
bot.view("Navigator").show();
}
}
I only debugged the first such exception. The call stack for which is
attached. At net.sf.swtbot.utils.MessageFormat.toString(), the last
entry before getting into Java API code, the values for the arguments are.
s = "method {0} {{1}}, using matcher: {2}
args[0] = "ViewReference"
args[1] = ""
args[2] = ""
Has anyone else ran into anything similar with the logging for SWTBot or
have any suggestions for correcting this?
Thanks,
Joe
|
|
|
|
|
|
Re: IllegalArgumentExceptions in logging for simple test case [message #6155 is a reply to message #6142] |
Thu, 04 December 2008 17:21  |
Eclipse User |
|
|
|
Ketan Padegaonkar wrote:
> On 4/12/08 01:25, Joe Luebker wrote:
>> Thanks for the information Ketan. It looks like the defect is marked as
>> targeted for the 2.0.0 release. I am using the latest version of the
>> SWTBot jars that I could find, 2.0.0.1115-dev. Is there a nightly build
>> going to happen any time soon that will incorporate the fix for this
>> defect?
>
> I've pushed out revision 1164[1] which is the last nightly that'll be
> available on sf.net. Revisions after that have undergone major changes
> in terms of renaming all things net.sf.swtbot to org.eclipse.swtbot.
>
> Enjoy!
>
> [1] http://swtbot.sourceforge.net/artifacts/2.0-dev/
>
> -- Ketan
Thanks Ketan. I just installed that build and verified that the issue is
fixed in it.
Joe
|
|
|
Powered by
FUDForum. Page generated in 0.04174 seconds