Exemplo n.º 1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void flippedPopulationAreNotCanceable() throws org.neo4j.kernel.api.exceptions.index.FlipFailedKernelException
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void FlippedPopulationAreNotCanceable()
        {
            IndexPopulator  populator       = CreateIndexPopulator();
            IndexPopulation indexPopulation = AddPopulator(populator, 1);

            indexPopulation.Flip(false);

            indexPopulation.Cancel();

            verify(indexPopulation.Populator, never()).close(false);
        }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void canceledPopulationNotAbleToCreateNewIndex() throws org.neo4j.kernel.api.exceptions.index.FlipFailedKernelException
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void CanceledPopulationNotAbleToCreateNewIndex()
        {
            IndexPopulator  populator       = CreateIndexPopulator();
            IndexPopulation indexPopulation = AddPopulator(populator, 1);

            indexPopulation.Cancel();

            _multipleIndexPopulator.create();

            verify(populator, never()).create();
        }
Exemplo n.º 3
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void canceledPopulationNotAbleToFlip() throws org.neo4j.kernel.api.exceptions.index.FlipFailedKernelException
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void CanceledPopulationNotAbleToFlip()
        {
            IndexPopulator  populator       = CreateIndexPopulator();
            IndexPopulation indexPopulation = AddPopulator(populator, 1);

            indexPopulation.Cancel();

            indexPopulation.Flip(false);

            verify(indexPopulation.Populator, never()).sampleResult();
        }
Exemplo n.º 4
0
 internal virtual void CancelIndexPopulation(IndexPopulation indexPopulation)
 {
     indexPopulation.Cancel();
 }