PostGIS  2.1.10dev-r@@SVN_REVISION@@
void test_ShpLoaderCreate ( void  )

Definition at line 66 of file cu_shp2pgsql.c.

References shp_loader_state::config, shp_loader_config::encoding, ENCODING_DEFAULT, set_loader_config_defaults(), and ShpLoaderCreate().

Referenced by register_shp2pgsql_suite().

67 {
68  loader_config = (SHPLOADERCONFIG*)calloc(1, sizeof(SHPLOADERCONFIG));
71  CU_ASSERT_PTR_NOT_NULL(loader_state);
72  CU_ASSERT_STRING_EQUAL(loader_state->config->encoding, ENCODING_DEFAULT);
73 }
SHPLOADERSTATE * loader_state
Definition: cu_shp2pgsql.c:22
SHPLOADERCONFIG * config
void set_loader_config_defaults(SHPLOADERCONFIG *config)
SHPLOADERSTATE * ShpLoaderCreate(SHPLOADERCONFIG *config)
#define ENCODING_DEFAULT
SHPLOADERCONFIG * loader_config
Definition: cu_shp2pgsql.c:21

Here is the call graph for this function:

Here is the caller graph for this function: