From 0ba9b28eef82134be56fc386d2ae112e1e02596b Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 24 Sep 2013 13:39:13 +0000
Subject: [PATCH] HostPortTest.java: Silencing annoying warnings in Continuous Integration.

---
 opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/types/HostPortTest.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/types/HostPortTest.java b/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/types/HostPortTest.java
index 9f8792e..306b100 100644
--- a/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/types/HostPortTest.java
+++ b/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/types/HostPortTest.java
@@ -38,6 +38,7 @@
 
   private static final String IPV6_ADDRESS = "2001:0db8:85a3:0000:0000:8a2e:0370:7334";
 
+  @Test
   public void valueOfHostName()
   {
     final String serverURL = "home:1";
@@ -47,6 +48,7 @@
     assertThat(hp.toString()).isEqualTo(serverURL);
   }
 
+  @Test
   public void valueOfIPv4()
   {
     final String serverURL = "192.168.1.1:1";
@@ -56,6 +58,7 @@
     assertThat(hp.toString()).isEqualTo(serverURL);
   }
 
+  @Test
   public void valueOfEqualsHashCodeIPv4()
   {
     final HostPort hp1 = HostPort.valueOf("home:1");
@@ -64,6 +67,7 @@
     assertThat(hp1.hashCode()).isEqualTo(hp2.hashCode());
   }
 
+  @Test
   public void valueOfIPv6Brackets()
   {
     final String hostName = IPV6_ADDRESS;
@@ -84,6 +88,7 @@
     assertThat(hp.toString()).isEqualTo("[" + hostName + "]:389");
   }
 
+  @Test
   public void valueOfEqualsHashCodeIPv6()
   {
     final String hostName = IPV6_ADDRESS;
@@ -123,6 +128,7 @@
     HostPort.valueOf("host:99999999");
   }
 
+  @Test
   public void valueOfIPv6NoPort()
   {
     try

--
Gitblit v1.10.0