Groonga 3.0.9 Source Code Document
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
grn-assertions.c File Reference
#include <cutter/cut-helper.h>
#include <gcutter.h>
#include <groonga_in.h>
#include <db.h>
#include <util.h>
#include <str.h>
#include "grn-assertions.h"
Include dependency graph for grn-assertions.c:

Go to the source code of this file.

Functions

void grn_test_assert_helper (grn_rc rc, const gchar *expression)
void grn_test_assert_equal_rc_helper (grn_rc expected, grn_rc actual, const gchar *expression_expected, const gchar *expression_actual)
void grn_test_assert_equal_id_helper (grn_ctx *context, grn_id expected, grn_id actual, const gchar *expression_context, const gchar *expression_expected, const gchar *expression_actual)
void grn_test_assert_equal_type_helper (grn_ctx *context, unsigned char expected, unsigned char actual, const gchar *expression_context, const gchar *expression_expected, const gchar *expression_actual)
void grn_test_assert_equal_record_id_helper (grn_ctx *context, grn_obj *table, grn_id expected, grn_id actual, const gchar *expression_context, const gchar *expression_table, const gchar *expression_expected, const gchar *expression_actual)
void grn_test_assert_nil_helper (grn_id id, const gchar *expression)
void grn_test_assert_not_nil_helper (grn_id id, const gchar *expression)
void grn_test_assert_context_helper (grn_ctx *context, const gchar *expression)
void grn_test_assert_error_helper (grn_rc expected_rc, const gchar *expected_message, grn_ctx *context, const gchar *expression)
void grn_test_assert_null_helper (grn_ctx *context, grn_obj *object, const gchar *expression)
void grn_test_assert_not_null_helper (grn_ctx *context, grn_obj *object, const gchar *expression)
void grn_test_assert_select_helper (grn_ctx *context, const GList *expected, grn_obj *select_result, const gchar *text_column_name, const gchar *expected_expression, const gchar *select_result_expression, const gchar *text_column_name_expression)
void grn_test_assert_expr_helper (grn_ctx *context, const gchar *inspected, grn_obj *expr, const gchar *inspected_expression, const gchar *expr_expression)
void grn_test_assert_equal_encoding_helper (grn_encoding expected, grn_encoding actual, const gchar *expression_expected, const gchar *expression_actual)
void grn_test_assert_equal_table_helper (grn_ctx *context, const GList *expected, grn_obj *table, const gchar *text_column_name, const gchar *expected_expression, const gchar *select_result_expression, const gchar *text_column_name_expression)
void grn_test_assert_send_command_error_helper (grn_ctx *context, grn_rc expected_rc, const gchar *expected_message, const gchar *command, const gchar *expected_rc_expression, const gchar *expected_message_expression, const gchar *command_expression)

Function Documentation

void grn_test_assert_context_helper ( grn_ctx context,
const gchar *  expression 
)

Definition at line 205 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_equal_encoding_helper ( grn_encoding  expected,
grn_encoding  actual,
const gchar *  expression_expected,
const gchar *  expression_actual 
)

Definition at line 330 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_equal_id_helper ( grn_ctx context,
grn_id  expected,
grn_id  actual,
const gchar *  expression_context,
const gchar *  expression_expected,
const gchar *  expression_actual 
)

Definition at line 61 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_equal_rc_helper ( grn_rc  expected,
grn_rc  actual,
const gchar *  expression_expected,
const gchar *  expression_actual 
)

Definition at line 43 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_equal_record_id_helper ( grn_ctx context,
grn_obj table,
grn_id  expected,
grn_id  actual,
const gchar *  expression_context,
const gchar *  expression_table,
const gchar *  expression_expected,
const gchar *  expression_actual 
)

Definition at line 141 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_equal_table_helper ( grn_ctx context,
const GList *  expected,
grn_obj table,
const gchar *  text_column_name,
const gchar *  expected_expression,
const gchar *  select_result_expression,
const gchar *  text_column_name_expression 
)

Definition at line 349 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_equal_type_helper ( grn_ctx context,
unsigned char  expected,
unsigned char  actual,
const gchar *  expression_context,
const gchar *  expression_expected,
const gchar *  expression_actual 
)

Definition at line 103 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_error_helper ( grn_rc  expected_rc,
const gchar *  expected_message,
grn_ctx context,
const gchar *  expression 
)

Definition at line 226 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_expr_helper ( grn_ctx context,
const gchar *  inspected,
grn_obj expr,
const gchar *  inspected_expression,
const gchar *  expr_expression 
)

Definition at line 312 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_helper ( grn_rc  rc,
const gchar *  expression 
)

Definition at line 30 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_nil_helper ( grn_id  id,
const gchar *  expression 
)

Definition at line 179 of file grn-assertions.c.

void grn_test_assert_not_nil_helper ( grn_id  id,
const gchar *  expression 
)

Definition at line 193 of file grn-assertions.c.

void grn_test_assert_not_null_helper ( grn_ctx context,
grn_obj object,
const gchar *  expression 
)

Definition at line 272 of file grn-assertions.c.

void grn_test_assert_null_helper ( grn_ctx context,
grn_obj object,
const gchar *  expression 
)

Definition at line 252 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_select_helper ( grn_ctx context,
const GList *  expected,
grn_obj select_result,
const gchar *  text_column_name,
const gchar *  expected_expression,
const gchar *  select_result_expression,
const gchar *  text_column_name_expression 
)

Definition at line 285 of file grn-assertions.c.

Here is the call graph for this function:

void grn_test_assert_send_command_error_helper ( grn_ctx context,
grn_rc  expected_rc,
const gchar *  expected_message,
const gchar *  command,
const gchar *  expected_rc_expression,
const gchar *  expected_message_expression,
const gchar *  command_expression 
)

Definition at line 364 of file grn-assertions.c.

Here is the call graph for this function: