MySQL  8.0.15
Source Code Documentation
suite_stubs.h File Reference
#include <memcached/engine.h>
#include <memcached/engine_testapp.h>
#include <assert.h>

Go to the source code of this file.

Macros

#define assertHasError()   assert(hasError)
 
#define assertHasNoError()   assert(!hasError)
 

Functions

MEMCACHED_PUBLIC_API engine_test_t * get_tests (void)
 
MEMCACHED_PUBLIC_API bool setup_suite (struct test_harness *th)
 
bool test_setup (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
bool teardown (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
void delay (int amt)
 
void add (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
void append (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
void decr (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
void decrWithDefault (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
void prepend (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
void flush (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
void del (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
void set (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
void incr (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
void incrWithDefault (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 
void checkValue (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1, const char *exp)
 
void assertNotExists (ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1)
 

Variables

int expiry
 
bool hasError
 
struct test_harness testHarness
 

Macro Definition Documentation

◆ assertHasError

#define assertHasError ( )    assert(hasError)

◆ assertHasNoError

#define assertHasNoError ( )    assert(!hasError)

Function Documentation

◆ add()

void add ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ append()

void append ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ assertNotExists()

void assertNotExists ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ checkValue()

void checkValue ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1,
const char *  exp 
)

◆ decr()

void decr ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ decrWithDefault()

void decrWithDefault ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ del()

void del ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ delay()

void delay ( int  amt)

◆ flush()

void flush ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ get_tests()

MEMCACHED_PUBLIC_API engine_test_t* get_tests ( void  )

◆ incr()

void incr ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ incrWithDefault()

void incrWithDefault ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ prepend()

void prepend ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ set()

void set ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ setup_suite()

MEMCACHED_PUBLIC_API bool setup_suite ( struct test_harness th)

◆ teardown()

bool teardown ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

◆ test_setup()

bool test_setup ( ENGINE_HANDLE *  h,
ENGINE_HANDLE_V1 *  h1 
)

Variable Documentation

◆ expiry

int expiry

◆ hasError

bool hasError

◆ testHarness

struct test_harness testHarness