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

Go to the source code of this file.

Macros

#define PARSE(expr, str, flags)
#define INSERT_DOCUMENT(body)   cut_trace(insert_document(body))
#define ADD_DATUM(label, expected_keys, query)
#define ADD_DATUM(label, expected_keys, query)
#define ADD_DATUM(label, message, query)
#define ADD_DATUM(label, expected_keys, query)
#define ADD_DATUM(label, rc, message, query)
#define ADD_DATUM(label, message, query)
#define ADD_DATUM(label, message, query)
#define ADD_DATUM(label, query)

Functions

void data_logic_operator (void)
void test_logic_operator (gconstpointer data)
void data_comparison_operator (void)
void test_comparison_operator (gconstpointer data)
void data_comparison_operator_syntax_error (void)
void test_comparison_operator_syntax_error (gconstpointer data)
void data_arithmetic_operator (void)
void test_arithmetic_operator (gconstpointer data)
void data_arithmetic_operator_error (void)
void test_arithmetic_operator_error (gconstpointer data)
void data_arithmetic_operator_syntax_error (void)
void test_arithmetic_operator_syntax_error (gconstpointer data)
void data_not_allow_update (void)
void test_not_allow_update (gconstpointer data)
void data_valid (void)
void test_valid (gconstpointer data)
void cut_startup (void)
void cut_shutdown (void)
void cut_setup (void)
void cut_teardown (void)

Macro Definition Documentation

#define ADD_DATUM (   label,
  expected_keys,
  query 
)
Value:
gcut_add_datum(label, \
"expected_keys", G_TYPE_POINTER, expected_keys, \
gcut_list_string_free, \
"query", G_TYPE_STRING, query, \
NULL)

Definition at line 1194 of file test-expr-script.c.

#define ADD_DATUM (   label,
  expected_keys,
  query 
)
Value:
gcut_add_datum(label, \
"expected_keys", G_TYPE_POINTER, expected_keys, \
gcut_list_string_free, \
"query", G_TYPE_STRING, query, \
NULL)

Definition at line 1194 of file test-expr-script.c.

#define ADD_DATUM (   label,
  message,
  query 
)
Value:
gcut_add_datum(label, \
"message", G_TYPE_STRING, message, \
"query", G_TYPE_STRING, query, \
NULL)

Definition at line 1194 of file test-expr-script.c.

#define ADD_DATUM (   label,
  expected_keys,
  query 
)
Value:
gcut_add_datum(label, \
"expected_keys", G_TYPE_POINTER, expected_keys, \
gcut_list_string_free, \
"query", G_TYPE_STRING, query, \
NULL)

Definition at line 1194 of file test-expr-script.c.

#define ADD_DATUM (   label,
  rc,
  message,
  query 
)
Value:
gcut_add_datum(label, \
"rc", G_TYPE_UINT, rc, \
"message", G_TYPE_STRING, message, \
"query", G_TYPE_STRING, query, \
NULL)

Definition at line 1194 of file test-expr-script.c.

#define ADD_DATUM (   label,
  message,
  query 
)
Value:
gcut_add_datum(label, \
"message", G_TYPE_STRING, message, \
"query", G_TYPE_STRING, query, \
NULL)

Definition at line 1194 of file test-expr-script.c.

#define ADD_DATUM (   label,
  message,
  query 
)
Value:
gcut_add_datum(label, \
"message", G_TYPE_STRING, message, \
"query", G_TYPE_STRING, query, \
NULL)

Definition at line 1194 of file test-expr-script.c.

#define ADD_DATUM (   label,
  query 
)
Value:
gcut_add_datum(label, \
"query", G_TYPE_STRING, query, \
NULL)

Definition at line 1194 of file test-expr-script.c.

#define INSERT_DOCUMENT (   body)    cut_trace(insert_document(body))

Definition at line 148 of file test-expr-script.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 102 of file test-expr-script.c.

Function Documentation

void cut_setup ( void  )

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

Here is the call graph for this function:

void cut_shutdown ( void  )

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

void cut_startup ( void  )

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

Here is the call graph for this function:

void cut_teardown ( void  )

Definition at line 84 of file test-expr-script.c.

Here is the call graph for this function:

void data_arithmetic_operator ( void  )

Definition at line 1135 of file test-expr-script.c.

void data_arithmetic_operator_error ( void  )

Definition at line 1300 of file test-expr-script.c.

void data_arithmetic_operator_syntax_error ( void  )

Definition at line 1334 of file test-expr-script.c.

void data_comparison_operator ( void  )

Definition at line 323 of file test-expr-script.c.

void data_comparison_operator_syntax_error ( void  )

Definition at line 379 of file test-expr-script.c.

void data_logic_operator ( void  )

Definition at line 290 of file test-expr-script.c.

void data_not_allow_update ( void  )

Definition at line 1379 of file test-expr-script.c.

void data_valid ( void  )

Definition at line 1459 of file test-expr-script.c.

void test_arithmetic_operator ( gconstpointer  data)

Definition at line 1169 of file test-expr-script.c.

Here is the call graph for this function:

void test_arithmetic_operator_error ( gconstpointer  data)

Definition at line 1315 of file test-expr-script.c.

Here is the call graph for this function:

void test_arithmetic_operator_syntax_error ( gconstpointer  data)

Definition at line 1359 of file test-expr-script.c.

Here is the call graph for this function:

void test_comparison_operator ( gconstpointer  data)

Definition at line 355 of file test-expr-script.c.

Here is the call graph for this function:

void test_comparison_operator_syntax_error ( gconstpointer  data)

Definition at line 395 of file test-expr-script.c.

Here is the call graph for this function:

void test_logic_operator ( gconstpointer  data)

Definition at line 299 of file test-expr-script.c.

Here is the call graph for this function:

void test_not_allow_update ( gconstpointer  data)

Definition at line 1440 of file test-expr-script.c.

Here is the call graph for this function:

void test_valid ( gconstpointer  data)

Definition at line 1473 of file test-expr-script.c.

Here is the call graph for this function: