fuse_kafka
Defines | Functions | Variables
src/test.c File Reference
#include <sys/types.h>
#include <dirent.h>
#include "fuse.h"
#include "hash.c"
#include "kafka_client.c"
#include "test_config.c"
#include "output.c"
#include "minunit.h"
#include "minunit.c"

Go to the source code of this file.

Defines

#define STRINGIFY(x)   #x
#define b64_assert(a, b)
#define test_output_expected   "a:2181,a:2181"

Functions

static char * get_file_content (char *path)
static char * test_parse_arguments ()
static char * test_utils ()
static int expect_base64 (char *input, char *expected)
static char * test_utils_base64 ()
static char * test_time_queue ()
int verbose_string_list_add (string_list **list, char *word)
static char * test_string_list_fillup_to (char *word, string_list *list, size_t size)
static char * test_string_list ()
static char * test_server_list ()
static char * test_zookeeper ()
static char * test_trace ()
void dynamic_configuration_handler (int argc, char **argv, void *context)
void zktouch (char *path)
static char * test_dynamic_configuration ()
static char * test_fk_hash ()
static char * test_my_input_setup ()
static char * test_output ()
static char * test_plugin ()
void test_queue_callback (const char *prefix, const char *path, char *buf, size_t size, off_t offset)
static char * test_queue ()
static char * all_tests ()

Variables

int test_queue_n
char test_queue_chars [] = {0, 0}

Detailed Description

Definition in file test.c.


Define Documentation

#define b64_assert (   a,
 
)
Value:
{\
    mu_assert("base64 encoding \"" a "\" should return \"" b "\"", \
            expect_base64(a, b)); }
 All Data Structures Files Functions Variables Defines