Revert change to testdate.c (commited by accident)
[apr-util.git] / test / testutil.h
blob6b8e5f8452b20f90fa13351b03e59507e6f4a55f
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #include "apr_pools.h"
18 #include "abts.h"
20 #ifndef APR_TEST_UTIL
21 #define APR_TEST_UTIL
23 /* XXX FIXME */
24 #ifdef WIN32
25 #define EXTENSION ".exe"
26 #elif NETWARE
27 #define EXTENSION ".nlm"
28 #else
29 #define EXTENSION
30 #endif
32 #define STRING_MAX 8096
34 /* Some simple functions to make the test apps easier to write and
35 * a bit more consistent...
38 extern apr_pool_t *p;
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);
44 void initialize(void);
46 abts_suite *teststrmatch(abts_suite *suite);
47 abts_suite *testuri(abts_suite *suite);
48 abts_suite *testuuid(abts_suite *suite);
49 abts_suite *testbuckets(abts_suite *suite);
50 abts_suite *testpass(abts_suite *suite);
51 abts_suite *testmd4(abts_suite *suite);
52 abts_suite *testmd5(abts_suite *suite);
53 abts_suite *testldap(abts_suite *suite);
54 abts_suite *testdbd(abts_suite *suite);
55 abts_suite *testdate(abts_suite *suite);
56 abts_suite *testmemcache(abts_suite *suite);
57 abts_suite *testreslist(abts_suite *suite);
58 abts_suite *testqueue(abts_suite *suite);
59 abts_suite *testxml(abts_suite *suite);
60 abts_suite *testxlate(abts_suite *suite);
61 abts_suite *testrmm(abts_suite *suite);
62 abts_suite *testdbm(abts_suite *suite);
64 #endif /* APR_TEST_INCLUDES */