Skip to content

Commit

Permalink
tests: test arv_pixel_format_to_gst_caps_string_full
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelP committed Aug 27, 2024
1 parent 5b0b10b commit 0be8164
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,13 @@ caps_string_test (void)
caps_string = arv_pixel_format_to_gst_caps_string (caps_data[i].pixel_format);
g_assert (caps_string != NULL);
}

for (i = 0; i < G_N_ELEMENTS (caps_data); i++) {
const char *caps_string;

caps_string = arv_pixel_format_to_gst_caps_string_full (caps_data[i].pixel_format, "Vendor", "Model");
g_assert (caps_string != NULL);
}
}

struct {
Expand Down

0 comments on commit 0be8164

Please sign in to comment.