PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ test_ShpLoaderCreate()

void test_ShpLoaderCreate ( void  )

Definition at line 65 of file cu_shp2pgsql.c.

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

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

Referenced by register_shp2pgsql_suite().

Here is the call graph for this function:
Here is the caller graph for this function: