projects
/
platform
/
core
/
accessibility
/
universal-switch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeeaeff
)
Fixes invalid error message, when timeouting on gui() call
76/169576/3
author
Radoslaw Cybulski
<r.cybulski@partner.samsung.com>
Wed, 7 Feb 2018 14:36:35 +0000
(15:36 +0100)
committer
Lukasz Oleksak
<l.oleksak@samsung.com>
Thu, 8 Feb 2018 15:03:41 +0000
(15:03 +0000)
Change-Id: I20016ca4c0405ab9f371ff35971c646e8e01578e
src/batch/BatchRunner.cpp
patch
|
blob
|
history
diff --git
a/src/batch/BatchRunner.cpp
b/src/batch/BatchRunner.cpp
index
0c8cfbf
..
896be30
100644
(file)
--- a/
src/batch/BatchRunner.cpp
+++ b/
src/batch/BatchRunner.cpp
@@
-630,6
+630,8
@@
private:
if (pred()) return true;
auto res = h.waitForCondition(timeout, pred);
if (!res) {
+ if (searchForAnyChange)
+ throw EvaluationFailure{} << "wait for gui: operation timeouted, context change never came";
throw EvaluationFailure{} << "wait for gui ('" << name << "'): operation timeouted, " <<
"current root name is '" << h->rootName << "'";
}