[postgis-devel] Cunit and lwerror

Olivier Courtin olivier.courtin at oslandia.com
Sun Jan 24 06:33:56 PST 2010


Hi,

I began to use Cunit with PostGIS, and i'm not able to deal
with lwerror uses cases, for example something like that:

CU_ASSERT_STRING_EQUAL(
    "geometry contains non-closed rings",
    lwgeom_from_ewkt("POLYGON((0 0 0,0 1 0,1 1 0,0 1 0))",  
PARSER_CHECK_NONE)
);


Any tips, or it's really not possible, and we have to use 'old'
regress psql tests to do do ?


Tks in advance,

--
Olivier



More information about the postgis-devel mailing list