Sha256: 92ba624000ce36c06df18207172af70fb76ebbce56c31f5c8368c2c8b19db2de
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
/* uTest * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * Copyright (C) 2006-2009 Brian Aker * All rights reserved. * * Use and distribution licensed under the BSD license. See * the COPYING file in the parent directory for full text. */ /* Structures for generic tests. */ #include <cstdio> #include <cstdlib> #include <stdint.h> #include <arpa/inet.h> #include <libtest/visibility.h> #include <libtest/error.h> #include <libtest/callbacks.h> #include <libtest/test.h> #include <libtest/strerror.h> #include <libtest/core.h> #include <libtest/runner.h> #include <libtest/stats.h> #include <libtest/collection.h> #include <libtest/framework.h> #include <libtest/get.h> #pragma once LIBTEST_API in_port_t default_port(); LIBTEST_API void set_default_port(in_port_t port); #ifdef __cplusplus #define test_literal_param(X) (X), (static_cast<size_t>((sizeof(X) - 1))) #else #define test_literal_param(X) (X), ((size_t)((sizeof(X) - 1))) #endif #define test_string_make_from_cstr(X) (X), ((X) ? strlen(X) : 0)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
couchbase-memcached-1.2.9 | ext/libmemcached-0.50/libtest/test.hpp |
couchbase-memcached-1.2.8 | ext/libmemcached-0.50/libtest/test.hpp |