mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gui-test] fix assertion order of actual and expected texts
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ class GoToClassFocusTest : GuiTestCase() {
|
||||
}
|
||||
with(guiTestCase) {
|
||||
val textfield = textfield("", searchWindow, guiTestCase.defaultTimeout)
|
||||
Assert.assertEquals(textfield.target().text, typedString)
|
||||
Assert.assertEquals(typedString, textfield.target().text)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -91,7 +91,7 @@ class GoToClassTwiceFocusTest : GuiTestCase() {
|
||||
}
|
||||
with(guiTestCase) {
|
||||
val textfield = textfield("", searchWindow, guiTestCase.defaultTimeout)
|
||||
Assert.assertEquals(textfield.target().text, typedString)
|
||||
Assert.assertEquals(typedString, textfield.target().text)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ class SearchEverywhereFocusTest : GuiTestCase() {
|
||||
private fun GuiTestCase.checkTextInSearchWindow(searchWindow: Container, expectedText: String) {
|
||||
with(this) {
|
||||
val textfield = textfield("", searchWindow, this.defaultTimeout)
|
||||
Assert.assertEquals(textfield.target().text, expectedText)
|
||||
Assert.assertEquals(expectedText, textfield.target().text)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user