What steps will reproduce the problem?
1.run test which has "clearLog()"
2.adb shell
3.logcat -d
What is the expected output? What do you see instead?
After clearLog, `logcat -d` still out lot of message before clearLog
What version of the product are you using? On what operating system?
robotium:4.3.1
android:4.1.2
host:ubuntu 12.04 64bit
Please provide any additional information below.
After I found this issue, I tried to read robotium source code, and I found that how clearLog works. Then I put it in my own code, and output the exit value of "logcat -c", I found that it always output "1". I'm really confused about that.
Sorry for my poor English.
Original issue reported on code.google.com by na...@foxmail.com on 19 Nov 2013 at 12:52
Original issue reported on code.google.com by
na...@foxmail.com
on 19 Nov 2013 at 12:52