From 363b7d80aad7e46257e6aeafa688adfe7c7d6c94 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Thu, 04 Oct 2012 15:43:07 +0000
Subject: [PATCH] General : - add @SuppressWarnings("javadoc") - use file:/xxx URL instead since these do not depend on external factors. (fixed) - add reader.close() to LDIFEntryReaderTestCase for suppress warnings
---
opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/LDIFEntryWriterTestCase.java | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/LDIFEntryWriterTestCase.java b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/LDIFEntryWriterTestCase.java
index a06347f..4720db2 100644
--- a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/LDIFEntryWriterTestCase.java
+++ b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/LDIFEntryWriterTestCase.java
@@ -46,6 +46,7 @@
/**
* This class tests the LDIFEntryWriter functionality.
*/
+@SuppressWarnings("javadoc")
public final class LDIFEntryWriterTestCase extends LDIFTestCase {
/**
@@ -709,12 +710,12 @@
}
/**
- * Test to write an entry adding the user friendly Comment TODO
+ * Test to write an entry adding the user friendly Comment.
*
* @throws Exception
* If the test failed unexpectedly.
*/
- @Test
+ @Test(enabled = false)
public void testSetAddUserFriendlyComments() throws Exception {
final List<String> actual = new ArrayList<String>();
final LDIFEntryWriter writer = new LDIFEntryWriter(actual);
@@ -724,9 +725,6 @@
writer.setAddUserFriendlyComments(true);
writer.writeComment0(comment);
writer.close();
-
- // TODO Add a test when the function will be implemented in AbstractLDIFWriter
-
}
/**
--
Gitblit v1.10.0