Package org.apache.harmony.logging.tests.java.util.logging.HandlerTest

Examples of org.apache.harmony.logging.tests.java.util.logging.HandlerTest.NullOutputStream


  }

  public void testGlobalPropertyConfig() throws Exception {
        PrintStream err = System.err;
        try {
            System.setErr(new PrintStream(new NullOutputStream()));
            // before add config property, root has two handler
            manager.readConfiguration(EnvironmentHelper
                    .PropertiesToInputStream(props));
            assertEquals(2, manager.getLogger("").getHandlers().length);
View Full Code Here

TOP

Related Classes of org.apache.harmony.logging.tests.java.util.logging.HandlerTest.NullOutputStream

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.