]> jfr.im git - irc/weechat/weechat.git/commitdiff
tests: fix name of some unit tests
authorSébastien Helleu <redacted>
Wed, 5 Aug 2020 05:28:30 +0000 (07:28 +0200)
committerSébastien Helleu <redacted>
Wed, 5 Aug 2020 05:28:30 +0000 (07:28 +0200)
tests/unit/core/test-core-eval.cpp
tests/unit/gui/test-gui-color.cpp
tests/unit/gui/test-gui-nick.cpp

index 6126a6dd6bef8eb1a969b6afcb6e318b25c6983f..a5821ab9a6da18664d9c1774fabc1b0ec25e8bf6 100644 (file)
@@ -53,7 +53,7 @@ TEST_GROUP(CoreEval)
  *   eval_is_true
  */
 
-TEST(CoreEval, Boolean)
+TEST(CoreEval, IsTrue)
 {
     /* false */
     LONGS_EQUAL(0, eval_is_true (NULL));
index 48fe5669f140db04e8f8406e25bc0976d812822f..19c861dd7f8a22a5fb5e8773f7e1e8b6393f3332 100644 (file)
@@ -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;
index 1595feaa1fecfa0ce849c3b49c99f36a621aa384..865555a2580d2257a4527e7260193d840b684e08 100644 (file)
@@ -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);