#include <math.h>
#include "test-hash.h"
Go to the source code of this file.
Macro Definition Documentation
| #define cut_assert_delete |
( |
|
key | ) |
|
Value:do \
{ \
\
_key = (key); \
\
cut_assert_lookup(_key, &flags);
\
hash, _key, key_size, NULL)); \
\
flags = 0; \
cut_assert_lookup_failed(_key, &flags); \
} while (0)
Definition at line 403 of file test-hash.c.
| #define cut_assert_delete_by_id |
( |
| ) |
|
Value:do \
\
flags = 0; \
cut_assert_lookup(&sample_key, &flags);
\
NULL, sample_id, NULL)); \
hash, sample_id, NULL)); \
\
flags = 0; \
cut_assert_lookup_failed(&sample_key, &flags); \
} while (0)
Definition at line 359 of file test-hash.c.
| #define put_sample_entry |
( |
| ) |
|
Value:do \
\
cut_assert_lookup(&sample_key, &flags); \
cut_assert(flags & 1); \
sample_id = id; \
} while (0)
Definition at line 349 of file test-hash.c.
Typedef Documentation
Function Documentation
| void cut_shutdown |
( |
void |
| ) |
|
| void cut_startup |
( |
void |
| ) |
|
| void cut_teardown |
( |
void |
| ) |
|
| void data_add_and_delete |
( |
void |
| ) |
|
| void data_create |
( |
void |
| ) |
|
| void data_delete |
( |
void |
| ) |
|
| void data_delete_by_id |
( |
void |
| ) |
|
| void data_get_key |
( |
void |
| ) |
|
| void data_get_value |
( |
void |
| ) |
|
| void data_lookup_add |
( |
void |
| ) |
|
| void data_set_value |
( |
void |
| ) |
|
| void data_set_value_with_null_value |
( |
void |
| ) |
|
| void data_truncate |
( |
void |
| ) |
|
| void test_add_and_delete |
( |
gconstpointer |
data | ) |
|
| void test_create |
( |
gconstpointer |
data | ) |
|
| void test_delete |
( |
gconstpointer |
data | ) |
|
| void test_delete_by_id |
( |
gconstpointer |
data | ) |
|
| void test_get_key |
( |
gconstpointer |
data | ) |
|
| void test_get_value |
( |
gconstpointer |
data | ) |
|
| void test_lookup_add |
( |
gconstpointer |
data | ) |
|
| void test_open |
( |
gconstpointer |
data | ) |
|
| void test_open_tiny_hash |
( |
void |
| ) |
|
| void test_open_without_path |
( |
void |
| ) |
|
| void test_set_value |
( |
gconstpointer |
data | ) |
|
| void test_set_value_with_null_value |
( |
gconstpointer |
data | ) |
|
| void test_truncate |
( |
gconstpointer |
data | ) |
|