Rename Tester

This commit is contained in:
2026-06-26 15:53:08 +01:00
parent cdca775681
commit 28f95b1d41
34 changed files with 479 additions and 479 deletions
+8 -8
View File
@@ -6,7 +6,7 @@
#define MAIN_BUF_SIZE 4096
#define TMP_BUF_SIZE 1024
TestFuncResult test_cpath_join_path(void) {
WpTestFuncResult test_cpath_join_path(void) {
b8 result;
Str8 expected = wapp_str8_buf(MAIN_BUF_SIZE);
@@ -95,13 +95,13 @@ TestFuncResult test_cpath_join_path(void) {
wapp_cpath_join_path(&out, &parts);
result = result && wapp_str8_equal(&out, &expected);
return wapp_tester_result(result);
return wpTesterResult(result);
}
TestFuncResult test_cpath_dirname(void) {
WpTestFuncResult test_cpath_dirname(void) {
Allocator arena = wapp_mem_arena_allocator_init(MiB(8));
if (wapp_mem_allocator_invalid(&arena)) {
return wapp_tester_result(false);
return wpTesterResult(false);
}
b8 result;
@@ -145,13 +145,13 @@ TestFuncResult test_cpath_dirname(void) {
wapp_mem_arena_allocator_destroy(&arena);
return wapp_tester_result(result);
return wpTesterResult(result);
}
TestFuncResult test_cpath_dirup(void) {
WpTestFuncResult test_cpath_dirup(void) {
Allocator arena = wapp_mem_arena_allocator_init(MiB(8));
if (wapp_mem_allocator_invalid(&arena)) {
return wapp_tester_result(false);
return wpTesterResult(false);
}
b8 result;
@@ -197,5 +197,5 @@ TestFuncResult test_cpath_dirup(void) {
wapp_mem_arena_allocator_destroy(&arena);
return wapp_tester_result(result);
return wpTesterResult(result);
}