summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-06-20 13:15:31 -0700
committerDavid Anderson <dvander@google.com>2018-06-21 12:48:34 -0700
commitc7def6849aac0a47eca22ab5a24621d70276e8bf (patch)
tree63f4fdc7efbe2a403ee6b058c65f15d18d6f4b21 /trusty/coverage/coverage_test.cpp
parentd41a1f9add9c1feb4aa8f38ad9850f39d715d8bf (diff)
libdm: Add DmTargetTypeInfo and a unit test.
This change refactors DmTarget. It was satisfying two separate use cases that have no overlap: (1) as a container for informational queries, and (2) for specifying table targets. The kernel's nomenclature for the former is a "target type," so the new class is named DmTargetTypeInfo. In addition, this change adds a unit test for DeviceMapper::GetAvailableTargets that ensures the device has at least a linear target type (with more TBD). Bug: 110035986 Test: libdm_test gtest Change-Id: Icb87976801e8a1e6ec79e48b1d58c308d36279e5
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions