Parent: 2bc8ca02a0a4339a56ef81c43dc855a8f9ce38e2
Author: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
Committer: Szymon Janc <szymon.janc@gmail.com>
Date: 2014-01-09 19:39:23
Tree: c88bf7786fd02266bd38e3d732a3a578fe717010
android/tester: Add test case state handling This patch make test state handling more stable by avoiding errors like i.e. double free of memory in teardown phase. Double state set is undesirable for test case and may cause errors. Now after every condition change, test state is checked if it can set test state to pass. In some places of test fail, returns are added to avoid furhter code execution.
Diffstat
| M | android/android-tester.c | | | 43 | ++++++++++++++++++++++++++++- - - - - - - - - - - - - - - |
1 files changed, 28 insertions(+), 15 deletions(-)