Apache Portable Runtime Utility Library
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
apr-util-1.5
test
testutil.h
1
/* Licensed to the Apache Software Foundation (ASF) under one or more
2
* contributor license agreements. See the NOTICE file distributed with
3
* this work for additional information regarding copyright ownership.
4
* The ASF licenses this file to You under the Apache License, Version 2.0
5
* (the "License"); you may not use this file except in compliance with
6
* the License. You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#include "apr_pools.h"
18
#include "abts.h"
19
20
#ifndef APR_TEST_UTIL
21
#define APR_TEST_UTIL
22
23
/* XXX FIXME */
24
#ifdef WIN32
25
#define EXTENSION ".exe"
26
#elif NETWARE
27
#define EXTENSION ".nlm"
28
#else
29
#define EXTENSION
30
#endif
31
32
#define STRING_MAX 8096
33
34
/* Some simple functions to make the test apps easier to write and
35
* a bit more consistent...
36
*/
37
38
extern
apr_pool_t *p;
39
40
/* Assert that RV is an APR_SUCCESS value; else fail giving strerror
41
* for RV and CONTEXT message. */
42
void
apr_assert_success(
abts_case
* tc,
const
char
*context, apr_status_t rv);
43
44
void
apr_assert_failure(
abts_case
* tc,
const
char
*context,
45
apr_status_t rv,
int
lineno);
46
#define APR_ASSERT_FAILURE(tc, ctxt, rv) \
47
apr_assert_failure(tc, ctxt, rv, __LINE__)
48
49
50
void
initialize(
void
);
51
52
abts_suite
*teststrmatch(
abts_suite
*suite);
53
abts_suite
*testuri(
abts_suite
*suite);
54
abts_suite
*testuuid(
abts_suite
*suite);
55
abts_suite
*testbuckets(
abts_suite
*suite);
56
abts_suite
*testpass(
abts_suite
*suite);
57
abts_suite
*testmd4(
abts_suite
*suite);
58
abts_suite
*testmd5(
abts_suite
*suite);
59
abts_suite
*testcrypto(
abts_suite
*suite);
60
abts_suite
*testldap(
abts_suite
*suite);
61
abts_suite
*testdbd(
abts_suite
*suite);
62
abts_suite
*testdate(
abts_suite
*suite);
63
abts_suite
*testmemcache(
abts_suite
*suite);
64
abts_suite
*testreslist(
abts_suite
*suite);
65
abts_suite
*testqueue(
abts_suite
*suite);
66
abts_suite
*testxml(
abts_suite
*suite);
67
abts_suite
*testxlate(
abts_suite
*suite);
68
abts_suite
*testrmm(
abts_suite
*suite);
69
abts_suite
*testdbm(
abts_suite
*suite);
70
71
#endif
/* APR_TEST_INCLUDES */
abts_suite
Definition:
abts.h:52
abts_case
Definition:
abts.h:58
Generated by
1.8.10