#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <atalk/cnid.h>
#include <atalk/directory.h>
#include <atalk/globals.h>
#include <atalk/logger.h>
#include <atalk/queue.h>
#include <atalk/util.h>
#include <atalk/volume.h>
#include "afp_config.h"
#include "dircache.h"
#include "directory.h"
#include "hash.h"
#include "subtests.h"
#include "volume.h"
Go to the source code of this file.
◆ TEST
Value: do { \
test_begin(#a); \
a; \
test_ok(#a); \
} while (0)
◆ TEST_expr
| #define TEST_expr |
( |
|
a, |
|
|
|
b |
|
) |
| |
Value: do { \
test_begin(#a); \
a; \
if (b) { \
test_ok(#a); \
} else { \
test_fail(#a, __FILE__, __LINE__); \
test_abort(); \
exit(1); \
} \
} while (0)
◆ TEST_int
| #define TEST_int |
( |
|
a, |
|
|
|
b |
|
) |
| |
Value: do { \
test_begin(#a); \
if ((reti = (a)) != b) { \
test_fail_int(#a, reti, b, __FILE__, \
__LINE__); \
test_abort(); \
exit(1); \
} else { \
test_ok(#a); \
} \
} while (0)
◆ alignok()
| static void alignok |
( |
int |
len | ) |
|
|
inlinestatic |
◆ test_abort()
| static void test_abort |
( |
void |
| ) |
|
|
inlinestatic |
◆ test_begin()
| static void test_begin |
( |
const char * |
name | ) |
|
|
inlinestatic |
◆ test_fail()
| static void test_fail |
( |
const char * |
name, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
|
inlinestatic |
◆ test_fail_int()
| static void test_fail_int |
( |
const char * |
name, |
|
|
int |
got, |
|
|
int |
expected, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
|
inlinestatic |
◆ test_ok()
| static void test_ok |
( |
const char * |
name | ) |
|
|
inlinestatic |
◆ test_plan()
| static void test_plan |
( |
int |
count | ) |
|
|
inlinestatic |
◆ test_section()
| static void test_section |
( |
const char * |
title, |
|
|
const char * |
underline |
|
) |
| |
|
inlinestatic |
◆ test_stream()
| static FILE * test_stream |
( |
void |
| ) |
|
|
inlinestatic |
◆ test_case_num
◆ test_output_tap
◆ test_report_stream