aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/dvmHumanReadableDescriptor_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix gunit test build.Elliott Hughes2011-06-071-0/+2
| | | | Change-Id: I409e75202cc6af0b0a48b81602f2ac322da7f404
* Switch dvmHumanReadableDescriptor over to std::string.Elliott Hughes2011-06-071-31/+28
| | | | | | (Prep work before making a change to stack dumps.) Change-Id: I0af49b920f450fd2611e4b96e717a637483122d6
* Fix dvmHumanReadableDescriptor("B").Elliott Hughes2010-12-021-0/+44
dvmHumanReadableDescriptor was failing for primitive scalars in libdvm_assert.so --- there was an assertion that wasn't true, because we wouldn't have copied the ';' into the result (in the other cases, we'd copy the ';' and then overwrite it). This patch rewrites dvmHumanReadableDescriptor to be a little less tasteless, removes the asserts, behave better when out of memory, and to include unit tests (currently only runnable on the device). Bug: 3245572 Change-Id: I57b06c774a5bc61c2d374cce6285553c3c5f388b