PostGIS  2.2.7dev-r@@SVN_REVISION@@
void test_ShpDumperCreate ( void  )

Definition at line 65 of file cu_pgsql2shp.c.

References shp_dumper_state::config, shp_dumper_config::fetchsize, set_dumper_config_defaults(), and ShpDumperCreate().

Referenced by register_pgsql2shp_suite().

66 {
67  dumper_config = (SHPDUMPERCONFIG*)calloc(1, sizeof(SHPDUMPERCONFIG));
70  CU_ASSERT_PTR_NOT_NULL(dumper_state);
71  CU_ASSERT_EQUAL(dumper_state->config->fetchsize, 100);
72 }
SHPDUMPERCONFIG * config
SHPDUMPERSTATE * ShpDumperCreate(SHPDUMPERCONFIG *config)
void set_dumper_config_defaults(SHPDUMPERCONFIG *config)
SHPDUMPERSTATE * dumper_state
Definition: cu_pgsql2shp.c:21
SHPDUMPERCONFIG * dumper_config
Definition: cu_pgsql2shp.c:20

Here is the call graph for this function:

Here is the caller graph for this function: