mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Violette Roche-Montane
13.08.2014 a1e512ef865ec80cd47acb2ab3cb9e4df4365c2d
opendj-sdk/opendj-cli/src/test/java/com/forgerock/opendj/cli/ConsoleApplicationTestCase.java
@@ -32,6 +32,8 @@
import org.forgerock.i18n.LocalizableMessage;
import org.testng.annotations.Test;
import com.forgerock.opendj.util.OperatingSystem;
import static org.fest.assertions.Assertions.assertThat;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
@@ -60,6 +62,8 @@
        }
        final static MockConsoleApplication getDefault() {
            // The console app needs the operating system.
            OperatingSystem.getOperatingSystem();
            out = new ByteArrayOutputStream();
            final PrintStream psOut = new PrintStream(out);
            err = new ByteArrayOutputStream();