Exemple #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: protected void tearDown() throws Exception
        protected internal virtual void tearDown()
        {
            if (ldapTestEnvironment != null)
            {
                ldapTestEnvironment.shutdown();
                ldapTestEnvironment = null;
            }
            base.tearDown();
        }
Exemple #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: protected void setUp() throws Exception
        protected internal virtual void setUp()
        {
            if (ldapTestEnvironment == null)
            {
                ldapTestEnvironment = new LdapPosixTestEnvironment();
                ldapTestEnvironment.init();
            }
            base.setUp();
        }