girara
|
#include <check.h>
#include <glib.h>
#include <glib/gstdio.h>
#include <sys/types.h>
#include <pwd.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include "../utils.h"
#include "../datastructures.h"
Go to the source code of this file.
Data Structures | |
struct | pwd_info_t |
Defines | |
#define | _BSD_SOURCE |
#define | _POSIX_SOURCE |
Functions | |
START_TEST (test_home_directory) | |
END_TEST | START_TEST (test_fix_path_basic) |
END_TEST | START_TEST (test_fix_path_extended) |
START_TEST (test_xdg_path) | |
END_TEST | START_TEST (test_file_invariants) |
END_TEST | START_TEST (test_file_read) |
END_TEST | START_TEST (test_safe_realloc) |
END_TEST | START_TEST (test_split_path) |
END_TEST Suite * | suite_utils () |
#define _BSD_SOURCE |
Definition at line 3 of file test_utils.c.
#define _POSIX_SOURCE |
Definition at line 4 of file test_utils.c.
START_TEST | ( | test_home_directory | ) |
Definition at line 60 of file test_utils.c.
END_TEST START_TEST | ( | test_fix_path_basic | ) |
Definition at line 100 of file test_utils.c.
END_TEST START_TEST | ( | test_fix_path_extended | ) |
Definition at line 112 of file test_utils.c.
START_TEST | ( | test_xdg_path | ) |
Definition at line 164 of file test_utils.c.
END_TEST START_TEST | ( | test_file_invariants | ) |
Definition at line 171 of file test_utils.c.
END_TEST START_TEST | ( | test_file_read | ) |
Definition at line 180 of file test_utils.c.
END_TEST START_TEST | ( | test_safe_realloc | ) |
Definition at line 215 of file test_utils.c.
END_TEST START_TEST | ( | test_split_path | ) |
Definition at line 227 of file test_utils.c.
END_TEST Suite* suite_utils | ( | ) |
Definition at line 245 of file test_utils.c.