Use the wapp.h header in tests
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#ifndef TEST_ALLOCATOR_H
|
||||
#define TEST_ALLOCATOR_H
|
||||
|
||||
#include "tester.h"
|
||||
#include "wapp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
BEGIN_C_LINKAGE
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#ifndef TEST_ARENA_H
|
||||
#define TEST_ARENA_H
|
||||
|
||||
#include "tester.h"
|
||||
#include "wapp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
BEGIN_C_LINKAGE
|
||||
|
@@ -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>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#ifndef TEST_CPATH_H
|
||||
#define TEST_CPATH_H
|
||||
|
||||
#include "tester.h"
|
||||
#include "wapp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
BEGIN_C_LINKAGE
|
||||
|
@@ -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>
|
||||
|
@@ -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
|
||||
|
@@ -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]))
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#ifndef TEST_STR8_H
|
||||
#define TEST_STR8_H
|
||||
|
||||
#include "tester.h"
|
||||
#include "wapp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
BEGIN_C_LINKAGE
|
||||
|
@@ -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;
|
||||
|
@@ -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
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user