#include "ut/ut.h"
#include "lib/ub.h"
#include "lib/misc.h"
#include "lib/memory.h"
#include "lib/bitstring.h"
#include "be/ut/helper.h"
#include "be/seg.h"
#include "cob/cob.h"
#include "lib/locality.h"
Go to the source code of this file.
◆ _locate()
static int _locate |
( |
int |
c, |
|
|
int |
k |
|
) |
| |
|
static |
Definition at line 64 of file cob.c.
◆ test_add_name()
static void test_add_name |
( |
void |
| ) |
|
|
static |
◆ test_create()
static void test_create |
( |
void |
| ) |
|
|
static |
◆ test_del_name()
static void test_del_name |
( |
void |
| ) |
|
|
static |
◆ test_delete()
static void test_delete |
( |
void |
| ) |
|
|
static |
◆ test_fini()
static void test_fini |
( |
void |
| ) |
|
|
static |
◆ test_init()
static void test_init |
( |
void |
| ) |
|
|
static |
◆ test_locate()
static void test_locate |
( |
void |
| ) |
|
|
static |
Lookup by fid, make sure pfid is right.
Definition at line 291 of file cob.c.
◆ test_lookup()
static void test_lookup |
( |
void |
| ) |
|
|
static |
Lookup by name, make sure cfid is right.
Definition at line 268 of file cob.c.
◆ test_mkfs()
static void test_mkfs |
( |
void |
| ) |
|
|
static |
Definition at line 80 of file cob.c.
◆ ut_fini()
static int ut_fini |
( |
void |
| ) |
|
|
static |
Definition at line 48 of file cob.c.
◆ ut_init()
static int ut_init |
( |
void |
| ) |
|
|
static |
Definition at line 43 of file cob.c.
◆ ut_tx_open()
Definition at line 53 of file cob.c.
◆ add_name
const char add_name[] = "add_name" |
|
static |
Definition at line 35 of file cob.c.
◆ cob
Definition at line 41 of file cob.c.
◆ cob_ut
Initial value:= {
.ts_name = "cob-ut",
.ts_tests = {
}
}
static void test_init(void)
static void test_create(void)
static void test_locate(void)
static void test_mkfs(void)
static void test_del_name(void)
static void test_add_name(void)
static void test_lookup(void)
static void test_delete(void)
static void test_fini(void)
Definition at line 340 of file cob.c.
◆ dom
Definition at line 40 of file cob.c.
◆ grp
Definition at line 39 of file cob.c.
◆ id
Definition at line 37 of file cob.c.
◆ test_name
const char test_name[] = "hello_world" |
|
static |
Definition at line 34 of file cob.c.
◆ ut_be
Definition at line 38 of file cob.c.
◆ wrong_name
const char wrong_name[] = "wrong_name" |
|
static |
Definition at line 36 of file cob.c.