AceUnitAnnotations.h

Go to the documentation of this file.
00001 /* Copyright (c) 2007, Christian Hujer
00002  * All rights reserved.
00003  *
00004  * Redistribution and use in source and binary forms, with or without
00005  * modification, are permitted provided that the following conditions are met:
00006  *     * Redistributions of source code must retain the above copyright
00007  *       notice, this list of conditions and the following disclaimer.
00008  *     * Redistributions in binary form must reproduce the above copyright
00009  *       notice, this list of conditions and the following disclaimer in the
00010  *       documentation and/or other materials provided with the distribution.
00011  *     * Neither the name of the AceUnit developers nor the
00012  *       names of its contributors may be used to endorse or promote products
00013  *       derived from this software without specific prior written permission.
00014  *
00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00016  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00017  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
00018  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
00019  * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00020  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00021  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
00022  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
00023  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
00024  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00025  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00026  */
00027 
00028 #ifndef ACEUNITANNOTATIONS_H
00029 
00030 #define ACEUNITANNOTATIONS_H 1
00031 
00044 #ifdef ACEUNIT_STATIC_ANNOTATIONS
00045 #define ACEUNIT_ANNOTATION static
00046 #else
00047 #define ACEUNIT_ANNOTATION
00048 #endif
00049 
00054 #define ACEUNIT_DIRECT_ANNOTATION ACEUNIT_ANNOTATION
00055 
00059 #define ACEUNIT_META_ANNOTATION ACEUNIT_ANNOTATION
00060 
00062 #define A_Test             ACEUNIT_DIRECT_ANNOTATION
00063 
00073 #define A_Loop(times)      ACEUNIT_META_ANNOTATION
00074 
00076 #define A_Before           ACEUNIT_DIRECT_ANNOTATION
00077 
00079 #define A_After            ACEUNIT_DIRECT_ANNOTATION
00080 
00082 #define A_BeforeClass      ACEUNIT_DIRECT_ANNOTATION
00083 
00085 #define A_AfterClass       ACEUNIT_DIRECT_ANNOTATION
00086 
00090 #define A_Ignore           ACEUNIT_META_ANNOTATION
00091 
00103 #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && defined(ACEUNIT_C99)
00104 #define A_Group(...)       ACEUNIT_META_ANNOTATION
00105 #else
00106 #define A_Group(group)
00107 #endif
00108 
00115 #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && defined(ACEUNIT_C99)
00116 #define A_FixtureGroup(...)
00117 #else
00118 #define A_FixtureGroup(group)
00119 #endif
00120 
00121 #endif /* ACEUNITANNOTATIONS_H */

Generated on Sun Feb 13 11:10:16 2011 for AceUnit by  doxygen 1.5.3