commit | 0d41cf74620a6ce1f7ca572faf43fb9532c3d518 | [log] [tgz] |
---|---|---|
author | Alessio Balsini <balsini@google.com> | Wed Jul 31 18:05:11 2019 +0100 |
committer | Alessio Balsini <balsini@google.com> | Wed Jul 31 21:23:58 2019 +0100 |
tree | 5c45b2dc44acda5b1d9035da0a3cf0a5da9f6493 | |
parent | f9cc9ae9bd18eb2e249cba45780110cf58ecb2cc [diff] |
libdm: improve ParseStatusText() and test it Simplify the argument parsing of DmTargetSnapshot::ParseStatusText() and improve its robustness when dealing with wrong imputs. Add test for DmTargetSnapshot::ParseStatusText(). Change-Id: I7f078c9ecacb402e71db49e3e7072e37cffbc234 Test: dm_test Signed-off-by: Alessio Balsini <balsini@google.com>