mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Fix Stand-alone debugger SWTBot test
A bug was fixed in SWTBot and it doesn't throw IndexOutOfBoundsException anymore. A test was relying on that. Change-Id: I807aaa773b8544172cf33cbf1a04583fe171bd51 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
This commit is contained in:
parent
4d53a33882
commit
7afdc50165
2 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ public class StandaloneTest1 extends StandaloneTest {
|
|||
@SuppressWarnings("unused")
|
||||
SWTBotMenu projectMenu = textMenu.menu("Project");
|
||||
notThere = bot.menu("Project", 1);
|
||||
} catch (IndexOutOfBoundsException e) {
|
||||
} catch (WidgetNotFoundException e) {
|
||||
// correct
|
||||
}
|
||||
assertNull(notThere);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?pde version="3.8"?><target name="cdt" sequenceNumber="9">
|
||||
<?pde version="3.8"?><target name="cdt" sequenceNumber="10">
|
||||
<locations>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<unit id="org.apache.commons.compress" version="0.0.0"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue