summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-12-02 13:24:53 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-12-02 13:32:15 +0100
commitbc08d9a2b3690bf7a124c36bf1331989912ec324 (patch)
tree974ddfe4aa0fd65c36329b238b260ea072e9e03a /tests/unit
parent52f32e5612b9343c67cf346aac9feaba489e1987 (diff)
downloadweechat-bc08d9a2b3690bf7a124c36bf1331989912ec324.zip
tests: rename tests
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/plugins/irc/test-irc-ctcp.cpp24
-rw-r--r--tests/unit/plugins/irc/test-irc-list.cpp56
-rw-r--r--tests/unit/plugins/irc/test-irc-nick.cpp64
-rw-r--r--tests/unit/plugins/logger/test-logger-tail.cpp4
-rw-r--r--tests/unit/plugins/relay/irc/test-relay-irc.cpp64
-rw-r--r--tests/unit/plugins/test-plugin-api-info.cpp110
6 files changed, 161 insertions, 161 deletions
diff --git a/tests/unit/plugins/irc/test-irc-ctcp.cpp b/tests/unit/plugins/irc/test-irc-ctcp.cpp
index 0c1d186f7..b77acd6be 100644
--- a/tests/unit/plugins/irc/test-irc-ctcp.cpp
+++ b/tests/unit/plugins/irc/test-irc-ctcp.cpp
@@ -45,7 +45,7 @@ TEST_GROUP(IrcCtcp)
* irc_ctcp_convert_legacy_format
*/
-TEST(IrcCtcp, IrcCtcpConvertLegacyFormat)
+TEST(IrcCtcp, ConvertLegacyFormat)
{
char *str;
@@ -67,7 +67,7 @@ TEST(IrcCtcp, IrcCtcpConvertLegacyFormat)
* irc_ctcp_get_default_reply
*/
-TEST(IrcCtcp, IrcCtcpGetDefaultReply)
+TEST(IrcCtcp, GetDefaultReply)
{
/* TODO: write tests */
}
@@ -77,7 +77,7 @@ TEST(IrcCtcp, IrcCtcpGetDefaultReply)
* irc_ctcp_get_reply
*/
-TEST(IrcCtcp, IrcCtcpGetReply)
+TEST(IrcCtcp, GetReply)
{
/* TODO: write tests */
}
@@ -87,7 +87,7 @@ TEST(IrcCtcp, IrcCtcpGetReply)
* irc_ctcp_display_request
*/
-TEST(IrcCtcp, IrcCtcpDisplayRequest)
+TEST(IrcCtcp, DisplayRequest)
{
/* TODO: write tests */
}
@@ -97,7 +97,7 @@ TEST(IrcCtcp, IrcCtcpDisplayRequest)
* irc_ctcp_display_reply_from_nick
*/
-TEST(IrcCtcp, IrcCtcpDisplayReplyFromNick)
+TEST(IrcCtcp, DisplayReplyFromNick)
{
/* TODO: write tests */
}
@@ -107,7 +107,7 @@ TEST(IrcCtcp, IrcCtcpDisplayReplyFromNick)
* irc_ctcp_reply_to_nick
*/
-TEST(IrcCtcp, IrcCtcpReplyToNick)
+TEST(IrcCtcp, ReplyToNick)
{
/* TODO: write tests */
}
@@ -117,7 +117,7 @@ TEST(IrcCtcp, IrcCtcpReplyToNick)
* irc_ctcp_get_supported_ctcp
*/
-TEST(IrcCtcp, IrcCtcpGetSupportedCtcp)
+TEST(IrcCtcp, GetSupportedCtcp)
{
struct t_irc_server *server;
struct t_config_option *ptr_option;
@@ -155,7 +155,7 @@ TEST(IrcCtcp, IrcCtcpGetSupportedCtcp)
* irc_ctcp_eval_reply
*/
-TEST(IrcCtcp, IrcCtcpEvalReply)
+TEST(IrcCtcp, EvalReply)
{
struct t_irc_server *server;
char *str, *info_version, *info_version_git, *info_date, *info_site;
@@ -252,7 +252,7 @@ TEST(IrcCtcp, IrcCtcpEvalReply)
* irc_ctcp_dcc_filename_without_quotes
*/
-TEST(IrcCtcp, IrcCtcpDccFilenameWithoutQuotes)
+TEST(IrcCtcp, DccFilenameWithoutQuotes)
{
/* TODO: write tests */
}
@@ -262,7 +262,7 @@ TEST(IrcCtcp, IrcCtcpDccFilenameWithoutQuotes)
* irc_ctcp_recv_dcc
*/
-TEST(IrcCtcp, IrcCtcpRecvDcc)
+TEST(IrcCtcp, RecvDcc)
{
/* TODO: write tests */
}
@@ -272,7 +272,7 @@ TEST(IrcCtcp, IrcCtcpRecvDcc)
* irc_ctcp_recv
*/
-TEST(IrcCtcp, IrcCtcpRecv)
+TEST(IrcCtcp, Recv)
{
/* TODO: write tests */
}
@@ -282,7 +282,7 @@ TEST(IrcCtcp, IrcCtcpRecv)
* irc_ctcp_send
*/
-TEST(IrcCtcp, IrcCtcpSend)
+TEST(IrcCtcp, Send)
{
/* TODO: write tests */
}
diff --git a/tests/unit/plugins/irc/test-irc-list.cpp b/tests/unit/plugins/irc/test-irc-list.cpp
index 89351c54f..868b534ff 100644
--- a/tests/unit/plugins/irc/test-irc-list.cpp
+++ b/tests/unit/plugins/irc/test-irc-list.cpp
@@ -37,7 +37,7 @@ TEST_GROUP(IrcList)
* irc_list_compare_cb
*/
-TEST(IrcList, IrcListCompareCb)
+TEST(IrcList, CompareCb)
{
/* TODO: write tests */
}
@@ -47,7 +47,7 @@ TEST(IrcList, IrcListCompareCb)
* irc_list_free_cb
*/
-TEST(IrcList, IrcListFreeCb)
+TEST(IrcList, FreeCb)
{
/* TODO: write tests */
}
@@ -57,7 +57,7 @@ TEST(IrcList, IrcListFreeCb)
* irc_list_buffer_set_localvar_filter
*/
-TEST(IrcList, IrcListBufferSetLocalvarFilter)
+TEST(IrcList, BufferSetLocalvarFilter)
{
/* TODO: write tests */
}
@@ -67,7 +67,7 @@ TEST(IrcList, IrcListBufferSetLocalvarFilter)
* irc_list_set_filter
*/
-TEST(IrcList, IrcListSetFilter)
+TEST(IrcList, SetFilter)
{
/* TODO: write tests */
}
@@ -77,7 +77,7 @@ TEST(IrcList, IrcListSetFilter)
* irc_list_set_sort
*/
-TEST(IrcList, IrcListSetSort)
+TEST(IrcList, SetSort)
{
/* TODO: write tests */
}
@@ -87,7 +87,7 @@ TEST(IrcList, IrcListSetSort)
* irc_list_add_channel_in_hashtable
*/
-TEST(IrcList, IrcListAddChannelInHashtable)
+TEST(IrcList, AddChannelInHashtable)
{
/* TODO: write tests */
}
@@ -97,7 +97,7 @@ TEST(IrcList, IrcListAddChannelInHashtable)
* irc_list_string_match
*/
-TEST(IrcList, IrcListStringMatch)
+TEST(IrcList, StringMatch)
{
/* TODO: write tests */
}
@@ -107,7 +107,7 @@ TEST(IrcList, IrcListStringMatch)
* irc_list_channel_match_filter
*/
-TEST(IrcList, IrcListChannelMatchFilter)
+TEST(IrcList, ChannelMatchFilter)
{
/* TODO: write tests */
}
@@ -117,7 +117,7 @@ TEST(IrcList, IrcListChannelMatchFilter)
* irc_list_filter_channels
*/
-TEST(IrcList, IrcListFilterChannels)
+TEST(IrcList, FilterChannels)
{
/* TODO: write tests */
}
@@ -127,7 +127,7 @@ TEST(IrcList, IrcListFilterChannels)
* irc_list_parse_messages
*/
-TEST(IrcList, IrcListParseMessages)
+TEST(IrcList, ParseMessages)
{
/* TODO: write tests */
}
@@ -137,7 +137,7 @@ TEST(IrcList, IrcListParseMessages)
* irc_list_buffer_set_title
*/
-TEST(IrcList, IrcListBufferSetTitle)
+TEST(IrcList, BufferSetTitle)
{
/* TODO: write tests */
}
@@ -147,7 +147,7 @@ TEST(IrcList, IrcListBufferSetTitle)
* irc_list_display_line
*/
-TEST(IrcList, IrcListDisplayLine)
+TEST(IrcList, DisplayLine)
{
/* TODO: write tests */
}
@@ -157,7 +157,7 @@ TEST(IrcList, IrcListDisplayLine)
* irc_list_buffer_refresh
*/
-TEST(IrcList, IrcListBufferRefresh)
+TEST(IrcList, BufferRefresh)
{
/* TODO: write tests */
}
@@ -167,7 +167,7 @@ TEST(IrcList, IrcListBufferRefresh)
* irc_list_set_current_line
*/
-TEST(IrcList, IrcListSetCurrentLine)
+TEST(IrcList, SetCurrentLine)
{
/* TODO: write tests */
}
@@ -177,7 +177,7 @@ TEST(IrcList, IrcListSetCurrentLine)
* irc_list_get_window_info
*/
-TEST(IrcList, IrcListGetWindowInfo)
+TEST(IrcList, GetWindowInfo)
{
/* TODO: write tests */
}
@@ -187,7 +187,7 @@ TEST(IrcList, IrcListGetWindowInfo)
* irc_list_check_line_outside_window
*/
-TEST(IrcList, IrcListCheckLineOutsideWindow)
+TEST(IrcList, CheckLineOutsideWindow)
{
/* TODO: write tests */
}
@@ -197,7 +197,7 @@ TEST(IrcList, IrcListCheckLineOutsideWindow)
* irc_list_window_scrolled_cb
*/
-TEST(IrcList, IrcListWindowScrolledCb)
+TEST(IrcList, WindowScrolledCb)
{
/* TODO: write tests */
}
@@ -207,7 +207,7 @@ TEST(IrcList, IrcListWindowScrolledCb)
* irc_list_move_line_relative
*/
-TEST(IrcList, IrcListMoveLineRelative)
+TEST(IrcList, MoveLineRelative)
{
/* TODO: write tests */
}
@@ -217,7 +217,7 @@ TEST(IrcList, IrcListMoveLineRelative)
* irc_list_move_line_absolute
*/
-TEST(IrcList, IrcListMoveLineAbsolute)
+TEST(IrcList, MoveLineAbsolute)
{
/* TODO: write tests */
}
@@ -227,7 +227,7 @@ TEST(IrcList, IrcListMoveLineAbsolute)
* irc_list_join_channel
*/
-TEST(IrcList, IrcListJoinChannel)
+TEST(IrcList, JoinChannel)
{
/* TODO: write tests */
}
@@ -237,7 +237,7 @@ TEST(IrcList, IrcListJoinChannel)
* irc_list_buffer_input_data_cb
*/
-TEST(IrcList, IrcListBufferInputDataCb)
+TEST(IrcList, BufferInputDataCb)
{
/* TODO: write tests */
}
@@ -247,7 +247,7 @@ TEST(IrcList, IrcListBufferInputDataCb)
* irc_list_create_buffer
*/
-TEST(IrcList, IrcListCreateBuffer)
+TEST(IrcList, CreateBuffer)
{
/* TODO: write tests */
}
@@ -257,7 +257,7 @@ TEST(IrcList, IrcListCreateBuffer)
* irc_list_hsignal_redirect_list_cb
*/
-TEST(IrcList, IrcListHsignalRedirectListCb)
+TEST(IrcList, HsignalRedirectListCb)
{
/* TODO: write tests */
}
@@ -267,7 +267,7 @@ TEST(IrcList, IrcListHsignalRedirectListCb)
* irc_list_alloc
*/
-TEST(IrcList, IrcListAlloc)
+TEST(IrcList, Alloc)
{
struct t_irc_list *list;
@@ -289,7 +289,7 @@ TEST(IrcList, IrcListAlloc)
* irc_list_free_data
*/
-TEST(IrcList, IrcListFreeData)
+TEST(IrcList, FreeData)
{
/* TODO: write tests */
}
@@ -299,7 +299,7 @@ TEST(IrcList, IrcListFreeData)
* irc_list_free
*/
-TEST(IrcList, IrcListFree)
+TEST(IrcList, Free)
{
/* TODO: write tests */
}
@@ -309,7 +309,7 @@ TEST(IrcList, IrcListFree)
* irc_list_hdata_list_channel_cb
*/
-TEST(IrcList, IrcListHdataListChannelCb)
+TEST(IrcList, HdataListChannelCb)
{
/* TODO: write tests */
}
@@ -319,7 +319,7 @@ TEST(IrcList, IrcListHdataListChannelCb)
* irc_list_hdata_list_cb
*/
-TEST(IrcList, IrcListHdataListCb)
+TEST(IrcList, HdataListCb)
{
/* TODO: write tests */
}
diff --git a/tests/unit/plugins/irc/test-irc-nick.cpp b/tests/unit/plugins/irc/test-irc-nick.cpp
index d35362064..7ae1d3a70 100644
--- a/tests/unit/plugins/irc/test-irc-nick.cpp
+++ b/tests/unit/plugins/irc/test-irc-nick.cpp
@@ -182,7 +182,7 @@ TEST(IrcNick, IsNick)
* irc_nick_find_color_name
*/
-TEST(IrcNick, IrcNickFindColor)
+TEST(IrcNick, FindColor)
{
/* TODO: write tests */
}
@@ -192,7 +192,7 @@ TEST(IrcNick, IrcNickFindColor)
* irc_nick_set_current_prefix
*/
-TEST(IrcNick, IrcNickSetCurrentPrefix)
+TEST(IrcNick, SetCurrentPrefix)
{
/* TODO: write tests */
}
@@ -202,7 +202,7 @@ TEST(IrcNick, IrcNickSetCurrentPrefix)
* irc_nick_set_prefix
*/
-TEST(IrcNick, IrcNickSetPrefix)
+TEST(IrcNick, SetPrefix)
{
/* TODO: write tests */
}
@@ -212,7 +212,7 @@ TEST(IrcNick, IrcNickSetPrefix)
* irc_nick_set_prefixes
*/
-TEST(IrcNick, IrcNickSetPrefixes)
+TEST(IrcNick, SetPrefixes)
{
/* TODO: write tests */
}
@@ -222,7 +222,7 @@ TEST(IrcNick, IrcNickSetPrefixes)
* irc_nick_set_host
*/
-TEST(IrcNick, IrcNickSetHost)
+TEST(IrcNick, SetHost)
{
/* TODO: write tests */
}
@@ -232,7 +232,7 @@ TEST(IrcNick, IrcNickSetHost)
* irc_nick_is_op_or_higher
*/
-TEST(IrcNick, IrcNickIsOpOrHigher)
+TEST(IrcNick, IsOpOrHigher)
{
/* TODO: write tests */
}
@@ -242,7 +242,7 @@ TEST(IrcNick, IrcNickIsOpOrHigher)
* irc_nick_has_prefix_mode
*/
-TEST(IrcNick, IrcNickHasPrefixMode)
+TEST(IrcNick, HasPrefixMode)
{
/* TODO: write tests */
}
@@ -252,7 +252,7 @@ TEST(IrcNick, IrcNickHasPrefixMode)
* irc_nick_get_nicklist_group
*/
-TEST(IrcNick, IrcNickGetNicklistGroup)
+TEST(IrcNick, GetNicklistGroup)
{
/* TODO: write tests */
}
@@ -262,7 +262,7 @@ TEST(IrcNick, IrcNickGetNicklistGroup)
* irc_nick_get_prefix_color_name
*/
-TEST(IrcNick, IrcNickGetPrefixColorName)
+TEST(IrcNick, GetPrefixColorName)
{
/* TODO: write tests */
}
@@ -272,7 +272,7 @@ TEST(IrcNick, IrcNickGetPrefixColorName)
* irc_nick_get_color_for_nicklist
*/
-TEST(IrcNick, IrcNickGetColorForNicklist)
+TEST(IrcNick, GetColorForNicklist)
{
/* TODO: write tests */
}
@@ -282,7 +282,7 @@ TEST(IrcNick, IrcNickGetColorForNicklist)
* irc_nick_nicklist_add
*/
-TEST(IrcNick, IrcNickNicklistAdd)
+TEST(IrcNick, NicklistAdd)
{
/* TODO: write tests */
}
@@ -292,7 +292,7 @@ TEST(IrcNick, IrcNickNicklistAdd)
* irc_nick_nicklist_remove
*/
-TEST(IrcNick, IrcNickNicklistRemove)
+TEST(IrcNick, NicklistRemove)
{
/* TODO: write tests */
}
@@ -302,7 +302,7 @@ TEST(IrcNick, IrcNickNicklistRemove)
* irc_nick_nicklist_set
*/
-TEST(IrcNick, IrcNickNicklistSet)
+TEST(IrcNick, NicklistSet)
{
/* TODO: write tests */
}
@@ -312,7 +312,7 @@ TEST(IrcNick, IrcNickNicklistSet)
* irc_nick_nicklist_set_prefix_color_all
*/
-TEST(IrcNick, IrcNickNicklistSetPrefixColorAll)
+TEST(IrcNick, NicklistSetPrefixColorAll)
{
/* TODO: write tests */
}
@@ -322,7 +322,7 @@ TEST(IrcNick, IrcNickNicklistSetPrefixColorAll)
* irc_nick_nicklist_set_color_all
*/
-TEST(IrcNick, IrcNickNicklistSetColorAll)
+TEST(IrcNick, NicklistSetColorAll)
{
/* TODO: write tests */
}
@@ -332,7 +332,7 @@ TEST(IrcNick, IrcNickNicklistSetColorAll)
* irc_nick_new
*/
-TEST(IrcNick, IrcNickNew)
+TEST(IrcNick, New)
{
/* TODO: write tests */
}
@@ -342,7 +342,7 @@ TEST(IrcNick, IrcNickNew)
* irc_nick_change
*/
-TEST(IrcNick, IrcNickChange)
+TEST(IrcNick, Change)
{
/* TODO: write tests */
}
@@ -352,7 +352,7 @@ TEST(IrcNick, IrcNickChange)
* irc_nick_set_mode
*/
-TEST(IrcNick, IrcNickSetMode)
+TEST(IrcNick, SetMode)
{
/* TODO: write tests */
}
@@ -362,7 +362,7 @@ TEST(IrcNick, IrcNickSetMode)
* irc_nick_realloc_prefixes
*/
-TEST(IrcNick, IrcNickReallocPrefixes)
+TEST(IrcNick, ReallocPrefixes)
{
/* TODO: write tests */
}
@@ -372,7 +372,7 @@ TEST(IrcNick, IrcNickReallocPrefixes)
* irc_nick_free
*/
-TEST(IrcNick, IrcNickFree)
+TEST(IrcNick, Free)
{
/* TODO: write tests */
}
@@ -382,7 +382,7 @@ TEST(IrcNick, IrcNickFree)
* irc_nick_free_all
*/
-TEST(IrcNick, IrcNickFreeAll)
+TEST(IrcNick, FreeAll)
{
/* TODO: write tests */
}
@@ -392,7 +392,7 @@ TEST(IrcNick, IrcNickFreeAll)
* irc_nick_search
*/
-TEST(IrcNick, IrcNickSearch)
+TEST(IrcNick, Search)
{
/* TODO: write tests */
}
@@ -402,7 +402,7 @@ TEST(IrcNick, IrcNickSearch)
* irc_nick_count
*/
-TEST(IrcNick, IrcNickCount)
+TEST(IrcNick, Count)
{
/* TODO: write tests */
}
@@ -412,7 +412,7 @@ TEST(IrcNick, IrcNickCount)
* irc_nick_set_away
*/
-TEST(IrcNick, IrcNickSetAway)
+TEST(IrcNick, SetAway)
{
/* TODO: write tests */
}
@@ -422,7 +422,7 @@ TEST(IrcNick, IrcNickSetAway)
* irc_nick_mode_for_display
*/
-TEST(IrcNick, IrcNickModeForDisplay)
+TEST(IrcNick, ModeForDisplay)
{
/* TODO: write tests */
}
@@ -432,7 +432,7 @@ TEST(IrcNick, IrcNickModeForDisplay)
* irc_nick_as_prefix
*/
-TEST(IrcNick, IrcNickAsPrefix)
+TEST(IrcNick, AsPrefix)
{
/* TODO: write tests */
}
@@ -442,7 +442,7 @@ TEST(IrcNick, IrcNickAsPrefix)
* irc_nick_color_for_msg
*/
-TEST(IrcNick, IrcNickColorForMsg)
+TEST(IrcNick, ColorForMsg)
{
/* TODO: write tests */
}
@@ -452,7 +452,7 @@ TEST(IrcNick, IrcNickColorForMsg)
* irc_nick_color_for_pv
*/
-TEST(IrcNick, IrcNickColorForPv)
+TEST(IrcNick, ColorForPv)
{
/* TODO: write tests */
}
@@ -462,7 +462,7 @@ TEST(IrcNick, IrcNickColorForPv)
* irc_nick_default_ban_mask
*/
-TEST(IrcNick, IrcNickDefaultBanMask)
+TEST(IrcNick, DefaultBanMask)
{
/* TODO: write tests */
}
@@ -472,7 +472,7 @@ TEST(IrcNick, IrcNickDefaultBanMask)
* irc_nick_hdata_nick_cb
*/
-TEST(IrcNick, IrcNickHdataNickCb)
+TEST(IrcNick, HdataNickCb)
{
/* TODO: write tests */
}
@@ -482,7 +482,7 @@ TEST(IrcNick, IrcNickHdataNickCb)
* irc_nick_add_to_infolist
*/
-TEST(IrcNick, IrcNickAddToInfolist)
+TEST(IrcNick, AddToInfolist)
{
/* TODO: write tests */
}
@@ -492,7 +492,7 @@ TEST(IrcNick, IrcNickAddToInfolist)
* irc_nick_print_log
*/
-TEST(IrcNick, IrcNickPrintLog)
+TEST(IrcNick, PrintLog)
{
/* TODO: write tests */
}
diff --git a/tests/unit/plugins/logger/test-logger-tail.cpp b/tests/unit/plugins/logger/test-logger-tail.cpp
index 6e23ea6a2..06d4a4a77 100644
--- a/tests/unit/plugins/logger/test-logger-tail.cpp
+++ b/tests/unit/plugins/logger/test-logger-tail.cpp
@@ -45,7 +45,7 @@ TEST_GROUP(LoggerTail)
* logger_tail_last_eol
*/
-TEST(LoggerTail, LoggerTailLastEol)
+TEST(LoggerTail, LastEol)
{
const char *str = "abc\ndef\rghi";
@@ -77,7 +77,7 @@ TEST(LoggerTail, LoggerTailLastEol)
* logger_tail_file
*/
-TEST(LoggerTail, LoggerTailFile)
+TEST(LoggerTail, File)
{
const char *content_3_lines = "line 1\nline 2\nline 3\n";
const char *content_5_lines = "line 1\nline 2\n\nline 3\n\n";
diff --git a/tests/unit/plugins/relay/irc/test-relay-irc.cpp b/tests/unit/plugins/relay/irc/test-relay-irc.cpp
index 13fc92dac..0cf40e98a 100644
--- a/tests/unit/plugins/relay/irc/test-relay-irc.cpp
+++ b/tests/unit/plugins/relay/irc/test-relay-irc.cpp
@@ -367,7 +367,7 @@ TEST_GROUP(RelayIrcWithClient)
* relay_irc_command_relayed
*/
-TEST(RelayIrc, RelayIrcCommandRelayed)
+TEST(RelayIrc, CommandRelayed)
{
LONGS_EQUAL(0, relay_irc_command_relayed (NULL));
LONGS_EQUAL(0, relay_irc_command_relayed (""));
@@ -384,7 +384,7 @@ TEST(RelayIrc, RelayIrcCommandRelayed)
* relay_irc_command_ignored
*/
-TEST(RelayIrc, RelayIrcCommandIgnored)
+TEST(RelayIrc, CommandIgnored)
{
LONGS_EQUAL(0, relay_irc_command_ignored (NULL));
LONGS_EQUAL(0, relay_irc_command_ignored (""));
@@ -402,7 +402,7 @@ TEST(RelayIrc, RelayIrcCommandIgnored)
* relay_irc_search_backlog_commands_tags
*/
-TEST(RelayIrc, RelayIrcSearchBacklogCommandsTags)
+TEST(RelayIrc, SearchBacklogCommandsTags)
{
LONGS_EQUAL(-1, relay_irc_search_backlog_commands_tags (NULL));
LONGS_EQUAL(-1, relay_irc_search_backlog_commands_tags (""));
@@ -418,7 +418,7 @@ TEST(RelayIrc, RelayIrcSearchBacklogCommandsTags)
* relay_irc_search_server_capability
*/
-TEST(RelayIrc, RelayIrcSearchServerCapability)
+TEST(RelayIrc, SearchServerCapability)
{
LONGS_EQUAL(-1, relay_irc_search_server_capability (NULL));
LONGS_EQUAL(-1, relay_irc_search_server_capability (""));
@@ -433,7 +433,7 @@ TEST(RelayIrc, RelayIrcSearchServerCapability)
* relay_irc_message_parse
*/
-TEST(RelayIrc, RelayIrcMessageParse)
+TEST(RelayIrc, MessageParse)
{
struct t_hashtable *hashtable;
@@ -487,7 +487,7 @@ TEST(RelayIrc, RelayIrcMessageParse)
* relay_irc_sendf
*/
-TEST(RelayIrcWithClient, RelayIrcSendf)
+TEST(RelayIrcWithClient, Sendf)
{
relay_irc_sendf (NULL, NULL);
relay_irc_sendf (NULL, "test");
@@ -505,7 +505,7 @@ TEST(RelayIrcWithClient, RelayIrcSendf)
* relay_irc_parse_cap_message
*/
-TEST(RelayIrcWithClient, RelayIrcParseCapMessage)
+TEST(RelayIrcWithClient, ParseCapMessage)
{
struct t_hashtable *hashtable;
@@ -541,7 +541,7 @@ TEST(RelayIrcWithClient, RelayIrcParseCapMessage)
* relay_irc_signal_irc_in2_cb
*/
-TEST(RelayIrc, RelayIrcSignalIrcIn2Cb)
+TEST(RelayIrc, SignalIrcIn2Cb)
{
/* TODO: write tests */
}
@@ -551,7 +551,7 @@ TEST(RelayIrc, RelayIrcSignalIrcIn2Cb)
* relay_irc_tag_relay_client_id
*/
-TEST(RelayIrc, RelayIrcTagRelayClientId)
+TEST(RelayIrc, TagRelayClientId)
{
LONGS_EQUAL(-1, relay_irc_tag_relay_client_id (NULL));
LONGS_EQUAL(-1, relay_irc_tag_relay_client_id (""));
@@ -567,7 +567,7 @@ TEST(RelayIrc, RelayIrcTagRelayClientId)
* relay_irc_signal_irc_outtags_cb
*/
-TEST(RelayIrc, RelayIrcSignalIrcOuttagsCb)
+TEST(RelayIrc, SignalIrcOuttagsCb)
{
/* TODO: write tests */
}
@@ -577,7 +577,7 @@ TEST(RelayIrc, RelayIrcSignalIrcOuttagsCb)
* relay_irc_signal_irc_disc_cb
*/
-TEST(RelayIrc, RelayIrcSignalIrcDiscCb)
+TEST(RelayIrc, SignalIrcDiscCb)
{
/* TODO: write tests */
}
@@ -587,7 +587,7 @@ TEST(RelayIrc, RelayIrcSignalIrcDiscCb)
* relay_irc_hsignal_irc_redir_cb
*/
-TEST(RelayIrc, RelayIrcHsignalIrcRedirCb)
+TEST(RelayIrc, HsignalIrcRedirCb)
{
/* TODO: write tests */
}
@@ -597,7 +597,7 @@ TEST(RelayIrc, RelayIrcHsignalIrcRedirCb)
* relay_irc_get_line_info
*/
-TEST(RelayIrc, RelayIrcGetLineInfo)
+TEST(RelayIrc, GetLineInfo)
{
/* TODO: write tests */
}
@@ -607,7 +607,7 @@ TEST(RelayIrc, RelayIrcGetLineInfo)
* relay_irc_send_channel_backlog
*/
-TEST(RelayIrc, RelayIrcSendChannelBacklog)
+TEST(RelayIrc, SendChannelBacklog)
{
/* TODO: write tests */
}
@@ -617,7 +617,7 @@ TEST(RelayIrc, RelayIrcSendChannelBacklog)
* relay_irc_send_join
*/
-TEST(RelayIrc, RelayIrcSendJoin)
+TEST(RelayIrc, SendJoin)
{
/* TODO: write tests */
}
@@ -627,7 +627,7 @@ TEST(RelayIrc, RelayIrcSendJoin)
* relay_irc_send_join_channels
*/
-TEST(RelayIrc, RelayIrcSendJoinChannels)
+TEST(RelayIrc, SendJoinChannels)
{
/* TODO: write tests */
}
@@ -637,7 +637,7 @@ TEST(RelayIrc, RelayIrcSendJoinChannels)
* relay_irc_input_send
*/
-TEST(RelayIrcWithClient, RelayIrcInputSend)
+TEST(RelayIrcWithClient, InputSend)
{
arraylist_clear (sent_messages_irc);
relay_irc_input_send (ptr_relay_client, "#test", "priority_high",
@@ -650,7 +650,7 @@ TEST(RelayIrcWithClient, RelayIrcInputSend)
* relay_irc_hook_signals
*/
-TEST(RelayIrc, RelayIrcHookSignals)
+TEST(RelayIrc, HookSignals)
{
/* TODO: write tests */
}
@@ -660,7 +660,7 @@ TEST(RelayIrc, RelayIrcHookSignals)
* relay_irc_capability_compare_cb
*/
-TEST(RelayIrc, RelayIrcCapabilityCompareCb)
+TEST(RelayIrc, CapabilityCompareCb)
{
/* TODO: write tests */
}
@@ -670,7 +670,7 @@ TEST(RelayIrc, RelayIrcCapabilityCompareCb)
* relay_irc_capability_free_db
*/
-TEST(RelayIrc, RelayIrcCapabilityFreeDb)
+TEST(RelayIrc, CapabilityFreeDb)
{
/* TODO: write tests */
}
@@ -680,7 +680,7 @@ TEST(RelayIrc, RelayIrcCapabilityFreeDb)
* relay_irc_cap_enabled
*/
-TEST(RelayIrcWithClient, RelayIrcCapEnabled)
+TEST(RelayIrcWithClient, CapEnabled)
{
LONGS_EQUAL(0, relay_irc_cap_enabled (NULL, NULL));
LONGS_EQUAL(0, relay_irc_cap_enabled (NULL, "echo-message"));
@@ -701,7 +701,7 @@ TEST(RelayIrcWithClient, RelayIrcCapEnabled)
* relay_irc_get_supported_caps
*/
-TEST(RelayIrcWithClient, RelayIrcGetSupportedCaps)
+TEST(RelayIrcWithClient, GetSupportedCaps)
{
int supported_caps;
@@ -746,7 +746,7 @@ TEST(RelayIrc, RelayGetListCaps)
* relay_irc_recv_command_capab
*/
-TEST(RelayIrcWithClient, RelayIrcRecvCommandCapab)
+TEST(RelayIrcWithClient, RecvCommandCapab)
{
relay_client_set_status (ptr_relay_client, RELAY_STATUS_CONNECTING);
@@ -819,7 +819,7 @@ TEST(RelayIrcWithClient, RelayIrcRecvCommandCapab)
* relay_irc_parse_ctcp
*/
-TEST(RelayIrcWithClient, RelayIrcParseCtcp)
+TEST(RelayIrcWithClient, ParseCtcp)
{
char *ctcp_type, *ctcp_params;
@@ -885,7 +885,7 @@ TEST(RelayIrcWithClient, RelayIrcParseCtcp)
* relay_irc_recv
*/
-TEST(RelayIrcWithClient, RelayIrcRecv)
+TEST(RelayIrcWithClient, Recv)
{
relay_client_set_status (ptr_relay_client, RELAY_STATUS_CONNECTING);
@@ -964,7 +964,7 @@ TEST(RelayIrcWithClient, RelayIrcRecv)
* relay_irc_close_connection
*/
-TEST(RelayIrc, RelayIrcCloseConnection)
+TEST(RelayIrc, CloseConnection)
{
/* TODO: write tests */
}
@@ -974,7 +974,7 @@ TEST(RelayIrc, RelayIrcCloseConnection)
* relay_irc_alloc
*/
-TEST(RelayIrc, RelayIrcAlloc)
+TEST(RelayIrc, Alloc)
{
/* TODO: write tests */
}
@@ -984,7 +984,7 @@ TEST(RelayIrc, RelayIrcAlloc)
* relay_irc_alloc_with_infolist
*/
-TEST(RelayIrc, RelayIrcAllocWithInfolist)
+TEST(RelayIrc, AllocWithInfolist)
{
/* TODO: write tests */
}
@@ -994,7 +994,7 @@ TEST(RelayIrc, RelayIrcAllocWithInfolist)
* relay_irc_get_initial_status
*/
-TEST(RelayIrc, RelayIrcGetInitialStatus)
+TEST(RelayIrc, GetInitialStatus)
{
/* TODO: write tests */
}
@@ -1004,7 +1004,7 @@ TEST(RelayIrc, RelayIrcGetInitialStatus)
* relay_irc_free
*/
-TEST(RelayIrc, RelayIrcFree)
+TEST(RelayIrc, Free)
{
/* TODO: write tests */
}
@@ -1014,7 +1014,7 @@ TEST(RelayIrc, RelayIrcFree)
* relay_irc_add_to_infolist
*/
-TEST(RelayIrc, RelayIrcAddToInfolist)
+TEST(RelayIrc, AddToInfolist)
{
/* TODO: write tests */
}
@@ -1024,7 +1024,7 @@ TEST(RelayIrc, RelayIrcAddToInfolist)
* relay_irc_print_log
*/
-TEST(RelayIrc, RelayIrcPrintLog)
+TEST(RelayIrc, PrintLog)
{
/* TODO: write tests */
}
diff --git a/tests/unit/plugins/test-plugin-api-info.cpp b/tests/unit/plugins/test-plugin-api-info.cpp
index 78e5a1b1d..f030e25c8 100644
--- a/tests/unit/plugins/test-plugin-api-info.cpp
+++ b/tests/unit/plugins/test-plugin-api-info.cpp
@@ -61,7 +61,7 @@ TEST_GROUP(PluginApiInfo)
* plugin_api_info_version_cb
*/
-TEST(PluginApiInfo, PluginApiInfoVersionCb)
+TEST(PluginApiInfo, VersionCb)
{
const char *version;
char *str;
@@ -75,7 +75,7 @@ TEST(PluginApiInfo, PluginApiInfoVersionCb)
* plugin_api_info_version_number_cb
*/
-TEST(PluginApiInfo, PluginApiInfoVersionNumberCb)
+TEST(PluginApiInfo, VersionNumberCb)
{
char *str, str_version_number[128];
@@ -94,7 +94,7 @@ TEST(PluginApiInfo, PluginApiInfoVersionNumberCb)
* plugin_api_info_version_git_cb
*/
-TEST(PluginApiInfo, PluginApiInfoVersionGitCb)
+TEST(PluginApiInfo, VersionGitCb)
{
const char *version_git;
char *str;
@@ -108,7 +108,7 @@ TEST(PluginApiInfo, PluginApiInfoVersionGitCb)
* plugin_api_info_date_cb
*/
-TEST(PluginApiInfo, PluginApiInfoDateCb)
+TEST(PluginApiInfo, DateCb)
{
const char *compilation_date;
char *str;
@@ -122,7 +122,7 @@ TEST(PluginApiInfo, PluginApiInfoDateCb)
* plugin_api_info_pid_cb
*/
-TEST(PluginApiInfo, PluginApiInfoPidCb)
+TEST(PluginApiInfo, PidCb)
{
char *str, str_pid[64];
@@ -135,7 +135,7 @@ TEST(PluginApiInfo, PluginApiInfoPidCb)
* plugin_api_info_dir_separator_cb
*/
-TEST(PluginApiInfo, PluginApiInfoDirSeparatorCb)
+TEST(PluginApiInfo, DirSeparatorCb)
{
char *str;
@@ -147,7 +147,7 @@ TEST(PluginApiInfo, PluginApiInfoDirSeparatorCb)
* plugin_api_info_absolute_path
*/
-TEST(PluginApiInfo, PluginApiInfoAbsolutePath)
+TEST(PluginApiInfo, AbsolutePath)
{
char *str;
@@ -167,7 +167,7 @@ TEST(PluginApiInfo, PluginApiInfoAbsolutePath)
* plugin_api_info_weechat_cache_dir_cb
*/
-TEST(PluginApiInfo, PluginApiInfoWeechatDir)
+TEST(PluginApiInfo, WeechatDir)
{
char *str;
@@ -205,7 +205,7 @@ TEST(PluginApiInfo, PluginApiInfoWeechatDir)
* plugin_api_info_weechat_libdir_cb
*/
-TEST(PluginApiInfo, PluginApiInfoWeechatLibdirCb)
+TEST(PluginApiInfo, WeechatLibdirCb)
{
char *str;
@@ -217,7 +217,7 @@ TEST(PluginApiInfo, PluginApiInfoWeechatLibdirCb)
* plugin_api_info_weechat_sharedir_cb
*/
-TEST(PluginApiInfo, PluginApiInfoWeechatSharedirCb)
+TEST(PluginApiInfo, WeechatSharedirCb)
{
char *str;
@@ -230,7 +230,7 @@ TEST(PluginApiInfo, PluginApiInfoWeechatSharedirCb)
* plugin_api_info_weechat_localedir_cb
*/
-TEST(PluginApiInfo, PluginApiInfoWeechatLocaledirCb)
+TEST(PluginApiInfo, WeechatLocaledirCb)
{
char *str;
@@ -242,7 +242,7 @@ TEST(PluginApiInfo, PluginApiInfoWeechatLocaledirCb)
* plugin_api_info_weechat_site_cb
*/
-TEST(PluginApiInfo, PluginApiInfoWeechatSiteCb)
+TEST(PluginApiInfo, WeechatSiteCb)
{
char *str;
@@ -254,7 +254,7 @@ TEST(PluginApiInfo, PluginApiInfoWeechatSiteCb)
* plugin_api_info_weechat_site_download_cb
*/
-TEST(PluginApiInfo, PluginApiInfoWeechatSiteDownloadCb)
+TEST(PluginApiInfo, WeechatSiteDownloadCb)
{
char *str;
@@ -267,7 +267,7 @@ TEST(PluginApiInfo, PluginApiInfoWeechatSiteDownloadCb)
* plugin_api_info_weechat_upgrading_cb
*/
-TEST(PluginApiInfo, PluginApiInfoWeechatUpgradingCb)
+TEST(PluginApiInfo, WeechatUpgradingCb)
{
char *str;
@@ -279,7 +279,7 @@ TEST(PluginApiInfo, PluginApiInfoWeechatUpgradingCb)
* plugin_api_info_weechat_headless_cb
*/
-TEST(PluginApiInfo, PluginApiInfoWeechatHeadlessCb)
+TEST(PluginApiInfo, WeechatHeadlessCb)
{
char *str;
@@ -291,7 +291,7 @@ TEST(PluginApiInfo, PluginApiInfoWeechatHeadlessCb)
* plugin_api_info_weechat_daemon_cb
*/
-TEST(PluginApiInfo, PluginApiInfoWeechatDaemonCb)
+TEST(PluginApiInfo, WeechatDaemonCb)
{
char *str;
@@ -303,7 +303,7 @@ TEST(PluginApiInfo, PluginApiInfoWeechatDaemonCb)
* plugin_api_info_auto_connect_cb
*/
-TEST(PluginApiInfo, PluginApiInfoAutoConnectCb)
+TEST(PluginApiInfo, AutoConnectCb)
{
char *str;
@@ -315,7 +315,7 @@ TEST(PluginApiInfo, PluginApiInfoAutoConnectCb)
* plugin_api_info_auto_load_scripts_cb
*/
-TEST(PluginApiInfo, PluginApiInfoAutoLoadScriptsCb)
+TEST(PluginApiInfo, AutoLoadScriptsCb)
{
char *str;
@@ -327,7 +327,7 @@ TEST(PluginApiInfo, PluginApiInfoAutoLoadScriptsCb)
* plugin_api_info_buffer_cb
*/
-TEST(PluginApiInfo, PluginApiInfoBufferCb)
+TEST(PluginApiInfo, BufferCb)
{
char *str, str_buffer[64];
@@ -345,7 +345,7 @@ TEST(PluginApiInfo, PluginApiInfoBufferCb)
* plugin_api_info_charset_terminal_cb
*/
-TEST(PluginApiInfo, PluginApiInfoCharsetTerminalCb)
+TEST(PluginApiInfo, CharsetTerminalCb)
{
char *str;
@@ -358,7 +358,7 @@ TEST(PluginApiInfo, PluginApiInfoCharsetTerminalCb)
* plugin_api_info_charset_internal_cb
*/
-TEST(PluginApiInfo, PluginApiInfoCharsetInternalCb)
+TEST(PluginApiInfo, CharsetInternalCb)
{
char *str;
@@ -371,7 +371,7 @@ TEST(PluginApiInfo, PluginApiInfoCharsetInternalCb)
* plugin_api_info_locale_cb
*/
-TEST(PluginApiInfo, PluginApiInfoLocaleCb)
+TEST(PluginApiInfo, LocaleCb)
{
char *str;
@@ -384,7 +384,7 @@ TEST(PluginApiInfo, PluginApiInfoLocaleCb)
* plugin_api_info_inactivity_cb
*/
-TEST(PluginApiInfo, PluginApiInfoInactivityCb)
+TEST(PluginApiInfo, InactivityCb)
{
char *str, *error;
long long inactivity;
@@ -401,7 +401,7 @@ TEST(PluginApiInfo, PluginApiInfoInactivityCb)
* plugin_api_info_filters_enabled_cb
*/
-TEST(PluginApiInfo, PluginApiInfoFiltersEnabledCb)
+TEST(PluginApiInfo, FiltersEnabledCb)
{
char *str;
@@ -419,7 +419,7 @@ TEST(PluginApiInfo, PluginApiInfoFiltersEnabledCb)
* plugin_api_info_cursor_mode_cb
*/
-TEST(PluginApiInfo, PluginApiInfoCursorModeCb)
+TEST(PluginApiInfo, CursorModeCb)
{
char *str;
@@ -431,7 +431,7 @@ TEST(PluginApiInfo, PluginApiInfoCursorModeCb)
* plugin_api_info_mouse_cb
*/
-TEST(PluginApiInfo, PluginApiInfoMouseCb)
+TEST(PluginApiInfo, MouseCb)
{
char *str;
@@ -449,7 +449,7 @@ TEST(PluginApiInfo, PluginApiInfoMouseCb)
* plugin_api_info_term_width_cb
*/
-TEST(PluginApiInfo, PluginApiInfoTermWidthCb)
+TEST(PluginApiInfo, TermWidthCb)
{
char *str, str_width[64];
@@ -462,7 +462,7 @@ TEST(PluginApiInfo, PluginApiInfoTermWidthCb)
* plugin_api_info_term_height_cb
*/
-TEST(PluginApiInfo, PluginApiInfoTermHeightCb)
+TEST(PluginApiInfo, TermHeightCb)
{
char *str, str_height[64];
@@ -475,7 +475,7 @@ TEST(PluginApiInfo, PluginApiInfoTermHeightCb)
* plugin_api_info_term_colors_cb
*/
-TEST(PluginApiInfo, PluginApiInfoTermColorsCb)
+TEST(PluginApiInfo, TermColorsCb)
{
char *str, str_colors[64];
@@ -489,7 +489,7 @@ TEST(PluginApiInfo, PluginApiInfoTermColorsCb)
* plugin_api_info_term_color_pairs_cb
*/
-TEST(PluginApiInfo, PluginApiInfoTermColorPairsCb)
+TEST(PluginApiInfo, TermColorPairsCb)
{
char *str, str_color_pairs[64];
@@ -503,7 +503,7 @@ TEST(PluginApiInfo, PluginApiInfoTermColorPairsCb)
* plugin_api_info_color_ansi_regex_cb
*/
-TEST(PluginApiInfo, PluginApiInfoColorAnsiRegexCb)
+TEST(PluginApiInfo, ColorAnsiRegexCb)
{
char *str;
@@ -516,7 +516,7 @@ TEST(PluginApiInfo, PluginApiInfoColorAnsiRegexCb)
* plugin_api_info_color_term2rgb_cb
*/
-TEST(PluginApiInfo, PluginApiInfoColorTerm2rgbCb)
+TEST(PluginApiInfo, ColorTerm2rgbCb)
{
char *str;
@@ -532,7 +532,7 @@ TEST(PluginApiInfo, PluginApiInfoColorTerm2rgbCb)
* plugin_api_info_color_rgb2term_cb
*/
-TEST(PluginApiInfo, PluginApiInfoColorRgb2termCb)
+TEST(PluginApiInfo, ColorRgb2termCb)
{
char *str;
@@ -552,7 +552,7 @@ TEST(PluginApiInfo, PluginApiInfoColorRgb2termCb)
* plugin_api_info_nick_color_name_ignore_case_cb
*/
-TEST(PluginApiInfo, PluginApiInfoNickColor)
+TEST(PluginApiInfo, NickColor)
{
char *str, str_color[64];
@@ -594,7 +594,7 @@ TEST(PluginApiInfo, PluginApiInfoNickColor)
* plugin_api_info_uptime_current_cb
*/
-TEST(PluginApiInfo, PluginApiInfoUptime)
+TEST(PluginApiInfo, Uptime)
{
char *str, *error;
long long seconds;
@@ -627,7 +627,7 @@ TEST(PluginApiInfo, PluginApiInfoUptime)
* plugin_api_info_totp_validate_cb
*/
-TEST(PluginApiInfo, PluginApiInfoTotpGenerateCb)
+TEST(PluginApiInfo, TotpGenerateCb)
{
char *str;
@@ -667,7 +667,7 @@ TEST(PluginApiInfo, PluginApiInfoTotpGenerateCb)
* plugin_api_info_hashtable_secured_data_cb
*/
-TEST(PluginApiInfo, PluginApiInfoHashtableSecuredDataCb)
+TEST(PluginApiInfo, HashtableSecuredDataCb)
{
struct t_hashtable *hashtable;
@@ -690,7 +690,7 @@ TEST(PluginApiInfo, PluginApiInfoHashtableSecuredDataCb)
* plugin_api_infolist_bar_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistBarCb)
+TEST(PluginApiInfo, InfolistBarCb)
{
struct t_infolist *infolist;
@@ -729,7 +729,7 @@ TEST(PluginApiInfo, PluginApiInfolistBarCb)
* plugin_api_infolist_bar_item_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistBarItemCb)
+TEST(PluginApiInfo, InfolistBarItemCb)
{
struct t_infolist *infolist;
@@ -768,7 +768,7 @@ TEST(PluginApiInfo, PluginApiInfolistBarItemCb)
* plugin_api_infolist_bar_window_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistBarWindowCb)
+TEST(PluginApiInfo, InfolistBarWindowCb)
{
struct t_infolist *infolist;
struct t_gui_bar *ptr_bar;
@@ -806,7 +806,7 @@ TEST(PluginApiInfo, PluginApiInfolistBarWindowCb)
* plugin_api_infolist_buffer_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistBufferCb)
+TEST(PluginApiInfo, InfolistBufferCb)
{
struct t_infolist *infolist;
@@ -843,7 +843,7 @@ TEST(PluginApiInfo, PluginApiInfolistBufferCb)
* plugin_api_infolist_buffer_lines_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistBufferLinesCb)
+TEST(PluginApiInfo, InfolistBufferLinesCb)
{
struct t_infolist *infolist;
time_t date;
@@ -874,7 +874,7 @@ TEST(PluginApiInfo, PluginApiInfolistBufferLinesCb)
* plugin_api_infolist_filter_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistFilterCb)
+TEST(PluginApiInfo, InfolistFilterCb)
{
struct t_infolist *infolist;
struct t_gui_filter *ptr_filter1, *ptr_filter2;
@@ -924,7 +924,7 @@ TEST(PluginApiInfo, PluginApiInfolistFilterCb)
* plugin_api_infolist_history_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistHistoryCb)
+TEST(PluginApiInfo, InfolistHistoryCb)
{
struct t_infolist *infolist;
@@ -955,7 +955,7 @@ TEST(PluginApiInfo, PluginApiInfolistHistoryCb)
* plugin_api_infolist_hook_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistHookCb)
+TEST(PluginApiInfo, InfolistHookCb)
{
struct t_infolist *infolist;
const char *ptr_name;
@@ -1012,7 +1012,7 @@ TEST(PluginApiInfo, PluginApiInfolistHookCb)
* plugin_api_infolist_hotlist_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistHotlistCb)
+TEST(PluginApiInfo, InfolistHotlistCb)
{
struct t_infolist *infolist;
@@ -1042,7 +1042,7 @@ TEST(PluginApiInfo, PluginApiInfolistHotlistCb)
* plugin_api_infolist_key_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistKeyCb)
+TEST(PluginApiInfo, InfolistKeyCb)
{
struct t_infolist *infolist;
@@ -1071,7 +1071,7 @@ TEST(PluginApiInfo, PluginApiInfolistKeyCb)
* plugin_api_infolist_layout_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistLayoutCb)
+TEST(PluginApiInfo, InfolistLayoutCb)
{
struct t_infolist *infolist;
struct t_gui_layout *ptr_layout;
@@ -1103,7 +1103,7 @@ TEST(PluginApiInfo, PluginApiInfolistLayoutCb)
* plugin_api_infolist_nicklist_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistNicklistCb)
+TEST(PluginApiInfo, InfolistNicklistCb)
{
struct t_infolist *infolist;
@@ -1128,7 +1128,7 @@ TEST(PluginApiInfo, PluginApiInfolistNicklistCb)
* plugin_api_infolist_option_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistOptionCb)
+TEST(PluginApiInfo, InfolistOptionCb)
{
struct t_infolist *infolist;
@@ -1161,7 +1161,7 @@ TEST(PluginApiInfo, PluginApiInfolistOptionCb)
* plugin_api_infolist_plugin_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistPluginCb)
+TEST(PluginApiInfo, InfolistPluginCb)
{
struct t_infolist *infolist;
struct t_weechat_plugin *ptr_plugin;
@@ -1207,7 +1207,7 @@ TEST(PluginApiInfo, PluginApiInfolistPluginCb)
* plugin_api_infolist_proxy_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistProxyCb)
+TEST(PluginApiInfo, InfolistProxyCb)
{
struct t_infolist *infolist;
struct t_proxy *ptr_proxy1, *ptr_proxy2;
@@ -1255,7 +1255,7 @@ TEST(PluginApiInfo, PluginApiInfolistProxyCb)
* plugin_api_infolist_url_options_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistUrlOptionsCb)
+TEST(PluginApiInfo, InfolistUrlOptionsCb)
{
struct t_infolist *infolist;
@@ -1273,7 +1273,7 @@ TEST(PluginApiInfo, PluginApiInfolistUrlOptionsCb)
* plugin_api_infolist_window_cb
*/
-TEST(PluginApiInfo, PluginApiInfolistWindowCb)
+TEST(PluginApiInfo, InfolistWindowCb)
{
struct t_infolist *infolist;
@@ -1321,7 +1321,7 @@ TEST(PluginApiInfo, PluginApiInfolistWindowCb)
* plugin_api_info_init
*/
-TEST(PluginApiInfo, PluginApiInfoInit)
+TEST(PluginApiInfo, Init)
{
/* TODO: write tests */
}