PostGIS  2.1.10dev-r@@SVN_REVISION@@
liblwgeom/cunit/cu_tester.h
Go to the documentation of this file.
1 /**********************************************************************
2  * $Id: cu_tester.h 13242 2015-02-19 00:22:22Z pramsey $
3  *
4  * PostGIS - Spatial Types for PostgreSQL
5  * http://postgis.net
6  *
7  * This is free software; you can redistribute and/or modify it under
8  * the terms of the GNU General Public Licence. See the COPYING file.
9  *
10  **********************************************************************/
11 
12 #define MAX_CUNIT_ERROR_LENGTH 512
13 
14 #define PG_ADD_TEST(suite, testfunc) CU_add_test(suite, #testfunc, testfunc)
15 
16 /* Contains the most recent error message generated by lwerror. */
18 
19 /* Resets cu_error_msg back to blank. */
20 void cu_error_msg_reset(void);
21 
22 /* Our internal callback to register Suites with the main tester */
23 typedef void (*PG_SuiteSetup)(void);
void cu_error_msg_reset(void)
void(* PG_SuiteSetup)(void)
#define MAX_CUNIT_ERROR_LENGTH
char cu_error_msg[MAX_CUNIT_ERROR_LENGTH+1]