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

Go to the source code of this file.

Macros

#define INSERT_DOCUMENT(author, body)   cut_trace(insert_document(author, body))
#define PARSE(expr, str, flags)
#define ADD_DATUM(label,query_hoge_moge, query_hoge_moge_parse_level,query_poyo, query_poyo_parse_level,query_size, query_size_parse_level)

Functions

void data_parse (void)
void test_parse (gconstpointer data)
void test_set_value (void)
void test_set_value_with_implicit_variable_reference (void)
void test_set_value_with_query (void)
void test_proc_call (void)
void test_score_set (void)
void test_key_equal (void)
void test_value_access (void)
void test_snip (void)
void test_snip_without_tags (void)
void test_float_literal (void)
void test_uint32_literal (void)
void test_lager_than_int32_literal (void)
void test_int64_literal (void)
void test_long_integer_literal (void)
void test_syntax_equal_string_reference_key (void)
void cut_startup (void)
void cut_shutdown (void)
void cut_setup (void)
void cut_teardown (void)

Macro Definition Documentation

#define ADD_DATUM (   label,
  query_hoge_moge,
  query_hoge_moge_parse_level,
  query_poyo,
  query_poyo_parse_level,
  query_size,
  query_size_parse_level 
)
Value:
gcut_add_datum(label, \
"query_hoge_moge", G_TYPE_STRING, query_hoge_moge, \
"query_hoge_moge_parse_level", \
G_TYPE_INT, query_hoge_moge_parse_level, \
"query_poyo", G_TYPE_STRING, query_poyo, \
"query_poyo_parse_level", \
G_TYPE_INT, query_poyo_parse_level, \
"query_size", G_TYPE_STRING, query_size, \
"query_size_parse_level", \
G_TYPE_INT, query_size_parse_level, \
NULL)
#define INSERT_DOCUMENT (   author,
  body 
)    cut_trace(insert_document(author, body))

Definition at line 124 of file test-expr-parse.c.

#define PARSE (   expr,
  str,
  flags 
)
Value:
grn_test_assert(grn_expr_parse(&context, (expr), (str), strlen(str), \
body, GRN_OP_MATCH, GRN_OP_AND, flags))

Definition at line 232 of file test-expr-parse.c.

Function Documentation

void cut_setup ( void  )

Definition at line 66 of file test-expr-parse.c.

Here is the call graph for this function:

void cut_shutdown ( void  )

Definition at line 60 of file test-expr-parse.c.

void cut_startup ( void  )

Definition at line 52 of file test-expr-parse.c.

Here is the call graph for this function:

void cut_teardown ( void  )

Definition at line 83 of file test-expr-parse.c.

Here is the call graph for this function:

void data_parse ( void  )

Definition at line 237 of file test-expr-parse.c.

void test_float_literal ( void  )

Definition at line 802 of file test-expr-parse.c.

void test_int64_literal ( void  )

Definition at line 835 of file test-expr-parse.c.

void test_key_equal ( void  )

Definition at line 569 of file test-expr-parse.c.

Here is the call graph for this function:

void test_lager_than_int32_literal ( void  )

Definition at line 824 of file test-expr-parse.c.

void test_long_integer_literal ( void  )

Definition at line 847 of file test-expr-parse.c.

void test_parse ( gconstpointer  data)

Definition at line 274 of file test-expr-parse.c.

Here is the call graph for this function:

void test_proc_call ( void  )

Definition at line 476 of file test-expr-parse.c.

Here is the call graph for this function:

void test_score_set ( void  )

Definition at line 521 of file test-expr-parse.c.

Here is the call graph for this function:

void test_set_value ( void  )

Definition at line 336 of file test-expr-parse.c.

Here is the call graph for this function:

void test_set_value_with_implicit_variable_reference ( void  )

Definition at line 386 of file test-expr-parse.c.

Here is the call graph for this function:

void test_set_value_with_query ( void  )

Definition at line 433 of file test-expr-parse.c.

Here is the call graph for this function:

void test_snip ( void  )

Definition at line 652 of file test-expr-parse.c.

Here is the call graph for this function:

void test_snip_without_tags ( void  )

Definition at line 717 of file test-expr-parse.c.

Here is the call graph for this function:

void test_syntax_equal_string_reference_key ( void  )

Definition at line 860 of file test-expr-parse.c.

void test_uint32_literal ( void  )

Definition at line 813 of file test-expr-parse.c.

void test_value_access ( void  )

Definition at line 604 of file test-expr-parse.c.

Here is the call graph for this function: