From 36c55f6973b233c17c6e5baaf46be2e0fb334bb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 5 Aug 2020 07:28:30 +0200 Subject: [PATCH] tests: fix name of some unit tests --- tests/unit/core/test-core-eval.cpp | 2 +- tests/unit/gui/test-gui-color.cpp | 10 +++++----- tests/unit/gui/test-gui-nick.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/unit/core/test-core-eval.cpp b/tests/unit/core/test-core-eval.cpp index 6126a6dd6..a5821ab9a 100644 --- a/tests/unit/core/test-core-eval.cpp +++ b/tests/unit/core/test-core-eval.cpp @@ -53,7 +53,7 @@ TEST_GROUP(CoreEval) * eval_is_true */ -TEST(CoreEval, Boolean) +TEST(CoreEval, IsTrue) { /* false */ LONGS_EQUAL(0, eval_is_true (NULL)); diff --git a/tests/unit/gui/test-gui-color.cpp b/tests/unit/gui/test-gui-color.cpp index 48fe5669f..19c861dd7 100644 --- a/tests/unit/gui/test-gui-color.cpp +++ b/tests/unit/gui/test-gui-color.cpp @@ -59,7 +59,7 @@ TEST_GROUP(GuiColor) * gui_color_get_custom */ -TEST(GuiColor, ColorGetCustom) +TEST(GuiColor, GetCustom) { char string[32]; @@ -238,7 +238,7 @@ TEST(GuiColor, ColorGetCustom) * gui_color_decode */ -TEST(GuiColor, ColorDecode) +TEST(GuiColor, Decode) { char string[256], *decoded; @@ -409,7 +409,7 @@ TEST(GuiColor, ColorDecode) * gui_color_decode_ansi */ -TEST(GuiColor, ColorDecodeAnsi) +TEST(GuiColor, DecodeAnsi) { char string[256], *decoded; @@ -569,7 +569,7 @@ TEST(GuiColor, ColorDecodeAnsi) * gui_color_encode_ansi */ -TEST(GuiColor, ColorEncodeAnsi) +TEST(GuiColor, EncodeAnsi) { char string[256], *encoded; @@ -695,7 +695,7 @@ TEST(GuiColor, ColorEncodeAnsi) * gui_color_emphasize */ -TEST(GuiColor, ColorEmphasize) +TEST(GuiColor, Emphasize) { char string1[256], string2[256], *emphasized; regex_t regex; diff --git a/tests/unit/gui/test-gui-nick.cpp b/tests/unit/gui/test-gui-nick.cpp index 1595feaa1..865555a25 100644 --- a/tests/unit/gui/test-gui-nick.cpp +++ b/tests/unit/gui/test-gui-nick.cpp @@ -54,7 +54,7 @@ TEST_GROUP(GuiNick) * gui_nick_hash_color */ -TEST(GuiNick, NickHashColor) +TEST(GuiNick, HashColor) { config_file_option_set (config_color_chat_nick_colors, NICK_COLORS, 1);