From 12a6f74ec01d9daa2e23dce5ab15b1ee3ce09006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 7 Aug 2018 21:50:04 +0200 Subject: 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 --- tests/unit/core/test-hdata.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/unit/core/test-hdata.cpp') 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 */ } -- cgit v1.2.3