d80e6b6109c52d57ebba675c1f97fcb2ca1d93c5 |
|
03-Oct-2016 |
Felipe Leme <felipeal@google.com> |
Moar Dumpstate refactoring and unit testing: - Moves UpdateProgress() into Dumpstate object. - Tests RunCommand.AsRoot(). - Tests RunCommand.DropRoot(). - Test update progress. BUG: 26379932 BUG: 31807540 Test: mmm -j32 frameworks/native/cmds/dumpstate/ && adb push ${ANDROID_PRODUCT_OUT}/data/nativetest/dumpstate_test* /data/nativetest && adb shell /data/nativetest/dumpstate_test/dumpstate_test Change-Id: I364d097487e090d201eb2e5f08fc794dce555510
/frameworks/native/cmds/dumpstate/tests/dumpstate_test_fixture.cpp
|
fd8affa8840d2d9f7f320201521a702919c677ff |
|
01-Oct-2016 |
Felipe Leme <felipeal@google.com> |
Moar tests for RunCommand: - Command not found. - Command returns non-0 status (and fixed return of RunCommand). - Command times out. - Command is killed. - Command crashes. - Command logs initial message. BUG: 31807540 Test: mmm -j32 frameworks/native/cmds/dumpstate/ && adb push ${ANDROID_PRODUCT_OUT}/data/nativetest/dumpstate_test* /data/nativetest && adb shell /data/nativetest/dumpstate_test/dumpstate_test Change-Id: I6459846791e45f4ebc4433b83feec81be4050167
/frameworks/native/cmds/dumpstate/tests/dumpstate_test_fixture.cpp
|
4c2d66379753e2b7680811726424026b9e54b18a |
|
28-Sep-2016 |
Felipe Leme <felipeal@google.com> |
Added initial tests for dumpstate. BUG: 31807540 Test: mmm -j32 frameworks/native/cmds/dumpstate/ && adb push ${ANDROID_PRODUCT_OUT}/data/nativetest/dumpstate_test* /data/nativetest && adb shell /data/nativetest/dumpstate_test/dumpstate_test Change-Id: If5497784052b8d13d7c856f9400dbcd8c2015d05
/frameworks/native/cmds/dumpstate/tests/dumpstate_test_fixture.cpp
|