PostGIS  2.1.10dev-r@@SVN_REVISION@@
CU_pSuite register_shp2pgsql_suite ( void  )

Definition at line 27 of file cu_shp2pgsql.c.

References clean_shp2pgsql_suite(), init_shp2pgsql_suite(), test_ShpLoaderCreate(), and test_ShpLoaderDestroy().

Referenced by main().

28 {
29  CU_pSuite pSuite;
30  pSuite = CU_add_suite("Shapefile Loader File shp2pgsql Test", init_shp2pgsql_suite, clean_shp2pgsql_suite);
31  if (NULL == pSuite)
32  {
33  CU_cleanup_registry();
34  return NULL;
35  }
36 
37  if (
38  (NULL == CU_add_test(pSuite, "test_ShpLoaderCreate()", test_ShpLoaderCreate)) ||
39  (NULL == CU_add_test(pSuite, "test_ShpLoaderDestroy()", test_ShpLoaderDestroy))
40  )
41  {
42  CU_cleanup_registry();
43  return NULL;
44  }
45  return pSuite;
46 }
void test_ShpLoaderDestroy(void)
Definition: cu_shp2pgsql.c:75
void test_ShpLoaderCreate(void)
Definition: cu_shp2pgsql.c:66
int init_shp2pgsql_suite(void)
Definition: cu_shp2pgsql.c:52
int clean_shp2pgsql_suite(void)
Definition: cu_shp2pgsql.c:61

Here is the call graph for this function:

Here is the caller graph for this function: