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-performance.c File Reference
#include <groonga.h>
#include <cutter.h>
#include "../lib/grn-assertions.h"
Include dependency graph for test-performance.c:

Go to the source code of this file.

Data Structures

struct  _grn_test_data

Macros

#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_read_write (void)
void test_read_write (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))

Typedef Documentation

typedef struct _grn_test_data grn_test_data

Function Documentation

void cut_setup ( void  )

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

Here is the call graph for this function:

void cut_teardown ( void  )

Definition at line 105 of file test-performance.c.

Here is the call graph for this function:

void data_read_write ( void  )

Definition at line 228 of file test-performance.c.

void test_read_write ( gconstpointer  test_data)

Definition at line 235 of file test-performance.c.