Main Page | Modules | Namespace List | Data Structures | File List | Data Fields | Globals | Related Pages

test/testutil.h

00001 /* Copyright 2000-2005 The Apache Software Foundation or its licensors, as 00002 * applicable. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 #include "apr_pools.h" 00018 #include "abts.h" 00019 00020 #ifndef APR_TEST_UTIL 00021 #define APR_TEST_UTIL 00022 00023 /* XXX FIXME */ 00024 #ifdef WIN32 00025 #define EXTENSION ".exe" 00026 #elif NETWARE 00027 #define EXTENSION ".nlm" 00028 #else 00029 #define EXTENSION 00030 #endif 00031 00032 #define STRING_MAX 8096 00033 00034 /* Some simple functions to make the test apps easier to write and 00035 * a bit more consistent... 00036 */ 00037 00038 extern apr_pool_t *p; 00039 00040 /* Assert that RV is an APR_SUCCESS value; else fail giving strerror 00041 * for RV and CONTEXT message. */ 00042 void apr_assert_success(abts_case* tc, const char *context, apr_status_t rv); 00043 00044 void initialize(void); 00045 00046 abts_suite *teststrmatch(abts_suite *suite); 00047 abts_suite *testuri(abts_suite *suite); 00048 abts_suite *testuuid(abts_suite *suite); 00049 abts_suite *testbuckets(abts_suite *suite); 00050 abts_suite *testpass(abts_suite *suite); 00051 abts_suite *testmd4(abts_suite *suite); 00052 abts_suite *testmd5(abts_suite *suite); 00053 abts_suite *testldap(abts_suite *suite); 00054 abts_suite *testdbd(abts_suite *suite); 00055 00056 #endif /* APR_TEST_INCLUDES */

Generated on Sun Nov 20 19:08:42 2005 for Apache Portable Runtime Utility Library by doxygen 1.3.8