Use the wapp.h header in tests

This commit is contained in:
Abdelrahman Said
2025-02-24 08:52:46 +00:00
parent 9403193f09
commit 82c23eed5e
15 changed files with 15 additions and 32 deletions

View File

@@ -1,7 +1,5 @@
#include "test_allocator.h"
#include "mem_allocator.h"
#include "mem_arena_allocator.h"
#include "tester.h"
#include "wapp.h"
#include <stdbool.h>
#include <stdlib.h>

View File

@@ -1,7 +1,7 @@
#ifndef TEST_ALLOCATOR_H
#define TEST_ALLOCATOR_H
#include "tester.h"
#include "wapp.h"
#ifdef __cplusplus
BEGIN_C_LINKAGE

View File

@@ -1,8 +1,5 @@
#include "test_arena.h"
#include "aliases.h"
#include "mem_arena.h"
#include "misc_utils.h"
#include "tester.h"
#include "wapp.h"
#include <stdbool.h>
#include <stdlib.h>

View File

@@ -1,7 +1,7 @@
#ifndef TEST_ARENA_H
#define TEST_ARENA_H
#include "tester.h"
#include "wapp.h"
#ifdef __cplusplus
BEGIN_C_LINKAGE

View File

@@ -1,10 +1,5 @@
#include "test_cpath.h"
#include "cpath.h"
#include "mem_allocator.h"
#include "mem_arena_allocator.h"
#include "misc_utils.h"
#include "str8.h"
#include "tester.h"
#include "wapp.h"
#include <string.h>
#include <stdio.h>
#include <stdbool.h>

View File

@@ -1,7 +1,7 @@
#ifndef TEST_CPATH_H
#define TEST_CPATH_H
#include "tester.h"
#include "wapp.h"
#ifdef __cplusplus
BEGIN_C_LINKAGE

View File

@@ -1,7 +1,5 @@
#include "test_shell_commander.h"
#include "commander.h"
#include "str8.h"
#include "tester.h"
#include "wapp.h"
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>

View File

@@ -1,7 +1,7 @@
#ifndef TEST_SHELL_COMMANDER_H
#define TEST_SHELL_COMMANDER_H
#include "tester.h"
#include "wapp.h"
#ifdef __cplusplus
BEGIN_C_LINKAGE

View File

@@ -1,9 +1,5 @@
#include "test_str8.h"
#include "mem_allocator.h"
#include "mem_arena_allocator.h"
#include "misc_utils.h"
#include "str8.h"
#include "tester.h"
#include "wapp.h"
#include <stdbool.h>
#define ARRLEN(ARR) (sizeof(ARR) / sizeof(ARR[0]))

View File

@@ -1,7 +1,7 @@
#ifndef TEST_STR8_H
#define TEST_STR8_H
#include "tester.h"
#include "wapp.h"
#ifdef __cplusplus
BEGIN_C_LINKAGE

View File

@@ -1,6 +1,5 @@
#include "test_str8_list.h"
#include "str8.h"
#include "tester.h"
#include "wapp.h"
TestFuncResult test_str8_list_get(void) {
bool result;

View File

@@ -1,7 +1,7 @@
#ifndef TEST_STR8_LIST_H
#define TEST_STR8_LIST_H
#include "tester.h"
#include "wapp.h"
#ifdef __cplusplus
BEGIN_C_LINKAGE

View File

@@ -4,7 +4,7 @@
#include "test_arena.h"
#include "test_cpath.h"
#include "test_shell_commander.h"
#include "tester.h"
#include "wapp.h"
#include <stdlib.h>
int main(void) {