PostGIS  3.0.0dev-r@@SVN_REVISION@@

◆ register_shp2pgsql_suite()

CU_pSuite register_shp2pgsql_suite ( void  )

Definition at line 26 of file cu_shp2pgsql.c.

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

Referenced by main().

27 {
28  CU_pSuite pSuite;
29  pSuite = CU_add_suite("Shapefile Loader File shp2pgsql Test", init_shp2pgsql_suite, clean_shp2pgsql_suite);
30  if (NULL == pSuite)
31  {
32  CU_cleanup_registry();
33  return NULL;
34  }
35 
36  if (
37  (NULL == CU_add_test(pSuite, "test_ShpLoaderCreate()", test_ShpLoaderCreate)) ||
38  (NULL == CU_add_test(pSuite, "test_ShpLoaderDestroy()", test_ShpLoaderDestroy))
39  )
40  {
41  CU_cleanup_registry();
42  return NULL;
43  }
44  return pSuite;
45 }
void test_ShpLoaderDestroy(void)
Definition: cu_shp2pgsql.c:74
void test_ShpLoaderCreate(void)
Definition: cu_shp2pgsql.c:65
int init_shp2pgsql_suite(void)
Definition: cu_shp2pgsql.c:51
int clean_shp2pgsql_suite(void)
Definition: cu_shp2pgsql.c:60
Here is the call graph for this function:
Here is the caller graph for this function: