| Unexpected WidgetNotFoundException in bot.editors() [message #32042] |
Sun, 12 April 2009 16:53  |
Matthew Gilliard Messages: 3 Registered: July 2009 |
Junior Member |
|
|
@Test
public void testEditors(){
SWTEclipseBot bot = new SWTEclipseBot();
assertTrue( "There are no editors open on startup", bot.editors().size()
== 0 );
}
I expect the above test to pass, as there are no open editors. But a
WidgetNotFoundException is thrown instead. Am I misunderstanding
something? It is (very slightly :) cumbersome to have to check if the
exception is thrown, so I'd rather not. Same thing happens with views(),
too.
Matthew
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03205 seconds