@Test public void testGeographyLoader() { getLoader("test.data.path.geography.openbible", "geography.tab").loadOpenBibleGeography(); assertLoaded(1, "obplace", "esvName", "Ekron"); assertTrue(getEntities(1, "obplace", "references", "Isa.11.11").length > 0); }
int loadOpenBibleGeography() { this.addUpdate("install_maps"); LOGGER.debug("Loading Open Bible geography"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("obplace"); new GeoStreamingCsvModuleLoader(writer, this.coreProperties.getProperty("test.data.path.geography.openbible"), this.jsword) .init(this); final int close = writer.close(); this.addUpdate("install_maps_complete", close); return close; }
Loader { int loadOpenBibleGeography() { this.addUpdate("install_maps"); LOGGER.debug("Loading Open Bible geography"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("obplace"); new GeoStreamingCsvModuleLoader(writer, this.coreProperties.getProperty("test.data.path.geography.openbible"), this.jsword) .init(this); final int close = writer.close(); this.addUpdate("install_maps_complete", close); return close; } }
Loader { int loadOpenBibleGeography() { this.addUpdate("install_maps"); LOGGER.debug("Loading Open Bible geography"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("obplace"); new GeoStreamingCsvModuleLoader(writer, this.coreProperties.getProperty("test.data.path.geography.openbible"), this.jsword) .init(this); final int close = writer.close(); this.addUpdate("install_maps_complete", close); return close; } @Inject  Loader(final JSwordPassageService jsword, final JSwordModuleService jswordModule,
                  @Named("StepCoreProperties") final Properties coreProperties, final EntityManager entityManager,
                  final Provider<ClientSession> clientSessionProvider,
                  AppManagerService appManager
    ); }
Loader { int loadOpenBibleGeography() { this.addUpdate("install_maps"); LOGGER.debug("Loading Open Bible geography"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("obplace"); new GeoStreamingCsvModuleLoader(writer, this.coreProperties.getProperty("test.data.path.geography.openbible"), this.jsword) .init(this); final int close = writer.close(); this.addUpdate("install_maps_complete", close); return close; } @Inject  Loader(final JSwordPassageService jsword, final JSwordModuleService jswordModule,
                  @Named("StepCoreProperties") final Properties coreProperties, final EntityManager entityManager,
                  final Provider<ClientSession> clientSessionProvider,
                  AppManagerService appManager
    ); void init(); List<String> readOnceProgress(); int getTotalProgress(); boolean isComplete(); }
Loader { int loadOpenBibleGeography() { this.addUpdate("install_maps"); LOGGER.debug("Loading Open Bible geography"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("obplace"); new GeoStreamingCsvModuleLoader(writer, this.coreProperties.getProperty("test.data.path.geography.openbible"), this.jsword) .init(this); final int close = writer.close(); this.addUpdate("install_maps_complete", close); return close; } @Inject  Loader(final JSwordPassageService jsword, final JSwordModuleService jswordModule,
                  @Named("StepCoreProperties") final Properties coreProperties, final EntityManager entityManager,
                  final Provider<ClientSession> clientSessionProvider,
                  AppManagerService appManager
    ); void init(); List<String> readOnceProgress(); int getTotalProgress(); boolean isComplete();  }