summaryrefslogtreecommitdiff
path: root/tests/unit/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-03-12 21:09:42 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-03-12 21:27:37 +0100
commit24c4029c96fa04b3cb4f90fbb36dc5248dd39810 (patch)
treeca51727f97207117f335f0309c063ffd2f168f2d /tests/unit/core
parentbb346f8c6c62655a6ef8fe4bc848d179258ce008 (diff)
downloadweechat-24c4029c96fa04b3cb4f90fbb36dc5248dd39810.zip
core: remove "wee-" prefix from source files in src/core and src/core/hook
Diffstat (limited to 'tests/unit/core')
-rw-r--r--tests/unit/core/hook/test-hook-command.cpp2
-rw-r--r--tests/unit/core/test-core-arraylist.cpp4
-rw-r--r--tests/unit/core/test-core-calc.cpp4
-rw-r--r--tests/unit/core/test-core-command.cpp6
-rw-r--r--tests/unit/core/test-core-config-file.cpp8
-rw-r--r--tests/unit/core/test-core-crypto.cpp4
-rw-r--r--tests/unit/core/test-core-dir.cpp4
-rw-r--r--tests/unit/core/test-core-eval.cpp14
-rw-r--r--tests/unit/core/test-core-hashtable.cpp6
-rw-r--r--tests/unit/core/test-core-hdata.cpp10
-rw-r--r--tests/unit/core/test-core-hook.cpp4
-rw-r--r--tests/unit/core/test-core-infolist.cpp4
-rw-r--r--tests/unit/core/test-core-list.cpp2
-rw-r--r--tests/unit/core/test-core-network.cpp2
-rw-r--r--tests/unit/core/test-core-secure.cpp10
-rw-r--r--tests/unit/core/test-core-signal.cpp2
-rw-r--r--tests/unit/core/test-core-string.cpp6
-rw-r--r--tests/unit/core/test-core-sys.cpp4
-rw-r--r--tests/unit/core/test-core-url.cpp2
-rw-r--r--tests/unit/core/test-core-utf8.cpp4
-rw-r--r--tests/unit/core/test-core-util.cpp4
21 files changed, 53 insertions, 53 deletions
diff --git a/tests/unit/core/hook/test-hook-command.cpp b/tests/unit/core/hook/test-hook-command.cpp
index d8be77d40..15a80dde8 100644
--- a/tests/unit/core/hook/test-hook-command.cpp
+++ b/tests/unit/core/hook/test-hook-command.cpp
@@ -29,7 +29,7 @@ extern "C"
#define HAVE_CONFIG_H
#endif
#include "src/core/weechat.h"
-#include "src/core/hook/wee-hook-command.h"
+#include "src/core/hook/hook-command.h"
#include "src/plugins/plugin.h"
extern char *hook_command_remove_raw_markers (const char *string);
diff --git a/tests/unit/core/test-core-arraylist.cpp b/tests/unit/core/test-core-arraylist.cpp
index 4b4409945..dd6d3b369 100644
--- a/tests/unit/core/test-core-arraylist.cpp
+++ b/tests/unit/core/test-core-arraylist.cpp
@@ -24,8 +24,8 @@
extern "C"
{
#include <string.h>
-#include "src/core/wee-arraylist.h"
-#include "src/core/wee-string.h"
+#include "src/core/core-arraylist.h"
+#include "src/core/core-string.h"
}
#define TEST_ARRAYLIST_ADD(__result, __value) \
diff --git a/tests/unit/core/test-core-calc.cpp b/tests/unit/core/test-core-calc.cpp
index 5814bfdff..c8f685bd4 100644
--- a/tests/unit/core/test-core-calc.cpp
+++ b/tests/unit/core/test-core-calc.cpp
@@ -26,8 +26,8 @@ extern "C"
#include <stdio.h>
#include <string.h>
#include <locale.h>
-#include "src/core/wee-arraylist.h"
-#include "src/core/wee-calc.h"
+#include "src/core/core-arraylist.h"
+#include "src/core/core-calc.h"
extern void calc_list_free_cb (void *data, struct t_arraylist *arraylist,
void *pointer);
diff --git a/tests/unit/core/test-core-command.cpp b/tests/unit/core/test-core-command.cpp
index deac8fc7a..89c565e8a 100644
--- a/tests/unit/core/test-core-command.cpp
+++ b/tests/unit/core/test-core-command.cpp
@@ -30,9 +30,9 @@ extern "C"
#define HAVE_CONFIG_H
#endif
#include "src/core/weechat.h"
-#include "src/core/wee-command.h"
-#include "src/core/wee-input.h"
-#include "src/core/wee-string.h"
+#include "src/core/core-command.h"
+#include "src/core/core-input.h"
+#include "src/core/core-string.h"
#include "src/gui/gui-buffer.h"
}
diff --git a/tests/unit/core/test-core-config-file.cpp b/tests/unit/core/test-core-config-file.cpp
index 44ac72e3a..b1f369685 100644
--- a/tests/unit/core/test-core-config-file.cpp
+++ b/tests/unit/core/test-core-config-file.cpp
@@ -26,10 +26,10 @@
extern "C"
{
#include <string.h>
-#include "src/core/wee-arraylist.h"
-#include "src/core/wee-config-file.h"
-#include "src/core/wee-config.h"
-#include "src/core/wee-secure-config.h"
+#include "src/core/core-arraylist.h"
+#include "src/core/core-config-file.h"
+#include "src/core/core-config.h"
+#include "src/core/core-secure-config.h"
#include "src/gui/gui-color.h"
#include "src/plugins/plugin.h"
#include "src/plugins/plugin-config.h"
diff --git a/tests/unit/core/test-core-crypto.cpp b/tests/unit/core/test-core-crypto.cpp
index b20490551..9871cc6a1 100644
--- a/tests/unit/core/test-core-crypto.cpp
+++ b/tests/unit/core/test-core-crypto.cpp
@@ -28,8 +28,8 @@ extern "C"
#include <string.h>
#include <ctype.h>
#include <gcrypt.h>
-#include "src/core/wee-crypto.h"
-#include "src/core/wee-string.h"
+#include "src/core/core-crypto.h"
+#include "src/core/core-string.h"
/* Hash */
#define DATA_HASH_MSG "this is a test of hash function"
diff --git a/tests/unit/core/test-core-dir.cpp b/tests/unit/core/test-core-dir.cpp
index e296e5823..12930d54d 100644
--- a/tests/unit/core/test-core-dir.cpp
+++ b/tests/unit/core/test-core-dir.cpp
@@ -27,8 +27,8 @@ extern "C"
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
-#include "src/core/wee-dir.h"
-#include "src/core/wee-string.h"
+#include "src/core/core-dir.h"
+#include "src/core/core-string.h"
extern void dir_remove_trailing_separators (char *path);
}
diff --git a/tests/unit/core/test-core-eval.cpp b/tests/unit/core/test-core-eval.cpp
index 8dea0020b..f01b5c41a 100644
--- a/tests/unit/core/test-core-eval.cpp
+++ b/tests/unit/core/test-core-eval.cpp
@@ -27,13 +27,13 @@ extern "C"
#include <string.h>
#include <regex.h>
#include <time.h>
-#include "src/core/wee-eval.h"
-#include "src/core/wee-config.h"
-#include "src/core/wee-config-file.h"
-#include "src/core/wee-hashtable.h"
-#include "src/core/wee-secure.h"
-#include "src/core/wee-string.h"
-#include "src/core/wee-version.h"
+#include "src/core/core-eval.h"
+#include "src/core/core-config.h"
+#include "src/core/core-config-file.h"
+#include "src/core/core-hashtable.h"
+#include "src/core/core-secure.h"
+#include "src/core/core-string.h"
+#include "src/core/core-version.h"
#include "src/gui/gui-buffer.h"
#include "src/gui/gui-line.h"
#include "src/gui/gui-color.h"
diff --git a/tests/unit/core/test-core-hashtable.cpp b/tests/unit/core/test-core-hashtable.cpp
index 162b7172d..26c41a237 100644
--- a/tests/unit/core/test-core-hashtable.cpp
+++ b/tests/unit/core/test-core-hashtable.cpp
@@ -25,9 +25,9 @@ extern "C"
{
#include <stdio.h>
#include <string.h>
-#include "src/core/wee-hashtable.h"
-#include "src/core/wee-infolist.h"
-#include "src/core/wee-list.h"
+#include "src/core/core-hashtable.h"
+#include "src/core/core-infolist.h"
+#include "src/core/core-list.h"
#include "src/plugins/plugin.h"
}
diff --git a/tests/unit/core/test-core-hdata.cpp b/tests/unit/core/test-core-hdata.cpp
index 84cba3fab..bb22cb74d 100644
--- a/tests/unit/core/test-core-hdata.cpp
+++ b/tests/unit/core/test-core-hdata.cpp
@@ -24,11 +24,11 @@
extern "C"
{
#include <string.h>
-#include "src/core/wee-hdata.h"
-#include "src/core/wee-config.h"
-#include "src/core/wee-hashtable.h"
-#include "src/core/wee-hook.h"
-#include "src/core/wee-string.h"
+#include "src/core/core-hdata.h"
+#include "src/core/core-config.h"
+#include "src/core/core-hashtable.h"
+#include "src/core/core-hook.h"
+#include "src/core/core-string.h"
#include "src/gui/gui-buffer.h"
#include "src/plugins/plugin.h"
}
diff --git a/tests/unit/core/test-core-hook.cpp b/tests/unit/core/test-core-hook.cpp
index bf35becb7..b7535658d 100644
--- a/tests/unit/core/test-core-hook.cpp
+++ b/tests/unit/core/test-core-hook.cpp
@@ -24,8 +24,8 @@
extern "C"
{
#include <string.h>
-#include "src/core/wee-hook.h"
-#include "src/core/wee-string.h"
+#include "src/core/core-hook.h"
+#include "src/core/core-string.h"
#include "src/gui/gui-buffer.h"
#include "src/gui/gui-chat.h"
#include "src/gui/gui-line.h"
diff --git a/tests/unit/core/test-core-infolist.cpp b/tests/unit/core/test-core-infolist.cpp
index 4e0cbe119..423a041e0 100644
--- a/tests/unit/core/test-core-infolist.cpp
+++ b/tests/unit/core/test-core-infolist.cpp
@@ -24,8 +24,8 @@
extern "C"
{
-#include "src/core/wee-hook.h"
-#include "src/core/wee-infolist.h"
+#include "src/core/core-hook.h"
+#include "src/core/core-infolist.h"
}
struct t_hook *hook_test_infolist = NULL;
diff --git a/tests/unit/core/test-core-list.cpp b/tests/unit/core/test-core-list.cpp
index d3f85b59e..91f9031dd 100644
--- a/tests/unit/core/test-core-list.cpp
+++ b/tests/unit/core/test-core-list.cpp
@@ -23,7 +23,7 @@
extern "C"
{
-#include "src/core/wee-list.h"
+#include "src/core/core-list.h"
#include "src/plugins/plugin.h"
}
diff --git a/tests/unit/core/test-core-network.cpp b/tests/unit/core/test-core-network.cpp
index 735af990e..f4274bacc 100644
--- a/tests/unit/core/test-core-network.cpp
+++ b/tests/unit/core/test-core-network.cpp
@@ -23,7 +23,7 @@
extern "C"
{
-#include "src/core/wee-network.h"
+#include "src/core/core-network.h"
extern int network_is_ip_address (const char *address);
}
diff --git a/tests/unit/core/test-core-secure.cpp b/tests/unit/core/test-core-secure.cpp
index d453f643c..26ba5f9fb 100644
--- a/tests/unit/core/test-core-secure.cpp
+++ b/tests/unit/core/test-core-secure.cpp
@@ -25,11 +25,11 @@ extern "C"
{
#include <string.h>
#include <gcrypt.h>
-#include "src/core/wee-config-file.h"
-#include "src/core/wee-crypto.h"
-#include "src/core/wee-secure.h"
-#include "src/core/wee-secure-config.h"
-#include "src/core/wee-string.h"
+#include "src/core/core-config-file.h"
+#include "src/core/core-crypto.h"
+#include "src/core/core-secure.h"
+#include "src/core/core-secure-config.h"
+#include "src/core/core-string.h"
#define SECURE_PASSPHRASE "this_is_a_secret_passphrase"
#define SECURE_PASSWORD "this_is_a_secret_password"
diff --git a/tests/unit/core/test-core-signal.cpp b/tests/unit/core/test-core-signal.cpp
index 6591a87dc..b6723089f 100644
--- a/tests/unit/core/test-core-signal.cpp
+++ b/tests/unit/core/test-core-signal.cpp
@@ -29,7 +29,7 @@ extern "C"
#include <stdio.h>
#include <string.h>
#include <signal.h>
-#include "src/core/wee-signal.h"
+#include "src/core/core-signal.h"
}
TEST_GROUP(CoreSignal)
diff --git a/tests/unit/core/test-core-string.cpp b/tests/unit/core/test-core-string.cpp
index fff62eeed..8881d2df5 100644
--- a/tests/unit/core/test-core-string.cpp
+++ b/tests/unit/core/test-core-string.cpp
@@ -34,9 +34,9 @@ extern "C"
#include <string.h>
#include <regex.h>
#include "src/core/weechat.h"
-#include "src/core/wee-config.h"
-#include "src/core/wee-string.h"
-#include "src/core/wee-hashtable.h"
+#include "src/core/core-config.h"
+#include "src/core/core-string.h"
+#include "src/core/core-hashtable.h"
#include "src/gui/gui-color.h"
#include "src/plugins/plugin.h"
}
diff --git a/tests/unit/core/test-core-sys.cpp b/tests/unit/core/test-core-sys.cpp
index a46550259..c23c13503 100644
--- a/tests/unit/core/test-core-sys.cpp
+++ b/tests/unit/core/test-core-sys.cpp
@@ -29,8 +29,8 @@ extern "C"
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
-#include "src/core/wee-string.h"
-#include "src/core/wee-util.h"
+#include "src/core/core-string.h"
+#include "src/core/core-util.h"
}
TEST_GROUP(CoreSys)
diff --git a/tests/unit/core/test-core-url.cpp b/tests/unit/core/test-core-url.cpp
index d19b49a8d..dba7a0261 100644
--- a/tests/unit/core/test-core-url.cpp
+++ b/tests/unit/core/test-core-url.cpp
@@ -23,7 +23,7 @@
extern "C"
{
-#include "src/core/wee-url.h"
+#include "src/core/core-url.h"
extern struct t_url_constant url_proxy_types[];
extern struct t_url_constant url_protocols[];
diff --git a/tests/unit/core/test-core-utf8.cpp b/tests/unit/core/test-core-utf8.cpp
index 12b76cb47..e87a679a7 100644
--- a/tests/unit/core/test-core-utf8.cpp
+++ b/tests/unit/core/test-core-utf8.cpp
@@ -28,8 +28,8 @@ extern "C"
#include <stdio.h>
#include <string.h>
#include <wctype.h>
-#include "src/core/wee-utf8.h"
-#include "src/core/wee-config.h"
+#include "src/core/core-utf8.h"
+#include "src/core/core-config.h"
}
#define TEST_STRNCPY(__result, __dest, __string, __length) \
diff --git a/tests/unit/core/test-core-util.cpp b/tests/unit/core/test-core-util.cpp
index 5f5c0847b..4f7730a94 100644
--- a/tests/unit/core/test-core-util.cpp
+++ b/tests/unit/core/test-core-util.cpp
@@ -31,8 +31,8 @@ extern "C"
#include <string.h>
#include <time.h>
#include <sys/time.h>
-#include "src/core/wee-string.h"
-#include "src/core/wee-util.h"
+#include "src/core/core-string.h"
+#include "src/core/core-util.h"
}
#define WEE_PARSE_DATE(__result, __sec, __usec, __datetime) \