//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldCloseMultiPopulatorOnFailedPopulation()
        public virtual void ShouldCloseMultiPopulatorOnFailedPopulation()
        {
            // given
            NullLogProvider logProvider                  = NullLogProvider.Instance;
            IndexStoreView  failingStoreView             = new IndexStoreView_AdaptorAnonymousInnerClass(this);
            TrackingMultipleIndexPopulator populator     = new TrackingMultipleIndexPopulator(failingStoreView, logProvider, EntityType.NODE, new DatabaseSchemaState(logProvider));
            IndexPopulationJob             populationJob = new IndexPopulationJob(populator, NO_MONITOR, false);

            // when
            populationJob.Run();

            // then
            assertTrue(populator.Closed);
        }
Beispiel #2
0
 public StoreScanAnonymousInnerClass(IndexStoreView_AdaptorAnonymousInnerClass outerInstance)
 {
     this.outerInstance = outerInstance;
 }