1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

tests: add tests on plugin API info functions

This commit is contained in:
Sébastien Helleu
2023-12-02 11:40:28 +01:00
parent 36b9a58c72
commit d6796edac0
7 changed files with 1334 additions and 1 deletions
+4
View File
@@ -56,6 +56,10 @@ Bug fixes::
* relay: close properly connection with the IRC client in case of server disconnection (issue #2038)
* ruby: fix use of NULL variable when displaying exception
Tests::
* core: add tests on plugin API info functions
Build::
* core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031)
+1
View File
@@ -403,6 +403,7 @@ WeeChat "core" is located in following directories:
|          unparse.py | Convert Python code to other languages, used by script testapigen.py.
|    unit/ | Root of unit tests.
|       test-plugins.cpp | Tests: plugins.
|       test-plugins-api-info.cpp | Tests: plugins API info functions.
|       core/ | Root of unit tests for core.
|          test-core-arraylist.cpp | Tests: arraylists.
|          test-core-calc.cpp | Tests: calculation of expressions.
+1
View File
@@ -405,6 +405,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|          unparse.py | Conversion de code Python vers d'autres langages, utilisé par le script testapigen.py.
|    unit/ | Racine des tests unitaires.
|       test-plugins.cpp | Tests : extensions.
|       test-plugins-api-info.cpp | Tests : fonctions info de l'API.
|       core/ | Racine des tests unitaires pour le cœur.
|          test-core-arraylist.cpp | Tests : listes avec tableau (« arraylists »).
|          test-core-calc.cpp | Tests : calcul d'expressions.
+2
View File
@@ -430,6 +430,8 @@ WeeChat "core" は以下のディレクトリに配置されています:
|          unparse.py | Python コードを別の言語に変換 (スクリプト testapigen.py から使われます)
|    unit/ | 単体テスト用のルートディレクトリ
|       test-plugins.cpp | テスト: プラグイン
// TRANSLATION MISSING
|       test-plugins-api-info.cpp | Tests: plugins API info functions.
|       core/ | core 向け単体テスト用のルートディレクトリ
|          test-core-arraylist.cpp | テスト: 配列リスト
// TRANSLATION MISSING
+2
View File
@@ -405,6 +405,8 @@ WeeChat „језгро” се налази у следећим директо
|          unparse.py | Конверзија Python кода у остале језике, користи је скрипта testapigen.py.
|    unit/ | Корен unit тестова.
|       test-plugins.cpp | Тестови: plugins.
// TRANSLATION MISSING
|       test-plugins-api-info.cpp | Tests: plugins API info functions.
|       core/ | Корен unit тестова језгра.
|          test-core-arraylist.cpp | Тестови: arraylists.
|          test-core-calc.cpp | Тестови: калкулација израза.
+4 -1
View File
@@ -62,7 +62,10 @@ set(LIB_WEECHAT_UNIT_TESTS_CORE_SRC
add_library(weechat_unit_tests_core STATIC ${LIB_WEECHAT_UNIT_TESTS_CORE_SRC})
# unit tests (plugins)
set(LIB_WEECHAT_UNIT_TESTS_PLUGINS_SRC unit/plugins/test-plugins.cpp)
set(LIB_WEECHAT_UNIT_TESTS_PLUGINS_SRC
unit/plugins/test-plugins.cpp
unit/plugins/test-plugins-api-info.cpp
)
if(ENABLE_ALIAS)
list(APPEND LIB_WEECHAT_UNIT_TESTS_PLUGINS_SRC
File diff suppressed because it is too large Load Diff