diff options
author | Pavel Březina <pbrezina@redhat.com> | 2014-05-12 22:54:01 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-05-22 17:36:23 +0200 |
commit | 58229439447d5617913a5a2e173b78105c694842 (patch) | |
tree | 89dab51159dcd56df2b0b4cf0f7491e9b8b9751b /src/tests/sbus_codegen_tests.xml | |
parent | 90e04eae7e54ec892a6f239783df94dab5d1ed9a (diff) | |
download | sssd-58229439447d5617913a5a2e173b78105c694842.tar.gz sssd-58229439447d5617913a5a2e173b78105c694842.tar.xz sssd-58229439447d5617913a5a2e173b78105c694842.zip |
SBUS: Return empty string if a string getter returns NULL
In line with getters never returning errors, a getter should return an
empty string instead of NULL in case a string-like property in SSSD is
not set.
Reviewed-by: Stef Walter <stefw@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/tests/sbus_codegen_tests.xml')
-rwxr-xr-x | src/tests/sbus_codegen_tests.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/sbus_codegen_tests.xml b/src/tests/sbus_codegen_tests.xml index 74037cc40..c44f38305 100755 --- a/src/tests/sbus_codegen_tests.xml +++ b/src/tests/sbus_codegen_tests.xml @@ -120,6 +120,9 @@ <property name="string" type="s" access="read"/> <property name="object_path" type="o" access="read"/> + <!-- Special properties to test error codes --> + <property name="null_string" type="s" access="read"/> + <!-- Property arrays with every type of basic argument except boolean which we can't do (yet) --> <property name="byte_array" type="ay" access="read"/> |