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

Go to the source code of this file.

Macros

#define TYPE_SIZE   1024
#define clear_messages()   grn_collect_logger_clear_messages(logger)
#define messages()   grn_collect_logger_get_messages(logger)
#define cut_assert_create()

Functions

void test_create (void)
void test_create_with_null_path (void)
void test_create_with_long_path (void)
void test_create_with_null_lexicon (void)
void test_open (void)
void test_open_nonexistence_path (void)
void test_open_invalid_segment_file (void)
void test_open_invalid_chunk_file (void)
void test_open_with_null_lexicon (void)
void test_crud (void)
void test_array_index (void)
void test_scalar_index (void)
void test_int_index (void)
void test_mroonga_index (void)
void test_mroonga_index_score (void)
void cut_startup (void)
void cut_shutdown (void)
void cut_setup (void)
void cut_teardown (void)

Macro Definition Documentation

#define clear_messages ( )    grn_collect_logger_clear_messages(logger)

Definition at line 178 of file test-inverted-index.c.

#define cut_assert_create ( )
Value:
do \
{ \
inverted_index = grn_ii_create(context, path, lexicon, 0); \
((grn_db_obj *)inverted_index)->header.domain = GRN_DB_VOID; \
cut_assert_not_null(inverted_index); \
cut_assert_file_exist(cut_take_printf("%s.c", path)); \
} while (0)

Definition at line 184 of file test-inverted-index.c.

#define messages ( )    grn_collect_logger_get_messages(logger)

Definition at line 181 of file test-inverted-index.c.

#define TYPE_SIZE   1024

Definition at line 42 of file test-inverted-index.c.

Function Documentation

void cut_setup ( void  )

Definition at line 79 of file test-inverted-index.c.

Here is the call graph for this function:

void cut_shutdown ( void  )

Definition at line 66 of file test-inverted-index.c.

Here is the call graph for this function:

void cut_startup ( void  )

Definition at line 58 of file test-inverted-index.c.

Here is the call graph for this function:

void cut_teardown ( void  )

Definition at line 153 of file test-inverted-index.c.

Here is the call graph for this function:

void test_array_index ( void  )

Definition at line 463 of file test-inverted-index.c.

Here is the call graph for this function:

void test_create ( void  )

Definition at line 193 of file test-inverted-index.c.

void test_create_with_long_path ( void  )
void test_create_with_null_lexicon ( void  )

Definition at line 236 of file test-inverted-index.c.

Here is the call graph for this function:

void test_create_with_null_path ( void  )

Definition at line 199 of file test-inverted-index.c.

Here is the call graph for this function:

void test_crud ( void  )

Definition at line 385 of file test-inverted-index.c.

void test_int_index ( void  )

Definition at line 553 of file test-inverted-index.c.

Here is the call graph for this function:

void test_mroonga_index ( void  )

Definition at line 624 of file test-inverted-index.c.

Here is the call graph for this function:

void test_mroonga_index_score ( void  )

Definition at line 772 of file test-inverted-index.c.

Here is the call graph for this function:

void test_open ( void  )

Definition at line 243 of file test-inverted-index.c.

Here is the call graph for this function:

void test_open_invalid_chunk_file ( void  )

Definition at line 283 of file test-inverted-index.c.

Here is the call graph for this function:

void test_open_invalid_segment_file ( void  )

Definition at line 260 of file test-inverted-index.c.

Here is the call graph for this function:

void test_open_nonexistence_path ( void  )

Definition at line 253 of file test-inverted-index.c.

Here is the call graph for this function:

void test_open_with_null_lexicon ( void  )

Definition at line 310 of file test-inverted-index.c.

Here is the call graph for this function:

void test_scalar_index ( void  )

Definition at line 508 of file test-inverted-index.c.

Here is the call graph for this function: