//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @AfterClass public static void tearDown() public static void TearDown() { if (TestSupport != null) { TestSupport.tearDown(); Folder.delete(); TestSupport = null; } }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setupGraph() throws java.io.IOException, org.neo4j.internal.kernel.api.exceptions.KernelException //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void SetupGraph() { if (TestSupport == null) { Folder.create(); TestSupport = NewTestSupport(); TestSupport.setup(Folder.Root, this.createTestGraph); } Kernel kernel = TestSupport.kernelToTest(); Tx = kernel.BeginTransaction(Transaction_Type.Implicit, LoginContext.AUTH_DISABLED); Token = Tx.token(); Read = Tx.dataRead(); IndexRead = Tx.indexRead(); SchemaRead = Tx.schemaRead(); Cursors = new ManagedTestCursors(Tx.cursors()); }