PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ register_pgsql2shp_suite()

CU_pSuite register_pgsql2shp_suite ( void  )

Definition at line 26 of file cu_pgsql2shp.c.

References clean_pgsql2shp_suite(), init_pgsql2shp_suite(), test_ShpDumperCreate(), and test_ShpDumperDestroy().

Referenced by main().

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