X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fparser.h;h=73356dad991b577ac2dbb5421b507664f102f1a3;hb=ef3cb20e2967fc17cf7f1c5b6eb14e84bc88a7dc;hp=82d04031f9084fae73fd22765c6922f70a9be30c;hpb=aaf07fb6d380f4e4f0b5404d6b006afcfe62aa7f;p=m6w6%2Flibmemcached diff --git a/tests/parser.h b/tests/parser.h index 82d04031..73356dad 100644 --- a/tests/parser.h +++ b/tests/parser.h @@ -1,6 +1,6 @@ /* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * - * Gearmand client and server library. + * Libmemcached * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * All rights reserved. @@ -37,17 +37,78 @@ #pragma once -#include - #ifdef __cplusplus extern "C" { #endif -LIBTEST_INTERNAL_API +LIBTEST_LOCAL test_return_t server_test(memcached_st *memc); -LIBTEST_INTERNAL_API -test_return_t servers_test(memcached_st *memc); +LIBTEST_LOCAL +test_return_t servers_bad_test(memcached_st *memc); + +LIBTEST_LOCAL +test_return_t behavior_parser_test(memcached_st*); + +LIBTEST_LOCAL +test_return_t parser_number_options_test(memcached_st*); + +LIBTEST_LOCAL +test_return_t parser_distribution_test(memcached_st*); + +LIBTEST_LOCAL +test_return_t parser_hash_test(memcached_st*); + +LIBTEST_LOCAL +test_return_t parser_boolean_options_test(memcached_st*); + +LIBTEST_LOCAL +test_return_t parser_key_prefix_test(memcached_st*); + +LIBTEST_LOCAL + test_return_t libmemcached_check_configuration_test(memcached_st*); + +LIBTEST_LOCAL + test_return_t memcached_create_with_options_test(memcached_st*); + +LIBTEST_LOCAL + test_return_t memcached_create_with_options_with_filename(memcached_st*); + +LIBTEST_LOCAL + test_return_t libmemcached_check_configuration_with_filename_test(memcached_st*); + +LIBTEST_LOCAL + test_return_t random_statement_build_test(memcached_st*); + +LIBTEST_LOCAL +test_return_t test_include_keyword(memcached_st*); + +LIBTEST_LOCAL +test_return_t test_end_keyword(memcached_st*); + +LIBTEST_LOCAL +test_return_t test_reset_keyword(memcached_st*); + +LIBTEST_LOCAL +test_return_t test_error_keyword(memcached_st*); + +LIBTEST_LOCAL +test_return_t server_with_weight_test(memcached_st *); + +LIBTEST_LOCAL +test_return_t test_hostname_port_weight(memcached_st *); + +LIBTEST_LOCAL +test_return_t regression_bug_71231153_connect(memcached_st *); + +LIBTEST_LOCAL +test_return_t regression_bug_71231153_poll(memcached_st *); + +LIBTEST_LOCAL +test_return_t test_parse_socket(memcached_st *); + +LIBTEST_LOCAL +test_return_t test_namespace_keyword(memcached_st*); #ifdef __cplusplus }