From edb7b32eaa2db4a171496d30ed3293bfa06b30c8 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Tue, 11 Feb 2014 13:36:41 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1303 - added DEFAULT_LDAP_CONNECT_TIMEOUT to constants. - added ClientException, merge it with CLIException. Replaced CLIException calls. (CLIException will disappear soon) - Console application : errors,warnings should be displayed in stdout if interactive mode is enabled. 	- added unit tests. 	- removed closeIfNotNull / replaced it by Utils.closeSilently

---
 opendj-cli/src/test/java/com/forgerock/opendj/cli/UtilsTestCase.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-cli/src/test/java/com/forgerock/opendj/cli/UtilsTestCase.java b/opendj-cli/src/test/java/com/forgerock/opendj/cli/UtilsTestCase.java
index a1e679e..8df648b 100644
--- a/opendj-cli/src/test/java/com/forgerock/opendj/cli/UtilsTestCase.java
+++ b/opendj-cli/src/test/java/com/forgerock/opendj/cli/UtilsTestCase.java
@@ -29,8 +29,8 @@
 
 public class UtilsTestCase extends CliTestCase {
 
-    @Test(expectedExceptions = CLIException.class)
-    public void testInvalidJavaVersion() throws CLIException {
+    @Test(expectedExceptions = ClientException.class)
+    public void testInvalidJavaVersion() throws ClientException {
         final String original = System.getProperty("java.specification.version");
         System.setProperty("java.specification.version", "1.5");
         try {
@@ -41,7 +41,7 @@
     }
 
     @Test()
-    public void testValidJavaVersion() throws CLIException {
+    public void testValidJavaVersion() throws ClientException {
         Utils.checkJavaVersion();
     }
 }

--
Gitblit v1.10.0