我試圖執行2.2測試套件,直到這一點上,與下面的錯誤而停止:CTS執行停止中途
......
android.content.res.cts.ResourcesTest#testGetAssets...(pass) android.content.res.cts.ResourcesTest#testGetSystem...(pass) android.content.res.cts.ResourcesTest#testGetLayout...(pass) android.content.res.cts.ResourcesTest#testGetBoolean...(pass) android.content.res.cts.ResourcesTest#testgetFraction...(pass) android.content.res.cts.ResourcesTest#testParseBundleExtras...(pass)
CTS_INFO >>> Max ADB operations reached. Restarting ADB...
CTS_INFO >>> Restarting device ... 04:09:28 E/DeviceMonitor: Sending jdwp tracking request failed! Device(BABABEEFBABABEEF) disconnected Test stopped.
我檢查結果testResult.xml它顯示了大量的測試尚未執行:
Tests Passed 652
Tests Failed 10 Tests
Timed out 64
Tests Not Executed 23114
測試停止的原因是什麼?
上面的問題是當我運行測試時,maxTestCount已經設置爲0。 – alex 2010-12-13 08:49:45