Skip to content
Failed

Changes

Summary

  1. Fixes SWBotDemo (details)
Commit 0686b5252aa8d75a8b351392ad6c21b6d1ee3dbf by Lars Vogel
Fixes SWBotDemo

SWTBot cannot find a "One" button. Removing this check to make
SWTBotDemo run again.


Exception in thread "main"
org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: Could
not find widget matching: (of type 'Button' and with mnemonic 'One' and
with style 'SWT.PUSH')
at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntilWidgetAppears(SWTBotFactory.java:473)
at org.eclipse.swtbot.swt.finder.SWTBot.waitUntilWidgetAppears(SWTBot.java:1)
at org.eclipse.swtbot.swt.finder.SWTBotFactory.widget(SWTBotFactory.java:420)
at org.eclipse.swtbot.swt.finder.SWTBot.widget(SWTBot.java:1)
at org.eclipse.swtbot.swt.finder.SWTBot.button(SWTBot.java:200)
at org.eclipse.swtbot.swt.finder.SWTBot.button(SWTBot.java:188)
at org.eclipse.swtbot.swt.demo.SWTBotDemo.playWithListeners(SWTBotDemo.java:153)
at org.eclipse.swtbot.swt.demo.SWTBotDemo.perform(SWTBotDemo.java:78)
at org.eclipse.swtbot.swt.demo.SWTBotDemo.start(SWTBotDemo.java:53)
at org.eclipse.swtbot.swt.demo.SWTBotDemo.main(SWTBotDemo.java:38)

Change-Id: Id3e83ee4958b490af947de781180039ad5e7ec83
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
The file was modified org.eclipse.swtbot.swt.demo/src/org/eclipse/swtbot/swt/demo/SWTBotDemo.java