summaryrefslogtreecommitdiff
path: root/tests/unit/core/test-hdata.cpp
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-08-07 21:50:04 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-08-12 20:30:13 +0200
commit12a6f74ec01d9daa2e23dce5ab15b1ee3ce09006 (patch)
treeacf40a6fdbe99a8192c29408f130bdf900f12d2e /tests/unit/core/test-hdata.cpp
parentd699ae89aa0ff818b6264ad17f62377f1753999d (diff)
downloadweechat-12a6f74ec01d9daa2e23dce5ab15b1ee3ce09006.zip
core: fix check of tags in lines
All changes: - fix check of tags in lines: check lines without tags, fix check of tags with negation ("!tag") - add string functions string_split_tags and string_free_split_tags - add tests on function gui_line_match_tags
Diffstat (limited to 'tests/unit/core/test-hdata.cpp')
-rw-r--r--tests/unit/core/test-hdata.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/unit/core/test-hdata.cpp b/tests/unit/core/test-hdata.cpp
index 4a7ff306f..65e342a94 100644
--- a/tests/unit/core/test-hdata.cpp
+++ b/tests/unit/core/test-hdata.cpp
@@ -26,7 +26,7 @@ extern "C"
#include "src/core/wee-hdata.h"
}
-TEST_GROUP(Hdata)
+TEST_GROUP(CoreHdata)
{
};
@@ -37,7 +37,7 @@ TEST_GROUP(Hdata)
* hdata_new_list
*/
-TEST(Hdata, New)
+TEST(CoreHdata, New)
{
/* TODO: write tests */
}
@@ -55,7 +55,7 @@ TEST(Hdata, New)
* hdata_get_list
*/
-TEST(Hdata, Get)
+TEST(CoreHdata, Get)
{
/* TODO: write tests */
}
@@ -65,7 +65,7 @@ TEST(Hdata, Get)
* hdata_check_pointer
*/
-TEST(Hdata, Check)
+TEST(CoreHdata, Check)
{
/* TODO: write tests */
}
@@ -76,7 +76,7 @@ TEST(Hdata, Check)
* hdata_search
*/
-TEST(Hdata, Move)
+TEST(CoreHdata, Move)
{
/* TODO: write tests */
}
@@ -91,7 +91,7 @@ TEST(Hdata, Move)
* hdata_time
*/
-TEST(Hdata, Read)
+TEST(CoreHdata, Read)
{
/* TODO: write tests */
}
@@ -102,7 +102,7 @@ TEST(Hdata, Read)
* hdata_free_all
*/
-TEST(Hdata, Free)
+TEST(CoreHdata, Free)
{
/* TODO: write tests */
}
@@ -112,7 +112,7 @@ TEST(Hdata, Free)
* hdata_print_log
*/
-TEST(Hdata, PrintLog)
+TEST(CoreHdata, PrintLog)
{
/* TODO: write tests */
}