Package org.apache.harmony.jndi.tests.javax.naming.spi.mock

Examples of org.apache.harmony.jndi.tests.javax.naming.spi.mock.MockInitialContextFactoryBuilder


  public void myTestSetInitialContextFactoryBuilder_ResetNormal()
      throws NamingException {
    log.setMethod("myTestSetInitialContextFactoryBuilder_ResetNormal");
    try {
      NamingManager
          .setInitialContextFactoryBuilder(new MockInitialContextFactoryBuilder());
      fail("Reset initialContextFactoryBuilder is forbidden!");
    } catch (IllegalStateException e) {
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.harmony.jndi.tests.javax.naming.spi.mock.MockInitialContextFactoryBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.