PostGIS  2.5.7dev-r@@SVN_REVISION@@
liblwgeom/cunit/cu_tester.c File Reference
#include <stdio.h>
#include <string.h>
#include "CUnit/Basic.h"
#include "liblwgeom_internal.h"
#include "cu_tester.h"
#include "../postgis_config.h"
Include dependency graph for liblwgeom/cunit/cu_tester.c:

Go to the source code of this file.

Macros

#define MAX_CUNIT_MSG_LENGTH   256
 

Functions

static void cu_errorreporter (const char *fmt, va_list ap)
 CUnit error handler Log message in a global var instead of printing in stderr. More...
 
static void cu_noticereporter (const char *fmt, va_list ap)
 
static void cu_debuglogger (int level, const char *fmt, va_list ap)
 
void print_suite_setup ()
 
void algorithms_suite_setup ()
 
void buildarea_suite_setup ()
 
void clean_suite_setup ()
 
void clip_by_rect_suite_setup ()
 
void force_sfs_suite_setup (void)
 
void geodetic_suite_setup (void)
 
void geos_suite_setup (void)
 
void geos_cluster_suite_setup (void)
 
void unionfind_suite_setup (void)
 
void homogenize_suite_setup (void)
 
void in_encoded_polyline_suite_setup (void)
 
void in_geojson_suite_setup (void)
 
void iterator_suite_setup (void)
 
void twkb_in_suite_setup (void)
 
void libgeom_suite_setup (void)
 
void lwstroke_suite_setup (void)
 
void measures_suite_setup (void)
 
void effectivearea_suite_setup (void)
 
void chaikin_suite_setup (void)
 
void filterm_suite_setup (void)
 
void minimum_bounding_circle_suite_setup (void)
 
void misc_suite_setup (void)
 
void node_suite_setup (void)
 
void out_encoded_polyline_suite_setup (void)
 
void out_geojson_suite_setup (void)
 
void out_gml_suite_setup (void)
 
void out_kml_suite_setup (void)
 
void out_svg_suite_setup (void)
 
void twkb_out_suite_setup (void)
 
void out_x3d_suite_setup (void)
 
void ptarray_suite_setup (void)
 
void split_suite_setup (void)
 
void stringbuffer_suite_setup (void)
 
void tree_suite_setup (void)
 
void triangulate_suite_setup (void)
 
void varint_suite_setup (void)
 
void wkt_out_suite_setup (void)
 
void wkb_out_suite_setup (void)
 
void surface_suite_setup (void)
 
void wkb_in_suite_setup (void)
 
void wkt_in_suite_setup (void)
 
void wrapx_suite_setup (void)
 
int main (int argc, char *argv[])
 
void cu_error_msg_reset ()
 
void do_fn_test (LWGEOM *(*transfn)(LWGEOM *), char *input_wkt, char *expected_wkt)
 

Variables

char cu_error_msg [MAX_CUNIT_ERROR_LENGTH+1] = {0}
 
PG_SuiteSetup setupfuncs []