mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gui-tests] add desktop entry checkbox existence check
This commit is contained in:
committed by
ARostovsky
parent
c83cca1c59
commit
5b7775bb71
@@ -30,6 +30,7 @@ import org.fest.swing.core.Robot
|
||||
import org.fest.swing.core.SmartWaitRobot
|
||||
import org.fest.swing.exception.ComponentLookupException
|
||||
import org.fest.swing.exception.WaitTimedOutError
|
||||
import org.fest.swing.fixture.AbstractComponentFixture
|
||||
import org.fest.swing.fixture.JButtonFixture
|
||||
import org.fest.swing.fixture.JCheckBoxFixture
|
||||
import org.fest.swing.fixture.JRadioButtonFixture
|
||||
@@ -261,6 +262,10 @@ abstract class FirstStart(val ideType: IdeType) {
|
||||
|
||||
return reference.get()
|
||||
}
|
||||
|
||||
fun exists(fixture: () -> AbstractComponentFixture<*, *, *>): Boolean {
|
||||
return GuiTestCase().exists(fixture)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user