]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change rename setup teardown set opts tests
authorBastian Dehn <hhaalo@arcor.de>
Tue, 28 Oct 2025 17:30:39 +0000 (18:30 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 28 Oct 2025 17:30:39 +0000 (18:30 +0100)
tests/kds_s2000w_net_set_opt_tests.c

index c725f92f5234857a90e68056d703465b3e6cec02..85b9f7c26fcd2cd78d05776ffa5589243f2e5922 100644 (file)
@@ -11,7 +11,7 @@
 #include "../src/kds_s2000w_handler.h"
 #include "../src/kds_s2000w_option_descriptors.h"
 
-int setup_default_option(void** state)
+int setup(void** state)
 {
        kds_s2000w_option_descriptors_init(PROFILE_FULL);
 
@@ -88,7 +88,7 @@ int setup_default_option(void** state)
        return 0;
 }
 
-int teardown_default_option(void** state)
+int teardown(void** state)
 {
        kds_s2000w_option_descriptors_free();
        response_t** responses = (response_t**) *state;
@@ -785,5 +785,5 @@ int main()
                cmocka_unit_test(kds_s2000w_net_set_option_color_dropout_and_deps)
        };
 
-       return cmocka_run_group_tests(net_tests, setup_default_option, teardown_default_option);
+       return cmocka_run_group_tests(net_tests, setup, teardown);
 }
\ No newline at end of file