History log of /haiku/src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
Revision Date Author Comments
# af435dd1 09-Dec-2020 X512 <danger_mail@list.ru>

libroot: remove delete_driver_settings

It is not present in BeOS R5 and it just call unload_driver_settings.

Replace delete_driver_settings usages with unload_driver_settings.
Keep the symbol on x86 for binary compatibility.

Change-Id: I1382710e3a4cb5c65d1249ea0e5880891e6800e4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3485
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# e73c9366 18-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Started working on condition parsing.

* Moved related test code from DriverSettingsMessageAdapterTest to the
SettingsParser class.
* Added SettingsParserTest class -- most tests already succeed, but not
all; support for the flattened "not" is not working yet.


# c4b6278c 17-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

DriverSettingsMessageAdapter: added "wildcard" support.

* You can now add arbitrarily named fields to the message as well,
without having them all specified in the template.
* Also added a missing converter method that is called when there
are no values to add, and implemented all methods in the base
class, so that you only have to implement the methods you actually
need.


# 9f543f80 27-Mar-2015 Jérôme Duval <jerome.duval@gmail.com>

Fix unittests build.


# 687d0bc2 23-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

DriverSettingsMessageAdapter: fixed converter signature.

* The ConvertFromDriverSettings() method missed the current value
index.
* Completed unit tests, and enabled them all.


# 9f218b4e 20-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

DriverSettingsMessageAdapter: fixed various issues.

* _AddParameter() would ignore all BMessage::Add*() errors.
* _ConvertFromDriverParameter() would ignore most intermediate error,
but would fail badly over some incorrect settings file.
* Also, it checked for the parent value for each parameter, which
doesn't make any sense, but would add as often as there are
parameters -- which also may be none, in which case the value
got ignored.


# e73c936699e8834f94bc677431fe8b260eaa5b2b 18-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Started working on condition parsing.

* Moved related test code from DriverSettingsMessageAdapterTest to the
SettingsParser class.
* Added SettingsParserTest class -- most tests already succeed, but not
all; support for the flattened "not" is not working yet.


# c4b6278c027f29e1b0954e2f80281f9efd9c4d04 17-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

DriverSettingsMessageAdapter: added "wildcard" support.

* You can now add arbitrarily named fields to the message as well,
without having them all specified in the template.
* Also added a missing converter method that is called when there
are no values to add, and implemented all methods in the base
class, so that you only have to implement the methods you actually
need.


# 9f543f804419a785c804eadf40fade0a4a3093a5 27-Mar-2015 Jérôme Duval <jerome.duval@gmail.com>

Fix unittests build.


# 687d0bc272d1070b797fac07b0f854377605c688 23-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

DriverSettingsMessageAdapter: fixed converter signature.

* The ConvertFromDriverSettings() method missed the current value
index.
* Completed unit tests, and enabled them all.


# 9f218b4e2d05bab14e78a4e6932e73e27c529b57 20-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

DriverSettingsMessageAdapter: fixed various issues.

* _AddParameter() would ignore all BMessage::Add*() errors.
* _ConvertFromDriverParameter() would ignore most intermediate error,
but would fail badly over some incorrect settings file.
* Also, it checked for the parent value for each parameter, which
doesn't make any sense, but would add as often as there are
parameters -- which also may be none, in which case the value
got ignored.