DriverSettingsMessageAdapter: fixed converter signature.

* The ConvertFromDriverSettings() method missed the current value
  index.
* Completed unit tests, and enabled them all.
This commit is contained in:
Axel Dörfler
2015-03-27 13:25:28 +01:00
parent 9f218b4e2d
commit 687d0bc272
5 changed files with 84 additions and 15 deletions
@@ -21,7 +21,7 @@ public:
virtual status_t ConvertFromDriverSettings(
const driver_parameter& parameter,
const char* name, uint32 type,
const char* name, int32 index, uint32 type,
BMessage& target) = 0;
virtual status_t ConvertToDriverSettings(const BMessage& source,
const char* name, int32 index,