Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs | Functions
test-stress.c File Reference
#include <hash.h>
#include <pat.h>
#include <gcutter.h>
#include "../lib/grn-assertions.h"
Include dependency graph for test-stress.c:

Go to the source code of this file.

Data Structures

struct  _grn_test_data

Macros

#define VALUE_SIZE   1024
#define SAVE_ENV_VALUE(var_name, macro_name)   env_ ## var_name = g_strdup(g_getenv(GRN_TEST_ENV_ ## macro_name))
#define RESTORE_ENV_VALUE(var_name, macro_name)

Typedefs

typedef struct _grn_test_data grn_test_data

Functions

void data_hash (void)
void test_hash (gconstpointer test_data)
void data_patricia_trie (void)
void test_patricia_trie (gconstpointer test_data)
void cut_setup (void)
void cut_teardown (void)

Macro Definition Documentation

#define RESTORE_ENV_VALUE (   var_name,
  macro_name 
)
Value:
do \
{ \
if (env_ ## var_name) { \
g_setenv(GRN_TEST_ENV_ ## macro_name, env_ ## var_name, TRUE); \
g_free(env_ ## var_name); \
} else { \
g_unsetenv(GRN_TEST_ENV_ ## macro_name); \
} \
} while(0)
#define SAVE_ENV_VALUE (   var_name,
  macro_name 
)    env_ ## var_name = g_strdup(g_getenv(GRN_TEST_ENV_ ## macro_name))
#define VALUE_SIZE   1024

Definition at line 31 of file test-stress.c.

Typedef Documentation

typedef struct _grn_test_data grn_test_data

Function Documentation

void cut_setup ( void  )

Definition at line 44 of file test-stress.c.

Here is the call graph for this function:

void cut_teardown ( void  )

Definition at line 73 of file test-stress.c.

Here is the call graph for this function:

void data_hash ( void  )

Definition at line 166 of file test-stress.c.

void data_patricia_trie ( void  )

Definition at line 198 of file test-stress.c.

void test_hash ( gconstpointer  test_data)

Definition at line 179 of file test-stress.c.

Here is the call graph for this function:

void test_patricia_trie ( gconstpointer  test_data)

Definition at line 211 of file test-stress.c.

Here is the call graph for this function: