@Test public void testTimeline() { getLoader("test.data.path.timeline.events.directory", "timeline.csv").loadTimeline(); assertExists("timelineEvent", "name", "John the Baptist"); }
int loadTimeline() { this.addUpdate("install_timeline"); LOGGER.debug("Loading timeline"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("timelineEvent"); new TimelineStreamingCsvModuleLoader(writer, this.coreProperties.getProperty("test.data.path.timeline.events.directory"), this.jsword) .init(this); final int close = writer.close(); this.addUpdate("intall_timeline_complete", close); return close; }
Loader { int loadTimeline() { this.addUpdate("install_timeline"); LOGGER.debug("Loading timeline"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("timelineEvent"); new TimelineStreamingCsvModuleLoader(writer, this.coreProperties.getProperty("test.data.path.timeline.events.directory"), this.jsword) .init(this); final int close = writer.close(); this.addUpdate("intall_timeline_complete", close); return close; } }
Loader { int loadTimeline() { this.addUpdate("install_timeline"); LOGGER.debug("Loading timeline"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("timelineEvent"); new TimelineStreamingCsvModuleLoader(writer, this.coreProperties.getProperty("test.data.path.timeline.events.directory"), this.jsword) .init(this); final int close = writer.close(); this.addUpdate("intall_timeline_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 loadTimeline() { this.addUpdate("install_timeline"); LOGGER.debug("Loading timeline"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("timelineEvent"); new TimelineStreamingCsvModuleLoader(writer, this.coreProperties.getProperty("test.data.path.timeline.events.directory"), this.jsword) .init(this); final int close = writer.close(); this.addUpdate("intall_timeline_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 loadTimeline() { this.addUpdate("install_timeline"); LOGGER.debug("Loading timeline"); final EntityIndexWriterImpl writer = this.entityManager.getNewWriter("timelineEvent"); new TimelineStreamingCsvModuleLoader(writer, this.coreProperties.getProperty("test.data.path.timeline.events.directory"), this.jsword) .init(this); final int close = writer.close(); this.addUpdate("intall_timeline_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();  }