[gui-tests] Remove some pauses in 'unit tests' tests

This commit is contained in:
mariia.morozova@jetbrains.com
2018-08-29 19:28:40 +03:00
parent 067511a690
commit a22c5d7ba8
@@ -219,10 +219,10 @@ object GuiTestUtilKt {
}, timeout)
}
inline fun <R> tryWithPause(exceptionClass: Class<out Exception>,
fun <R> tryWithPause(exceptionClass: Class<out Exception>,
condition: String = "try block will not throw ${exceptionClass.name} exception",
timeout: Timeout,
crossinline tryBlock: () -> R): R {
tryBlock: () -> R): R {
val exceptionRef: Ref<Exception> = Ref.create()
try {
return withPauseWhenNull (condition, timeout) {