Parent: 97ee2aa4b91645e2d585d8525e7404f81522ef0f
Author: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
Committer: Szymon Janc <szymon.janc@gmail.com>
Date: 2014-01-14 20:30:51
Tree: 1f6bbd793bac533ada76a88c924cb9d68b97a57e
android/tester: Fix for asynchronous test case condition check This patch fixes checking the state of test case. Due to asynchronous of callbacks during state check of every single condition, state can be checked double time by callback condition check with pass status already set in meantime. Now state is kept as one decremented int. To pass it must be equal zero and cannot be checked set again.
Diffstat
| M | android/android-tester.c | | | 44 | ++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 20 insertions(+), 24 deletions(-)