int main()
{
- const struct CMUnitTest converter_tests[] = {
+ const struct CMUnitTest kds_s2000w_image_converter_tests[] = {
cmocka_unit_test(get_metadata_from_image_test)
};
- return cmocka_run_group_tests(converter_tests, NULL, NULL);
+ return cmocka_run_group_tests(kds_s2000w_image_converter_tests, NULL, NULL);
}
\ No newline at end of file
int main()
{
- const struct CMUnitTest type_check_tests[] = {
+ const struct CMUnitTest kds_s2000w_image_type_check_tests[] = {
cmocka_unit_test(kds_s2000w_image_type_check_is_tiff_true_test),
cmocka_unit_test(kds_s2000w_image_type_check_is_tiff_false_test),
cmocka_unit_test(kds_s2000w_image_type_check_is_pnm_true_test),
cmocka_unit_test(kds_s2000w_image_type_check_is_jpeg_false_test),
};
- return cmocka_run_group_tests(type_check_tests, NULL, NULL);
+ return cmocka_run_group_tests(kds_s2000w_image_type_check_tests, NULL, NULL);
}
\ No newline at end of file
int main()
{
- const struct CMUnitTest net_tests[] = {
+ const struct CMUnitTest kds_s2000w_net_get_opt_tests[] = {
cmocka_unit_test(sane_kds_s2000w_net_control_get_option_zero_test),
cmocka_unit_test(sane_kds_s2000w_net_control_get_option_two_test),
cmocka_unit_test(sane_kds_s2000w_net_control_get_option_three_test),
cmocka_unit_test(sane_kds_s2000w_net_could_not_load_options_by_set)
};
- return cmocka_run_group_tests(net_tests, setup, teardown);
+ return cmocka_run_group_tests(kds_s2000w_net_get_opt_tests, setup, teardown);
}
\ No newline at end of file
int main()
{
- const struct CMUnitTest net_read_tests[] = {
+ const struct CMUnitTest kds_s2000w_net_read_tests[] = {
cmocka_unit_test(sane_kds_s2000w_net_read_test),
cmocka_unit_test(sane_kds_s2000w_net_read_without_data_test),
cmocka_unit_test(sane_kds_s2000w_net_read_empty_image_test),
cmocka_unit_test(sane_kds_s2000w_net_read_bytes_per_line_bigger_test)
};
- return cmocka_run_group_tests(net_read_tests, NULL, NULL);
+ return cmocka_run_group_tests(kds_s2000w_net_read_tests, NULL, NULL);
}
\ No newline at end of file
int main()
{
- const struct CMUnitTest net_tests[] = {
+ const struct CMUnitTest kds_s2000w_net_set_opt_tests[] = {
cmocka_unit_test(kds_s2000w_net_set_no_option_is_started_test),
cmocka_unit_test(kds_s2000w_net_set_option_string_test),
cmocka_unit_test(kds_s2000w_net_set_option_int_test),
cmocka_unit_test(kds_s2000w_net_set_option_color_dropout_and_deps)
};
- return cmocka_run_group_tests(net_tests, setup, teardown);
+ return cmocka_run_group_tests(kds_s2000w_net_set_opt_tests, setup, teardown);
}
\ No newline at end of file
int main()
{
- const struct CMUnitTest net_tests[] = {
+ const struct CMUnitTest kds_s2000w_net_tests[] = {
cmocka_unit_test(kds_s2000w_net_init_test),
cmocka_unit_test(kds_s2000w_net_get_devices_test),
cmocka_unit_test(kds_s2000w_net_get_devices_no_mem_test),
cmocka_unit_test(kds_s2000w_handler_filter_availables_options_profile_v1_0_36_test)
};
- return cmocka_run_group_tests(net_tests, setup, teardown);
+ return cmocka_run_group_tests(kds_s2000w_net_tests, setup, teardown);
}
\ No newline at end of file
int main()
{
- const struct CMUnitTest option_descriptor_tests[] = {
+ const struct CMUnitTest kds_s2000w_option_descriptor_tests[] = {
cmocka_unit_test(kds_s2000w_option_get_descriptor_zero_test),
cmocka_unit_test(kds_s2000w_option_get_descriptor_one_test),
cmocka_unit_test(kds_s2000w_option_get_descriptor_two_test),
cmocka_unit_test(kds_s2000w_option_get_min_profile_from_mask)
};
- return cmocka_run_group_tests(option_descriptor_tests, setup, teardown);
+ return cmocka_run_group_tests(kds_s2000w_option_descriptor_tests, setup, teardown);
}
\ No newline at end of file
int main()
{
- const struct CMUnitTest tests[] = {
+ const struct CMUnitTest kds_s2000w_pixel_converter_tests[] = {
cmocka_unit_test(kds_s2000w_max_tl_x_pixel_to_tenth_inch_test),
cmocka_unit_test(kds_s2000w_pixel_odd_to_tenth_inch_test),
cmocka_unit_test(kds_s2000w_max_tl_x_tenth_inch_to_pixel_test)
};
- return cmocka_run_group_tests(tests, NULL, NULL);
+ return cmocka_run_group_tests(kds_s2000w_pixel_converter_tests, NULL, NULL);
}
\ No newline at end of file
int main()
{
- const struct CMUnitTest read_config[] = {
+ const struct CMUnitTest kds_s2000w_read_config_tests[] = {
cmocka_unit_test(kds_s2000w_config_null_test),
cmocka_unit_test(kds_s2000w_config_read_empty_config_test),
cmocka_unit_test(kds_s2000w_config_read_parameter_test),
cmocka_unit_test(kds_s2000w_read_config_file_no_mem_test)
};
- return cmocka_run_group_tests(read_config, NULL, NULL);
+ return cmocka_run_group_tests(kds_s2000w_read_config_tests, NULL, NULL);
}
\ No newline at end of file