[libdmapsharing] Rename some tests
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Rename some tests
- Date: Thu, 26 Oct 2017 23:16:58 +0000 (UTC)
commit cb3fc74ad9f3b017ec7ec1e6602b096d26001b1c
Author: W. Michael Petullo <mike flyn org>
Date: Mon Oct 23 15:51:23 2017 -0400
Rename some tests
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/dmap-utils.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libdmapsharing/dmap-utils.c b/libdmapsharing/dmap-utils.c
index 3d60f7d..35fca9a 100644
--- a/libdmapsharing/dmap-utils.c
+++ b/libdmapsharing/dmap-utils.c
@@ -51,31 +51,31 @@ done:
#include <check.h>
-START_TEST(test_dmap_utils_mime_to_format_wav)
+START_TEST(dmap_utils_mime_to_format_test_wav)
{
ck_assert_str_eq(dmap_utils_mime_to_format("audio/wav"), "wav");
}
END_TEST
-START_TEST(test_dmap_utils_mime_to_format_mp3)
+START_TEST(dmap_utils_mime_to_format_test_mp3)
{
ck_assert_str_eq(dmap_utils_mime_to_format("audio/mp3"), "mp3");
}
END_TEST
-START_TEST(test_dmap_utils_mime_to_format_quicktime)
+START_TEST(dmap_utils_mime_to_format_test_quicktime)
{
ck_assert_str_eq(dmap_utils_mime_to_format("video/quicktime"), "mp4");
}
END_TEST
-START_TEST(test_dmap_utils_mime_to_format_null)
+START_TEST(dmap_utils_mime_to_format_test_null)
{
ck_assert_ptr_null(dmap_utils_mime_to_format(NULL));
}
END_TEST
-START_TEST(test_dmap_utils_mime_to_format_bad)
+START_TEST(dmap_utils_mime_to_format_test_bad)
{
ck_assert_ptr_null(dmap_utils_mime_to_format("bad/mime"));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]