Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
01789eee
Commit
01789eee
authored
6 years ago
by
Viktoria.Shirunova
Browse files
Options
Download
Email Patches
Plain Diff
[gui-test] findComponentWithTimeout: corrected output of timeout in the exception message
parent
f97d7f70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/testGuiFramework/src/com/intellij/testGuiFramework/impl/ComponentFixtureUtils.kt
+2
-1
...m/intellij/testGuiFramework/impl/ComponentFixtureUtils.kt
with
2 additions
and
1 deletion
+2
-1
platform/testGuiFramework/src/com/intellij/testGuiFramework/impl/ComponentFixtureUtils.kt
+
2
-
1
View file @
01789eee
...
...
@@ -12,6 +12,7 @@ import com.intellij.testGuiFramework.fixtures.extended.ExtendedJTreePathFixture
import
com.intellij.testGuiFramework.fixtures.extended.ExtendedTableFixture
import
com.intellij.testGuiFramework.framework.GuiTestUtil
import
com.intellij.testGuiFramework.framework.Timeouts.defaultTimeout
import
com.intellij.testGuiFramework.framework.toPrintable
import
com.intellij.testGuiFramework.impl.GuiTestUtilKt.typeMatcher
import
com.intellij.testGuiFramework.util.FinderPredicate
import
com.intellij.testGuiFramework.util.Predicate
...
...
@@ -412,7 +413,7 @@ inline fun <reified ComponentType : Component, ContainerComponentType : Containe
}
catch
(
e
:
WaitTimedOutError
)
{
throw
ComponentLookupException
(
"Unable to find ${ComponentType::class.java.name} ${if (this?.target() != null) "
in
container
$
{
this
.
target
()}
" else ""} in $timeout seconds"
)
"Unable to find ${ComponentType::class.java.name} ${if (this?.target() != null) "
in
container
$
{
this
.
target
()}
" else ""} in $
{
timeout
.toPrintable()}
seconds"
)
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help