Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > bdcd72668be70f58bf0aa7c2102b0734 > files > 186

lib64apr-util-devel-1.2.12-4mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Apache Portable Runtime Utility Library: test/testutil.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.4 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li class="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<h1>test/testutil.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00002"></a>00002 <span class="comment"> * contributor license agreements.  See the NOTICE file distributed with</span>
<a name="l00003"></a>00003 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
<a name="l00004"></a>00004 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00005"></a>00005 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
<a name="l00006"></a>00006 <span class="comment"> * the License.  You may obtain a copy of the License at</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00011"></a>00011 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00012"></a>00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00013"></a>00013 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00014"></a>00014 <span class="comment"> * limitations under the License.</span>
<a name="l00015"></a>00015 <span class="comment"> */</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#include "apr_pools.h"</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include "abts.h"</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef APR_TEST_UTIL</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define APR_TEST_UTIL</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="comment">/* XXX FIXME */</span>
<a name="l00024"></a>00024 <span class="preprocessor">#ifdef WIN32</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define EXTENSION ".exe"</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#elif NETWARE</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#define EXTENSION ".nlm"</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define EXTENSION</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span>
<a name="l00032"></a>00032 <span class="preprocessor">#define STRING_MAX 8096</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00034"></a>00034 <span class="comment">/* Some simple functions to make the test apps easier to write and</span>
<a name="l00035"></a>00035 <span class="comment"> * a bit more consistent...</span>
<a name="l00036"></a>00036 <span class="comment"> */</span>
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <span class="keyword">extern</span> apr_pool_t *p;
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="comment">/* Assert that RV is an APR_SUCCESS value; else fail giving strerror</span>
<a name="l00041"></a>00041 <span class="comment"> * for RV and CONTEXT message. */</span>
<a name="l00042"></a>00042 <span class="keywordtype">void</span> apr_assert_success(abts_case* tc, <span class="keyword">const</span> <span class="keywordtype">char</span> *context, apr_status_t rv);
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 <span class="keywordtype">void</span> initialize(<span class="keywordtype">void</span>);
<a name="l00045"></a>00045 
<a name="l00046"></a>00046 abts_suite *teststrmatch(abts_suite *suite);
<a name="l00047"></a>00047 abts_suite *testuri(abts_suite *suite);
<a name="l00048"></a>00048 abts_suite *testuuid(abts_suite *suite);
<a name="l00049"></a>00049 abts_suite *testbuckets(abts_suite *suite);
<a name="l00050"></a>00050 abts_suite *testpass(abts_suite *suite);
<a name="l00051"></a>00051 abts_suite *testmd4(abts_suite *suite);
<a name="l00052"></a>00052 abts_suite *testmd5(abts_suite *suite);
<a name="l00053"></a>00053 abts_suite *testldap(abts_suite *suite);
<a name="l00054"></a>00054 abts_suite *testdbd(abts_suite *suite);
<a name="l00055"></a>00055 abts_suite *testdate(abts_suite *suite);
<a name="l00056"></a>00056 abts_suite *testmemcache(abts_suite *suite);
<a name="l00057"></a>00057 abts_suite *testreslist(abts_suite *suite);
<a name="l00058"></a>00058 abts_suite *testqueue(abts_suite *suite);
<a name="l00059"></a>00059 abts_suite *testxml(abts_suite *suite);
<a name="l00060"></a>00060 abts_suite *testxlate(abts_suite *suite);
<a name="l00061"></a>00061 abts_suite *testrmm(abts_suite *suite);
<a name="l00062"></a>00062 abts_suite *testdbm(abts_suite *suite);
<a name="l00063"></a>00063 
<a name="l00064"></a>00064 <span class="preprocessor">#endif </span><span class="comment">/* APR_TEST_INCLUDES */</span>
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 24 02:22:55 2008 for Apache Portable Runtime Utility Library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
</body>
</html>