You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2007/08/02 23:27:58 UTC

svn commit: r562262 [4/6] - in /harmony/enhanced/classlib/branches/java6: ./ depends/build/platform/ modules/accessibility/ modules/annotation/ modules/applet/ modules/archive/ modules/auth/ modules/awt/ modules/awt/src/main/java/unix/org/apache/harmon...

Modified: harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/RdnTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/RdnTest.java?view=diff&rev=562262&r1=562261&r2=562262
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/RdnTest.java (original)
+++ harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/RdnTest.java Thu Aug  2 14:27:53 2007
@@ -164,8 +164,7 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(Attributes)'
      * </p>
      * <p>
-     * Here in this case we are testing to construct an Rdn from the given
-     * attribute set. Here we are testing if we send a null attribute set.
+     * Here in this case we are testing the constructor with a null attribute set.
      * </p>
      * <p>
      * The expected result is a null pointer exception.
@@ -183,8 +182,8 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(Attributes)'
      * </p>
      * <p>
-     * Here in this case we are testing to construct an Rdn from the given
-     * attribute set. Here we are testing if we send an empty attribute set.
+     * Here in this case we are testing the constructor with an empty attribute
+     * set.
      * </p>
      * <p>
      * The expected result is an invalid name exception.
@@ -203,8 +202,7 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(Attributes)'
      * </p>
      * <p>
-     * Here in this case we are testing to construct an Rdn from the given
-     * attribute set. Here we are testing if we send a not empty attribute set,
+     * Here in this case we are testing to  the constructor with a non-empty attribute set,
      * but here we are testing if the values are used literally (not parsed) and
      * assumed to be unescaped.
      * </p>
@@ -223,9 +221,9 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(Attributes)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
+     * This is a test for the constructor of the class Rdn, in this
      * case we are testing to construct an Rdn from the given attribute set.
-     * Here we are testing if we send a not empty attribute set, but here we are
+     * Here we are testing with a non-empty attribute set, but here we are
      * testing if the values are used literally (not parsed) and assumed to be
      * unescaped.
      * </p>
@@ -244,9 +242,8 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(Attributes)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given attribute set.
-     * Here we are testing if we send a not empty attribute set but here we are
+     * This is a test method for the constructor of the class Rdn.
+     * Here we are testing with a non-empty attribute set but here we are
      * testing if the values are used literally (not parsed) and assumed to be
      * unescaped.
      * </p>
@@ -265,9 +262,8 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(Attributes)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given attribute set.
-     * Here we are testing if we send a not empty attribute set but here we are
+     * This is a test method for the constructor of the class Rdn.
+     * Here we are testing with a non-empty attribute set but here we are
      * testing if the values are used literally (not parsed) and assumed to be
      * unescaped.
      * </p>
@@ -285,9 +281,8 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(Attributes)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given attribute set.
-     * Here we are testing if we send a not empty attribute set.
+     * This is a test method for the constructor of the class Rdn.
+     * Here we are testing with a non-empty attribute set.
      * </p>
      * <p>
      * The expected result is an exception.
@@ -307,9 +302,8 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String. Here we
-     * are testing if we send a null String.
+     * This is a test method for the constructor of the class Rdn. Here we
+     * are testing with a null String.
      * </p>
      * <p>
      * The expected result is a null pointer exception.
@@ -327,9 +321,8 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String. Here we
-     * are testing if we send an empty String.
+     * This is a test for the constructor of the class Rdn. Here we are
+     * testing with an empty String.
      * </p>
      * <p>
      * The expected result is an instance of the class.
@@ -344,9 +337,8 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String. Here we
-     * are testing if we send a non empty String but with no valid format.
+     * This is a test for the constructor of the class Rdn. Here we are
+     * testing with a non-empty String but with an invalid format.
      * </p>
      * <p>
      * The expected result is invalid name exception.
@@ -371,14 +363,12 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String. Here we
-     * are testing if we send a non empty String with a valid format, in this
-     * case we use the especial character "+", and we are given here a type with
-     * no value.
+     * This is a test for the constructor of the class Rdn. Here we are
+     * testing with a non-empty String with a valid format, in this case we use
+     * the special character "+", and we are given here a type with no value.
      * </p>
      * <p>
-     * The expected result is an instance not null of Rdn.
+     * The expected result is a non-null instance of Rdn.
      * </p>
      */
     public void testRdnString006() throws Exception {
@@ -391,11 +381,10 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String. Here we
-     * are testing if we send a non empty String but with valid format, in this
-     * case we use the especial character "=", and we are given here a type with
-     * no value, and type is quoted..
+     * This is a test for the constructor of the class Rdn. Here we are
+     * testing with a non-empty String but with valid format, in this case we
+     * use the special character "=", and we are given here a type with no
+     * value, and type is quoted..
      * </p>
      * <p>
      * The expected result is an exception like Invalid name exception.
@@ -415,10 +404,9 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String. Here we
-     * are testing if we send a non empty String but with valid format, in this
-     * case we use the especial character "=".
+     * This is a test for the constructor of the class Rdn. Here we are
+     * testing with a non-empty String but with valid format, in this case we
+     * use the special character "=".
      * </p>
      * <p>
      * The expected result is an instance of rdn.
@@ -444,12 +432,11 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String. Here we
-     * are testing if we send a non empty String but with valid format.
+     * This is a test for the constructor of the class Rdn. Here we
+     * are testing with a non-empty String but with valid format.
      * </p>
      * <p>
-     * The expected result is an instance of rdn.
+     * The expected result is an instance of Rdn.
      * </p>
      */
     public void testRdnString016() throws Exception {
@@ -529,12 +516,11 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String. Here we
-     * are testing if we send a non empty String but with invalid format.
+     * This is a test for the constructor of the class Rdn. Here we
+     * are testing with a non-empty String but with invalid format.
      * </p>
      * <p>
-     * The expected result is an invalid name exception.
+     * The expected result is an InvalidNameException.
      * </p>
      */
     public void testRdnString026() {
@@ -558,12 +544,11 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(Rdn)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given Rdn. Here we are
-     * testing if we send a null Rdn.
+     * This is a test for the constructor of the class Rdn. Here we are
+     * testing with a null Rdn.
      * </p>
      * <p>
-     * The expected result is a null pointer exception.
+     * The expected result is a NullPointerException.
      * </p>
      */
     public void testRdnRdn001() {
@@ -578,12 +563,11 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(Rdn)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given Rdn. Here we are
-     * testing if we send a non null Rdn.
+     * This is a test for the constructor of the class Rdn. Here we are
+     * testing with a non-null Rdn.
      * </p>
      * <p>
-     * The expected result is another Rdn with a copy of the given one.
+     * The expected result is a new Rdn, which is a copy of the given one.
      * </p>
      */
     public void testRdnRdn002() throws Exception {
@@ -604,13 +588,12 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String, Object)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String and Object.
-     * Here we are testing if we send a null String and null object as the
+     * This is a test method for the constructor of the class Rdn.
+     * Here we are testing with a null String and null object as the
      * parameters.
      * </p>
      * <p>
-     * The expected result is a null pointer exception.
+     * The expected result is a NullPointerException.
      * </p>
      */
     public void testRdnStringObject001() throws Exception {
@@ -640,10 +623,9 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String, Object)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String and Object.
-     * Here we are testing if we send a non null String with a non null object
-     * but the type here has a special character like "+" this must be permited.
+     * This is a test for the constructor of the class Rdn. Here we are testing
+     * with a non-null String and a non-null object but the type here has a
+     * special character like "+", which should be permited.
      * </p>
      * <p>
      * The expected result is an instance not null of Rdn.
@@ -663,13 +645,11 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String, Object)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String and Object.
-     * Here we are testing if we send a non empty String and this one not ok
-     * with diferents objects.
+     * This is a test for the constructor of the class Rdn. Here we are testing
+     * with a non-empty String and different objects.
      * </p>
      * <p>
-     * The expected result is an instance of the class with the diferents
+     * The expected result is an instance of the class with the different
      * arguments because the arguments are not parsed.
      * </p>
      */
@@ -684,10 +664,8 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String, Object)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String and Object.
-     * Here we are testing if we send a non empty String and this one not ok
-     * with diferents objects.
+     * This is a test for the constructor of the class Rdn. Here we are testing
+     * with a non-empty String and diferents objects.
      * </p>
      * <p>
      * The expected result is an instance of the class with the diferents
@@ -705,9 +683,8 @@
      * Test method for 'javax.naming.ldap.Rdn.Rdn(String, Object)'
      * </p>
      * <p>
-     * This is the test method for the constructor of the class Rdn, in this
-     * case we are testing to construct an Rdn from the given String and Object.
-     * Here we are testing if we send a non empty String and a non empty object.
+     * This is a test for the constructor of the class Rdn. Here we are testing
+     * with a non-empty String and a non-empty object.
      * </p>
      * <p>
      * The expected result is an instance of the class because the arguments are
@@ -726,13 +703,11 @@
      * Test method for 'javax.naming.ldap.Rdn.hashCode()'
      * </p>
      * <p>
-     * Here we are testing if this method returns the hash code of this RDN, in
-     * this case we are testing if the hashcode returned by this method is the
-     * correct one, the only hash that we know something is of the Rdn empty,
-     * this hash has to be zero.
+     * Here we are testing if the hashcode returned by this method is the
+     * correct one. The hashcode for an empty Rdn should be zero.
      * </p>
      * <p>
-     * The expected result is the hashcode of the rdn.
+     * The expected result is the hashcode of the Rdn.
      * </p>
      */
     public void testHashCode001() throws Exception {
@@ -769,8 +744,7 @@
      * Test method for 'javax.naming.ldap.Rdn.equals(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares the specified Object with
-     * this Rdn for equality. In this case we are sending a null object.
+     * Here we are testing the equals method with a null object.
      * </p>
      * <p>
      * The expected result is false.
@@ -813,30 +787,29 @@
      * Test method for 'javax.naming.ldap.Rdn.equals(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares the specified Object with
-     * this Rdn for equality. In this case we are sending equals rdns.
+     * Here we are testing the equals method with equal Rdns.
      * </p>
      * <p>
-     * The expected result is exception here.
+     * The expected result is an exception.
      * </p>
      */
     public void testEquals017() throws Exception {
         try {
             new Rdn("t", new char[] { 'a', 'v' }).equals(new Rdn("t",
                     new char[] { 'a', 'v' }));
-            fail("Should raise an exception.");
+            fail("Should throw an exception.");
         } catch (ClassCastException e) {}
 
         try {
             new Rdn("t", new int[] { 00 })
                     .equals(new Rdn("t", new int[] { 00 }));
-            fail("Should raise an exception.");
+            fail("Should throw an exception.");
         } catch (ClassCastException e) {}
 
         try {
             new Rdn("t", new BasicControl("t")).equals(new Rdn("t",
                     new BasicControl("t")));
-            fail("Should raise an exception.");
+            fail("Should throw an exception.");
         } catch (ClassCastException e) {}
     }
 
@@ -864,12 +837,12 @@
      * </p>
      * <p>
      * Here we are testing if this method give us the correct string of a Rdn
-     * that we create, notice here that Rdn created by us is not empty so the
-     * string returned must be also not empty.
+     * that we create, notice here that Rdn created by us is non-empty so the
+     * string returned must be also non-empty.
      * </p>
      * <p>
-     * The expected result is an non empty string an eqaul to the one used by to
-     * create the rdn.
+     * The expected result is an non-empty string an equal to the one used to
+     * create the Rdn.
      * </p>
      */
     public void testToString002() throws Exception {
@@ -884,14 +857,14 @@
      * </p>
      * <p>
      * Here we are testing if this method give us the correct string of a Rdn
-     * that we create, notice here that Rdn created by us is not empty so the
-     * string returned must be also not empty. Here is the paricularity that the
-     * rdn contains multi-values so the string must be a concatenation of the
+     * that we create, notice here that Rdn created by us is non-empty so the
+     * string returned must be also non-empty. The Rdn in this test contains
+     * multiple values so the string returned must be a concatenation of the
      * strings.
      * </p>
      * <p>
-     * The expected result is an non empty string an eqaul to the one used by to
-     * create the rdn.
+     * The expected result is an non-empty string an equal to the one used by to
+     * create the Rdn.
      * </p>
      */
     public void testToString003() throws Exception {
@@ -905,15 +878,15 @@
      * Test method for 'javax.naming.ldap.Rdn.toString()'
      * </p>
      * <p>
-     * Here we are testing if this method give us the correct string of a Rdn
-     * that we create, notice here that Rdn created by us is not empty so the
-     * string returned must be also not empty. Here is the paricularity that the
-     * rdn contains multi-values and quoted values so the string must be a
-     * concatenation of strings and values quoted must in ascii.
+     * Here we are testing if this method returns the correct string of a Rdn
+     * that we create, notice here that Rdn created by us is non-empty so the
+     * string returned must be also non-empty. The Rdn in this test contains
+     * multiple values so the string returned must be a concatenation of the
+     * strings and values quoted must be in Ascii.
      * </p>
      * <p>
-     * The expected result is an non empty string an eqaul to the one used by to
-     * create the rdn.
+     * The expected result is an non-empty string an equal to the one used by to
+     * create the Rdn.
      * </p>
      */
     public void testToString004() throws Exception {
@@ -927,13 +900,13 @@
      * Test method for 'javax.naming.ldap.Rdn.toString()'
      * </p>
      * <p>
-     * Here we are testing if this method give us the correct string of a Rdn
-     * that we create, notice here that Rdn created by us is not empty so the
-     * string returned must be also not empty. Here is the paricularity that the
-     * rdn contains quoted values so the string must be must in ascii.
+     * Here we are testing if this method returns the correct string of a Rdn
+     * that we create, notice here that Rdn created by us is non-empty so the
+     * string returned must be also non-empty. Here the Rdn contains quoted
+     * values so the string returned must be in Ascii.
      * </p>
      * <p>
-     * The expected result is an non empty string an eqaul to the one used by to
+     * The expected result is an non-empty string an equal to the one used by to
      * create the rdn.
      * </p>
      */
@@ -949,14 +922,13 @@
      * </p>
      * <p>
      * Here we are testing if this method give us the correct string of a Rdn
-     * that we create, notice here that Rdn created by us is not empty so the
-     * string returned must be also not empty. Here is the paricularity that the
-     * rdn contains quoted values so the string must be must in ascii also
-     * contains two special characters but like character so they must be in the
-     * string.
+     * that we create, notice here that Rdn created by us is non-empty so the
+     * string returned must be also non-empty. Here the rdn contains quoted
+     * values so the string must be in ascii. It also contains two special
+     * characters that must be in the string returned.
      * </p>
      * <p>
-     * The expected result is an non empty string an eqaul to the one used by to
+     * The expected result is an non-empty string an equal to the one used by to
      * create the rdn.
      * </p>
      */
@@ -972,9 +944,9 @@
      * </p>
      * <p>
      * Here we are testing if this method give us the correct string of a Rdn
-     * that we create, notice here that Rdn created by us is not empty so the
-     * string returned must be also not empty. Here is the paricularity that the
-     * rdn is created with an object that contains an array of primitives.
+     * that we create, notice here that Rdn created by us is non-empty so the
+     * string returned must be also non-empty. Here the rdn is created with an
+     * object that contains an array of primitives.
      * </p>
      * <p>
      * The expected result is the string with the object parsed.
@@ -992,9 +964,9 @@
      * </p>
      * <p>
      * Here we are testing if this method give us the correct string of a Rdn
-     * that we create, notice here that Rdn created by us is not empty so the
-     * string returned must be also not empty. Here is the paricularity that the
-     * rdn is created with an object that contains an array of primitives.
+     * that we create, notice here that Rdn created by us is non-empty so the
+     * string returned must be also non-empty. Here the rdn is created with an
+     * object that contains an array of primitives.
      * </p>
      * <p>
      * The expected result is an exception.
@@ -1005,7 +977,7 @@
         Rdn rdn = new Rdn("t", t);
         try {
             rdn.toString();
-            fail("Should raise an exception.");
+            fail("Should throw an exception.");
         } catch (ClassCastException e) {}
     }
 
@@ -1015,14 +987,14 @@
      * </p>
      * <p>
      * Here we are testing if this method give us the correct string of a Rdn
-     * that we create, notice here that Rdn created by us is not empty so the
-     * string returned must be also not empty. Here is the paricularity that the
-     * rdn contains multi-values and quoted values so the string must be a
-     * concatenation of strings and values quoted must in ascii.
+     * that we create, notice here that the Rdn created by us is non-empty so
+     * the string returned must be also non-empty. Here the Rdn contains
+     * multiple values and quoted values so the string must be a concatenation
+     * of the strings and quoted values must be in ascii.
      * </p>
      * <p>
-     * The expected result is an non empty string an eqaul to the one used by to
-     * create the rdn.
+     * The expected result is an non-empty string equal to the one used to
+     * create the Rdn.
      * </p>
      */
     public void testToString009() throws Exception {
@@ -1037,14 +1009,14 @@
      * </p>
      * <p>
      * Here we are testing if this method give us the correct string of a Rdn
-     * that we create, notice here that Rdn created by us is not empty so the
-     * string returned must be also not empty. Here is the paricularity that the
-     * rdn contains multi-values and quoted values so the string must be a
-     * concatenation of strings and values quoted must in ascii.
+     * that we create, notice here that the Rdn created by us is non-empty so
+     * the string returned must be also non-empty. Here the Rdn contains
+     * multiple values and quoted values so the string must be a concatenation
+     * of the strings and quoted values must be in ascii.
      * </p>
      * <p>
-     * The expected result is an non empty string an eqaul to the one used by to
-     * create the rdn.
+     * The expected result is an non-empty string equal to the one used to
+     * create the Rdn.
      * </p>
      */
     public void testToString010() throws Exception {
@@ -1064,8 +1036,8 @@
      * Test method for 'javax.naming.ldap.Rdn.getValue()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves one of this Rdn's value. In
-     * this case should raise an exception because the rdn is empty.
+     * Here we are testing if this method returns one of the Rdn's values. In
+     * this case it should throw an exception because the Rdn is empty.
      * </p>
      * <p>
      * The expected result is an exception.
@@ -1075,7 +1047,7 @@
         Rdn rdn = new Rdn("");
         try {
             rdn.getValue();
-            fail("Should raise an exception.");
+            fail("Should throw an exception.");
         } catch (IndexOutOfBoundsException e) {}
     }
 
@@ -1084,8 +1056,9 @@
      * Test method for 'javax.naming.ldap.Rdn.getValue()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves one of this Rdn's value. In
-     * this case if returns an object not null when a not empty name is created.
+     * Here we are testing if this method returns one of the Rdn's values. In this
+     * case it should return an Object that is not null when a non-empty name is
+     * used.
      * </p>
      */
     public void testGetValue002() throws Exception {
@@ -1110,8 +1083,9 @@
      * Test method for 'javax.naming.ldap.Rdn.getValue()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves one of this Rdn's value. In
-     * this case if returns an object not null when a not empty name is created.
+     * Here we are testing if this method returns one of the Rdn's values. In this
+     * case it should return an Object that is not null when a non-empty name is
+     * used.
      * </p>
      */
     public void testGetValue014() throws Exception {
@@ -1128,11 +1102,11 @@
 
     /**
      * <p>
-     * Test method for 'javax.naming.ldap.Rdn.getValue()'
+     * Test method for 'javax.naming.ldap.Rdn.getType()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves one of this Rdn's value. In
-     * this case should raise an exception because the rdn is empty.
+     * Here we are testing if this method returns one of the Rdn's types. In
+     * this case it should throw an exception because the Rdn is empty.
      * </p>
      * <p>
      * The expected result is an exception.
@@ -1151,12 +1125,12 @@
      * Test method for 'javax.naming.ldap.Rdn.getType()'
      * </p>
      * <p>
-     * Here we are testing if the method retrieves one of this Rdn's type. In
-     * this case the Rdn is created not empty so the result must be not null and
-     * not empty.
+     * Here we are testing if this method returns one of the Rdn's types. In this
+     * case the Rdn is non-empty so the result must not be null and must be
+     * non-empty.
      * </p>
      * <p>
-     * The expected result is a not null and not empty String.
+     * The expected result is a non-null and non-empty String.
      * </p>
      */
     public void testGetType002() throws Exception {
@@ -1169,12 +1143,12 @@
      * Test method for 'javax.naming.ldap.Rdn.getType()'
      * </p>
      * <p>
-     * Here we are testing if the method retrieves one of this Rdn's type. In
-     * this case the Rdn is created not empty so the result must be not null and
-     * not empty, also here we include a multivalue name.
+     * Here we are testing if this method returns one of the Rdn's types. In
+     * this case the Rdn is non-empty so the result must be non-null and
+     * non-empty, also here we test with a multivalue name.
      * </p>
      * <p>
-     * The expected result is a not null and not empty String.
+     * The expected result is a non-null and non-empty String.
      * </p>
      */
     public void testGetType003() throws Exception {
@@ -1187,12 +1161,12 @@
      * Test method for 'javax.naming.ldap.Rdn.getType()'
      * </p>
      * <p>
-     * Here we are testing if the method retrieves one of this Rdn's type. In
-     * this case the Rdn is created not empty so the result must be not null and
-     * not empty, also here we include a multivalue name.
+     * Here we are testing if the method returns one of the Rdn's types. In
+     * this case the Rdn is created non-empty so the result must be non-null and
+     * non-empty, also here we test with a multivalue name.
      * </p>
      * <p>
-     * The expected result is a not null and not empty String.
+     * The expected result is a non-null and non-empty String.
      * </p>
      */
     public void testGetType004() throws Exception {
@@ -1205,12 +1179,12 @@
      * Test method for 'javax.naming.ldap.Rdn.getType()'
      * </p>
      * <p>
-     * Here we are testing if the method retrieves one of this Rdn's type. In
-     * this case the Rdn is created not empty so the result must be not null and
-     * not empty, also here we include a multivalue name.
+     * Here we are testing if the method returns one of the Rdn's types. In
+     * this case the Rdn is created non-empty so the result must be non-null and
+     * non-empty, also here we test with a multivalue name.
      * </p>
      * <p>
-     * The expected result is a not null and not empty String.
+     * The expected result is a non-null and not empty String.
      * </p>
      */
     public void testGetType005() throws Exception {
@@ -1223,11 +1197,11 @@
      * Test method for 'javax.naming.ldap.Rdn.compareTo(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares this Rdn with the specified
-     * Object for order. In this case we are comparing two empty Rdn.
+     * Here we are testing if this method correctly compares an Rdn with
+     * another object. In this case we are comparing two empty Rdns.
      * </p>
      * <p>
-     * The expected result is a zero.
+     * The expected result is zero.
      * </p>
      */
     public void testCompareTo001() throws Exception {
@@ -1241,9 +1215,9 @@
      * Test method for 'javax.naming.ldap.Rdn.compareTo(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares this Rdn with the specified
-     * Object for order. In this case we are comparing two Rdn one of them is
-     * empty in this case the second one.
+     * Here we are testing if this method correctly compares an Rdn with another
+     * object. In this case we are comparing two Rdns, the second of which is
+     * empty.
      * </p>
      * <p>
      * The expected result is a positive number.
@@ -1260,9 +1234,9 @@
      * Test method for 'javax.naming.ldap.Rdn.compareTo(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares this Rdn with the specified
-     * Object for order. In this case we are comparing two Rdn one of them is
-     * empty in this case the first one.
+     * Here we are testing if this method correctly compares an Rdn with another
+     * object. In this case we are comparing two Rdns, the first of which is
+     * empty.
      * </p>
      * <p>
      * The expected result is a negative number.
@@ -1279,9 +1253,9 @@
      * Test method for 'javax.naming.ldap.Rdn.compareTo(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares this Rdn with the specified
-     * Object for order. In this case we are comparing two Rdn one of them is
-     * null in this case the second one.
+     * Here we are testing if this method correctly compares an Rdn with another
+     * object. In this case we are comparing two Rdns, the second of which is
+     * null.
      * </p>
      * <p>
      * The expected result is a ClassCastException.
@@ -1299,9 +1273,9 @@
      * Test method for 'javax.naming.ldap.Rdn.compareTo(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares this Rdn with the specified
-     * Object for order. In this case we are comparing two Rdn one of them has
-     * two values, the other one has two values but one is empty.
+     * Here we are testing if this method correctly compares an Rdn with another
+     * object. In this case we are comparing two Rdns, one of which has two
+     * values, and the other of which also has two values, one that is empty.
      * </p>
      * <p>
      * The expected result is a positive number.
@@ -1318,9 +1292,9 @@
      * Test method for 'javax.naming.ldap.Rdn.compareTo(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares this Rdn with the specified
-     * Object for order. In this case we are comparing two Rdn one of them has
-     * two values, the other one has two values but one is empty.
+     * Here we are testing if this method correctly compares an Rdn with another
+     * object. In this case we are comparing two Rdns, one of which has
+     * two values, the other of which also has two values, one that is empty.
      * </p>
      * <p>
      * The expected result is a negative number.
@@ -1337,9 +1311,9 @@
      * Test method for 'javax.naming.ldap.Rdn.compareTo(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares this Rdn with the specified
-     * Object for order. In this case we are comparing with an object that is
-     * not an instance of Rdn.
+     * Here we are testing if this method correctly compares an Rdn with another
+     * object. In this case we are comparing with an object that is not an
+     * instance of Rdn.
      * </p>
      * <p>
      * The expected result is a ClassCastException.
@@ -1357,9 +1331,8 @@
      * Test method for 'javax.naming.ldap.Rdn.compareTo(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares this Rdn with the specified
-     * Object for order. In this case we are comparing with an Rdn that is Upper
-     * case.
+     * Here we are testing if this method correctly compares an Rdn with another
+     * object. In this case we are comparing with an Rdn that is upper case.
      * </p>
      * <p>
      * The expected result is a 0.
@@ -1376,11 +1349,11 @@
      * Test method for 'javax.naming.ldap.Rdn.compareTo(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares this Rdn with the specified
-     * Object for order.
+     * Here we are testing if this method correctly compares an Rdn with another
+     * object.
      * </p>
      * <p>
-     * The expected result is a 0.
+     * The expected result is 0.
      * </p>
      */
     public void testCompareTo009() throws Exception {
@@ -1394,11 +1367,11 @@
      * Test method for 'javax.naming.ldap.Rdn.compareTo(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares this Rdn with the specified
-     * Object for order.
+     * Here we are testing if this method correctly compares an Rdn with another
+     * object.
      * </p>
      * <p>
-     * The expected result is a 0.
+     * The expected result is 0.
      * </p>
      */
     public void testCompareTo010() throws Exception {
@@ -1412,11 +1385,11 @@
      * Test method for 'javax.naming.ldap.Rdn.compareTo(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method compares this Rdn with the specified
-     * Object for order.
+     * Here we are testing if this method correctly compares an Rdn with another
+     * object.
      * </p>
      * <p>
-     * The expected result is a 0.
+     * The expected result is 0.
      * </p>
      */
     public void testCompareTo011() throws Exception {
@@ -1471,12 +1444,12 @@
      * Test method for 'javax.naming.ldap.Rdn.toAttributes()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the Attributes view of the
-     * type/value mappings contained in given Rdn wich is sended in the next
-     * form: "t=\\4C\\4c", notice that here the values are quoted.
+     * Here we are testing if this method correctly returns the Rdn's contents
+     * as an Attributes map. For this test the Rdn is created with the string
+     * "t=\\4C\\4c", notice that here the values are quoted.
      * </p>
      * <p>
-     * The expected result is the map of the Rdn."
+     * The expected result is the map of the Rdn.
      * </p>
      */
     public void testToAttributes001() throws Exception {
@@ -1493,9 +1466,9 @@
      * Test method for 'javax.naming.ldap.Rdn.toAttributes()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the Attributes view of the
-     * type/value mappings contained in given Rdn wich is sended in the next
-     * form: "", notice that here the name is empty.
+     * Here we are testing if this method correctly returns the Rdn's contents
+     * as an Attributes map. For this test the Rdn is created with the string
+     * "", notice that here the name is empty.
      * </p>
      * <p>
      * The expected result is the map of the Rdn not null but empty.
@@ -1513,9 +1486,9 @@
      * Test method for 'javax.naming.ldap.Rdn.toAttributes()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the Attributes view of the
-     * type/value mappings contained in given Rdn wich is sended in the next
-     * form: "t=hola", notice that here the values are not quoted.
+     * Here we are testing if this method correctly returns the Rdn's contents
+     * as an Attributes map. For this test the Rdn is created with the string
+     * "t=hola", notice that here the values are not quoted.
      * </p>
      * <p>
      * The expected result is the map of the Rdn."
@@ -1535,9 +1508,9 @@
      * Test method for 'javax.naming.ldap.Rdn.toAttributes()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the Attributes view of the
-     * type/value mappings contained in given Rdn wich is sended in the next
-     * form: "t=", notice that here the values are not quoted.
+     * Here we are testing if this method correctly returns the Rdn's contents
+     * as an Attributes map. For this test the Rdn is created with the string
+     * "t=", notice that here the values are not quoted.
      * </p>
      * <p>
      * The expected result is the map of the Rdn."
@@ -1557,9 +1530,9 @@
      * Test method for 'javax.naming.ldap.Rdn.toAttributes()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the Attributes view of the
-     * type/value mappings contained in given Rdn wich is sended in the next
-     * form: "t=test+a=test2+b=test3", notice that here the values are not
+     * Here we are testing if this method correctly returns the Rdn's contents
+     * as an Attributes map. For this test the Rdn is created with the string
+     * "t=test+a=test2+b=test3", notice that here the values are not
      * quoted.
      * </p>
      * <p>
@@ -1580,9 +1553,9 @@
      * Test method for 'javax.naming.ldap.Rdn.toAttributes()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the Attributes view of the
-     * type/value mappings contained in given Rdn wich is sended in the
-     * multivalue form.
+     * Here we are testing if this method correctly returns the Rdn's contents
+     * as an Attributes map. For this test the Rdn is created with multiple
+     * values.
      * </p>
      * <p>
      * The expected result is the map of the Rdn.
@@ -1602,9 +1575,9 @@
      * Test method for 'javax.naming.ldap.Rdn.toAttributes()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the Attributes view of the
-     * type/value mappings contained in given Rdn wich is sended in the
-     * multivalue form.
+     * Here we are testing if this method correctly returns the Rdn's contents
+     * as an Attributes map. For this test the Rdn is created with multiple
+     * values.
      * </p>
      * <p>
      * The expected result is the map of the Rdn.
@@ -1624,9 +1597,9 @@
      * Test method for 'javax.naming.ldap.Rdn.toAttributes()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the Attributes view of the
-     * type/value mappings contained in given Rdn wich is sended in the
-     * multivalue form.
+     * Here we are testing if this method correctly returns the Rdn's contents
+     * as an Attributes map. For this test the Rdn is created with multiple
+     * values.
      * </p>
      * <p>
      * The expected result is the map of the Rdn.
@@ -1646,9 +1619,9 @@
      * Test method for 'javax.naming.ldap.Rdn.toAttributes()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the Attributes view of the
-     * type/value mappings contained in given Rdn wich is sended in the
-     * multivalue form.
+     * Here we are testing if this method correctly returns the Rdn's contents
+     * as an Attributes map. For this test the Rdn is created with multiple
+     * values.
      * </p>
      * <p>
      * The expected result is the map of the Rdn.
@@ -1668,9 +1641,9 @@
      * Test method for 'javax.naming.ldap.Rdn.toAttributes()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the Attributes view of the
-     * type/value mappings contained in given Rdn wich is sended in the
-     * multivalue form.
+     * Here we are testing if this method correctly returns the Rdn's contents
+     * as an Attributes map. For this test the Rdn is created with multiple
+     * values.
      * </p>
      * <p>
      * The expected result is the map of the Rdn.
@@ -1690,11 +1663,11 @@
      * Test method for 'javax.naming.ldap.Rdn.size()'
      * </p>
      * <p>
-     * Here we are testing if the return of this method is the correct size of
-     * the given Rdn wich has one names.
+     * Here we are testing if this method returns the correct size of
+     * the given Rdn, which has one entry.
      * </p>
      * <p>
-     * The expected result is an integer with the value of one.
+     * The expected result is 1.
      * </p>
      */
     public void testSize001() throws Exception {
@@ -1707,11 +1680,11 @@
      * Test method for 'javax.naming.ldap.Rdn.size()'
      * </p>
      * <p>
-     * Here we are testing if the return of this method is the correct size of
+     * Here we are testing if this method returns the correct size of
      * the given empty Rdn.
      * </p>
      * <p>
-     * The expected result is an integer with the value of zero.
+     * The expected result is 0.
      * </p>
      */
     public void testSize002() throws Exception {
@@ -1724,11 +1697,11 @@
      * Test method for 'javax.naming.ldap.Rdn.size()'
      * </p>
      * <p>
-     * Here we are testing if the return of this method is the correct size of
-     * the given Rdn wich has three names.
+     * Here we are testing if this method returns the correct size of
+     * the given Rdn, which has three entries.
      * </p>
      * <p>
-     * The expected result is an integer with the value of three.
+     * The expected result is 3.
      * </p>
      */
     public void testSize003() throws Exception {
@@ -1741,11 +1714,11 @@
      * Test method for 'javax.naming.ldap.Rdn.size()'
      * </p>
      * <p>
-     * Here we are testing if the return of this method is the correct size of
-     * the given Rdn wich has three names.
+     * Here we are testing if this method returns the correct size of
+     * the given Rdn, which has three entries.
      * </p>
      * <p>
-     * The expected result is an integer with the value of three.
+     * The expected result is 3.
      * </p>
      */
     public void testSize004() throws Exception {
@@ -1758,13 +1731,13 @@
      * Test method for 'javax.naming.ldap.Rdn.escapeValue(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method given the value of an attribute,
-     * returns a string escaped. In this case the method must be static so there
-     * is no need to create a previously instance of Rdn, the value could be
-     * like this "this, that" here the special character is ",".
+     * Here we are testing if this method returns a correctly escaped string for
+     * the given attribute value. In this case the method is static so there is
+     * no need to create an instance of Rdn. The test value is "this, that" here
+     * the special character is ",".
      * </p>
      * <p>
-     * The expected result is like this "this\, that".
+     * The expected result is "this\, that".
      * </p>
      */
     public void testEscapeValue001() throws Exception {
@@ -1776,13 +1749,13 @@
      * Test method for 'javax.naming.ldap.Rdn.escapeValue(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method given the value of an attribute,
-     * returns a string escaped. In this case the method must be static so there
-     * is no need to create a previously instance of Rdn, the value could be
-     * like this "this "that"", here the special character is """.
+     * Here we are testing if this method returns a correctly escaped string for
+     * the given attribute value. In this case the method is static so there is
+     * no need to create an instance of Rdn. The test value is "this "that"",
+     * here the special character is """.
      * </p>
      * <p>
-     * The expected result is like this "this \"that\"".
+     * The expected result is "this \"that\"".
      * </p>
      */
     public void testEscapeValue002() {
@@ -1794,13 +1767,13 @@
      * Test method for 'javax.naming.ldap.Rdn.escapeValue(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method given the value of an attribute,
-     * returns a string escaped. In this case the method must be static so there
-     * is no need to create a previously instance of Rdn, the value could be
-     * like this "this+that", here the special character is "+".
+     * Here we are testing if this method returns a correctly escaped string for
+     * the given attribute value. In this case the method is static so there is
+     * no need to create an instance of Rdn. The test value is "this+that", here
+     * the special character is "+".
      * </p>
      * <p>
-     * The expected result is like this "this+that".
+     * The expected result is "this+that".
      * </p>
      */
     public void testEscapeValue003() {
@@ -1812,13 +1785,13 @@
      * Test method for 'javax.naming.ldap.Rdn.escapeValue(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method given the value of an attribute,
-     * returns a string escaped. In this case the method must be static so there
-     * is no need to create a previously instance of Rdn, the value could be
-     * like this "this;that", here the special character is ";".
+     * Here we are testing if this method returns a correctly escaped string for
+     * the given attribute value. In this case the method is static so there is
+     * no need to create an instance of Rdn. The test value is "this;that", here
+     * the special character is ";".
      * </p>
      * <p>
-     * The expected result is like this "this\;that".
+     * The expected result is "this\;that".
      * </p>
      */
     public void testEscapeValue004() {
@@ -1830,13 +1803,13 @@
      * Test method for 'javax.naming.ldap.Rdn.escapeValue(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method given the value of an attribute,
-     * returns a string escaped. In this case the method must be static so there
-     * is no need to create a previously instance of Rdn, the value could be
-     * like this "this&lt;that", here the special character is "&lt;".
+     * Here we are testing if this method returns a correctly escaped string for
+     * the given attribute value. In this case the method is static so there is
+     * no need to create an instance of Rdn. The test value is "this&lt;that",
+     * here the special character is "&lt;".
      * </p>
      * <p>
-     * The expected result is like this "this&lt;that".
+     * The expected result is "this&lt;that".
      * </p>
      */
     public void testEscapeValue005() {
@@ -1848,13 +1821,13 @@
      * Test method for 'javax.naming.ldap.Rdn.escapeValue(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method given the value of an attribute,
-     * returns a string escaped. In this case the method must be static so there
-     * is no need to create a previously instance of Rdn, the value could be
-     * like this "this&gt;that", here the special character is "&gt;".
+     * Here we are testing if this method returns a correctly escaped string for
+     * the given attribute value. In this case the method is static so there is
+     * no need to create an instance of Rdn. The test value is "this&gt;that",
+     * here the special character is "&gt;".
      * </p>
      * <p>
-     * The expected result is like this "this&gt;that".
+     * The expected result is "this&gt;that".
      * </p>
      */
     public void testEscapeValue006() {
@@ -1866,13 +1839,12 @@
      * Test method for 'javax.naming.ldap.Rdn.escapeValue(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method given the value of an attribute,
-     * returns a string escaped. In this case the method must be static so there
-     * is no need to create a previously instance of Rdn, the value in this case
-     * is null.
+     * Here we are testing if this method returns a correctly escaped string for
+     * the given attribute value. In this case the method is static so there is
+     * no need to create an instance of Rdn. The test value is null.
      * </p>
      * <p>
-     * The expected result is a null pointer exception.
+     * The expected result is a NullPointerException.
      * </p>
      */
     public void testEscapeValue007() {
@@ -1887,13 +1859,12 @@
      * Test method for 'javax.naming.ldap.Rdn.escapeValue(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method given the value of an attribute,
-     * returns a string escaped. In this case the method must be static so there
-     * is no need to create a previously instance of Rdn, the value in this case
-     * is not a string but a diferent object.
+     * Here we are testing if this method returns a correctly escaped string for
+     * the given attribute value. In this case the method is static so there is
+     * no need to create an instance of Rdn. The test value is not a String.
      * </p>
      * <p>
-     * The expected result is a class cast exception.
+     * The expected result is a ClassCastException.
      * </p>
      */
     public void testEscapeValue008() {
@@ -1909,10 +1880,9 @@
      * Test method for 'javax.naming.ldap.Rdn.escapeValue(Object)'
      * </p>
      * <p>
-     * Here we are testing if this method given the value of an attribute,
-     * returns a string escaped. In this case the method must be static so there
-     * is no need to create a previously instance of Rdn, the value in this case
-     * is a byte array.
+     * Here we are testing if this method returns a correctly escaped string for
+     * the given attribute value. In this case the method is static so there is
+     * no need to create an instance of Rdn. The test value is a byte array.
      * </p>
      * <p>
      * The expected result is the escape value for that array.
@@ -1928,8 +1898,8 @@
      * Test method for 'javax.naming.ldap.Rdn.unescapeValue(String)'
      * </p>
      * <p>
-     * Here we are testing if a given attribute value string formated, returns
-     * the unformated value. In this case we are testing the special character
+     * Here we are testing if his method returns a correctly unformatted string for
+     * the given attribute value. In this case we are testing the special character
      * "," in the form "this\,that".
      * </p>
      * <p>
@@ -1945,8 +1915,8 @@
      * Test method for 'javax.naming.ldap.Rdn.unescapeValue(String)'
      * </p>
      * <p>
-     * Here we are testing if a given attribute value string formated, returns
-     * the unformated value. In this case we are testing the special character
+     * Here we are testing if his method returns a correctly unformatted string for
+     * the given attribute value. In this case we are testing the special character
      * "+" in the form "this\+that".
      * </p>
      * <p>
@@ -1962,8 +1932,8 @@
      * Test method for 'javax.naming.ldap.Rdn.unescapeValue(String)'
      * </p>
      * <p>
-     * Here we are testing if a given attribute value string formated, returns
-     * the unformated value. In this case we are testing the special character
+     * Here we are testing if his method returns a correctly unformatted string for
+     * the given attribute value. In this case we are testing the special character
      * ";" in the form "this\;that".
      * </p>
      * <p>
@@ -1979,8 +1949,8 @@
      * Test method for 'javax.naming.ldap.Rdn.unescapeValue(String)'
      * </p>
      * <p>
-     * Here we are testing if a given attribute value string formated, returns
-     * the unformated value. In this case we are testing the special character
+     * Here we are testing if his method returns a correctly unformatted string for
+     * the given attribute value. In this case we are testing the special character
      * "&lt;" in the form "this\&lt;that".
      * </p>
      * <p>
@@ -1996,8 +1966,8 @@
      * Test method for 'javax.naming.ldap.Rdn.unescapeValue(String)'
      * </p>
      * <p>
-     * Here we are testing if a given attribute value string formated, returns
-     * the unformated value. In this case we are testing the special character
+     * Here we are testing if his method returns a correctly unformatted string for
+     * the given attribute value. In this case we are testing the special character
      * "&gt;" in the form "this\&gt;that".
      * </p>
      * <p>
@@ -2013,8 +1983,8 @@
      * Test method for 'javax.naming.ldap.Rdn.unescapeValue(String)'
      * </p>
      * <p>
-     * Here we are testing if a given attribute value string formated, returns
-     * the unformated value. In this case we are testing the special character
+     * Here we are testing if his method returns a correctly unformatted string for
+     * the given attribute value. In this case we are testing the special character
      * "\" in the form "this\that".
      * </p>
      * <p>
@@ -2033,8 +2003,8 @@
      * Test method for 'javax.naming.ldap.Rdn.unescapeValue(String)'
      * </p>
      * <p>
-     * Here we are testing if a given attribute value string formated, returns
-     * the unformated value. In this case we are testing the special character
+     * Here we are testing if his method returns a correctly unformatted string for
+     * the given attribute value. In this case we are testing the special character
      * "\" in the form "this\4C".
      * </p>
      * <p>
@@ -2050,11 +2020,11 @@
      * Test method for 'javax.naming.ldap.Rdn.unescapeValue(String)'
      * </p>
      * <p>
-     * Here we are testing if a given attribute value string formated, returns
-     * the unformated value. In this case we are testing if send a null.
+     * Here we are testing if his method returns a correctly unformatted string for
+     * the given attribute value. In this case we are testing with null.
      * </p>
      * <p>
-     * The expected result is a null pointer exception.
+     * The expected result is a NullPointerException.
      * </p>
      */
     public void testUnescapeValue008() {
@@ -2071,8 +2041,8 @@
      * Test method for 'javax.naming.ldap.Rdn.unescapeValue(String)'
      * </p>
      * <p>
-     * Here we are testing if a given attribute value string formated, returns
-     * the unformated value. In this case we are testing the special character
+     * Here we are testing if his method returns a correctly unformatted string for
+     * the given attribute value. In this case we are testing the special character
      * "#" in the form "#04".
      * </p>
      * <p>
@@ -2089,8 +2059,8 @@
      * Test method for 'javax.naming.ldap.Rdn.unescapeValue(String)'
      * </p>
      * <p>
-     * Here we are testing if a given attribute value string formated, returns
-     * the unformated value. In this case we are testing the special character
+     * Here we are testing if his method returns a correctly unformatted string for
+     * the given attribute value. In this case we are testing the special character
      * "#" in the form "#GOFJMOII".
      * </p>
      * <p>

Modified: harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/TestInitialLdapContext.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/TestInitialLdapContext.java?view=diff&rev=562262&r1=562261&r2=562262
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/TestInitialLdapContext.java (original)
+++ harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/TestInitialLdapContext.java Thu Aug  2 14:27:53 2007
@@ -44,8 +44,7 @@
      * <p>
      * Test method for 'javax.naming.ldap.InitialLdapContext()'
      * <p>
-     * Here we are testing if this method constructs an initial context using no
-     * environment properties or connection request controls.
+     * Here we are testing the no argument constructor.
      * </p>
      * <p>
      * The expected result is an exception when we try to get the environment
@@ -72,9 +71,7 @@
      * ?>, Control[])'
      * </p>
      * <p>
-     * Here we are testing the method that constructs an initial context using
-     * environment properties and connection request controls, in this case we
-     * use two null arguments.
+     * Here we are testing the constructor with two null arguments.
      * </p>
      * <p>
      * The expected result is an instance of this class.</p<
@@ -93,9 +90,7 @@
      * ?>, Control[])'
      * </p>
      * <p>
-     * Here we are testing the method that constructs an initial context using
-     * environment properties and connection request controls, in this case we
-     * use two not null arguments.
+     * Here we are testing the constructor with two non-null arguments.
      * </p>
      * <p>
      * The expected result is an instance of this class.
@@ -119,10 +114,8 @@
      * ?>, Control[])'
      * </p>
      * <p>
-     * Here we are testing the method that constructs an initial context using
-     * environment properties and connection request controls, in this case we
-     * use two not null arguments, and INITIAL_CONTEXT_FACTORY constant not
-     * reference to a correct class.
+     * Here we are testing the constructor with two non-null arguments, and the
+     * INITIAL_CONTEXT_FACTORY constant set to reference a non-existant class.
      * </p>
      * <p>
      * The expected result is an exception like "NoInitialContextException".
@@ -147,13 +140,11 @@
      * ?>, Control[])'
      * </p>
      * <p>
-     * Here we are testing the method that constructs an initial context using
-     * environment properties and connection request controls, in this case we
-     * use and INITIAL_CONTEXT_FACTORY constant reference to a correct class,
-     * but with no controls.
+     * Here we are testing the constructor with the INITIAL_CONTEXT_FACTORY
+     * constant set to reference a correct class, but with no controls.
      * </p>
      * <p>
-     * The expected result is an exception of the class".
+     * The expected result is an exception.
      * </p>
      */
     public void testInitialLdapContextHashtableOfQQControlArray004()
@@ -174,12 +165,11 @@
      * ?>, Control[])'
      * </p>
      * <p>
-     * Here we are testing the method that constructs an initial context using
-     * environment properties and connection request controls, in this case we
-     * use two not null arguments, and here the hashtable is empty.
+     * Here we are testing the constructor with two non-null arguments. In this
+     * case the hashtable is empty.
      * </p>
      * <p>
-     * The expected result is an instance of the context.
+     * The expected result is a new InitialLdapContext instance.
      * </p>
      */
     public void testInitialLdapContextHashtableOfQQControlArray005()
@@ -200,13 +190,12 @@
      * ?>, Control[])'
      * </p>
      * <p>
-     * Here we are testing the method that constructs an initial context using
-     * environment properties and connection request controls, in this case we
-     * use two not null arguments, and here the hashtable is not empty but with
-     * data unsuitable and the controls is not empty.
+     * Here we are testing the constructor with two non-null arguments, and here
+     * the hashtable is not empty but contains unsuitable data, and the Control
+     * array is not empty.
      * </p>
      * <p>
-     * The expected result is an instance of the context.
+     * The expected result is a new InitialLdapContext instance.
      * </p>
      */
     public void testInitialLdapContextHashtableOfQQControlArray006()
@@ -231,13 +220,11 @@
      * ?>, Control[])'
      * </p>
      * <p>
-     * Here we are testing the method that constructs an initial context using
-     * environment properties and connection request controls, in this case we
-     * use two not null arguments, and here the hashtable is not empty but with
-     * data unsuitable.
+     * Here we are testing the constructor with two non-null arguments, and here
+     * the hashtable is not empty but contains unsuitable data.
      * </p>
      * <p>
-     * The expected result is an instance of the context.
+     * The expected result is a new InitialLdapContext instance.
      * </p>
      */
     public void testInitialLdapContextHashtableOfQQControlArray007()
@@ -259,11 +246,11 @@
      * 'javax.naming.ldap.InitialLdapContext.extendedOperation(ExtendedRequest)'
      * </p>
      * <p>
-     * Here we are testing if this method performs an extended operation. Here
-     * we send a null extended operation.
+     * Here we are testing if this method correctly executes the given
+     * operation. Here we send a null ExtendedRequest.
      * </p>
      * <p>
-     * The expected result is a "NullpointerException".
+     * The expected result is a "NullPointerException".
      * </p>
      */
     public void testExtendedOperation001() throws Exception {
@@ -283,11 +270,11 @@
      * 'javax.naming.ldap.InitialLdapContext.extendedOperation(ExtendedRequest)'
      * </p>
      * <p>
-     * Here we are testing if this method performs an extended operation. Here
-     * we send a not null extended operation.
+     * Here we are testing if this method correctly executes the given
+     * operation. Here we send a non-null ExtendedRequest.
      * </p>
      * <p>
-     * The expected result is an Extended Response.
+     * The expected result is an ExtendedResponse.
      * </p>
      */
     public void testExtendedOperation002() throws Exception {
@@ -305,12 +292,12 @@
      * 'javax.naming.ldap.InitialLdapContext.newInstance(Control[])'
      * </p>
      * <p>
-     * Here we are testing if this method creates a new instance of this context
-     * initialized using request controls. In this case we are using as a
-     * parameters null controls.
+     * Here we are testing if this method correctly creates a new
+     * InitialLdapContext instance. In this case we are using null as a
+     * parameter.
      * </p>
      * <p>
-     * The expected result is a not null initial ladp context.
+     * The expected result is a non-null InitialLdapContext.
      * </p>
      */
     public void testNewInstance001() throws Exception {
@@ -331,12 +318,12 @@
      * 'javax.naming.ldap.InitialLdapContext.newInstance(Control[])'
      * </p>
      * <p>
-     * Here we are testing if this method creates a new instance of this context
-     * initialized using request controls. In this case we are using as a
-     * parameters null controls.
+     * Here we are testing if this method correctly creates a new
+     * InitialLdapContext instance. In this case we are using a non-null
+     * parameter.
      * </p>
      * <p>
-     * The expected result is a not null initial ladp context.
+     * The expected result is a non-null InitialLdapContext.
      * </p>
      */
     public void testNewInstance002() throws Exception {
@@ -360,9 +347,8 @@
      * 'javax.naming.ldap.InitialLdapContext.reconnect(Control[])'
      * </p>
      * <p>
-     * Here we are testing if this method reconnects to the LDAP server using
-     * the supplied controls and this context's environment. In this case we are
-     * sending a set of null controls.
+     * Here we are testing if this method correctly reconnects to the LDAP
+     * server. In this case we are using a null argument.
      * </p>
      * <p>
      * The expected result is a reconection with no controls.
@@ -383,9 +369,8 @@
      * 'javax.naming.ldap.InitialLdapContext.reconnect(Control[])'
      * </p>
      * <p>
-     * Here we are testing if this method reconnects to the LDAP server using
-     * the supplied controls and this context's environment. In this case we are
-     * sending a set not null of controls.
+     * Here we are testing if this method correctly reconnects to the LDAP
+     * server In this case we are using a non-null argument.
      * </p>
      * <p>
      * The expected result is a reconection with the controls sended.
@@ -409,9 +394,9 @@
      * 'javax.naming.ldap.InitialLdapContext.reconnect(Control[])'
      * </p>
      * <p>
-     * Here we are testing if this method reconnects to the LDAP server using
-     * the supplied controls and this context's environment. In this case we are
-     * sending a new set of controls to reconection.
+     * Here we are testing if this method correctly reconnects to the LDAP
+     * server. In this case we are using a different set of controls for the
+     * reconnection.
      * </p>
      * <p>
      * The expected result is a reconection with the new set of controls.
@@ -439,9 +424,8 @@
      * 'javax.naming.ldap.InitialLdapContext.getConnectControls()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the connection request
-     * controls in effect for this context. In this case we use a null array
-     * control.
+     * Here we are testing if this method correctly returns the connection
+     * controls. In this case we are using a null control array.
      * </p>
      * <p>
      * The expected result is the controls that we use to create the context.
@@ -473,9 +457,8 @@
      * 'javax.naming.ldap.InitialLdapContext.getConnectControls()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the connection request
-     * controls in effect for this context. In this case we use a null array
-     * control.
+     * Here we are testing if this method correctly returns the connection
+     * controls. In this case we are using a null control array.
      * </p>
      * <p>
      * The expected result is the controls that we use to create the context.
@@ -496,11 +479,11 @@
      * 'javax.naming.ldap.InitialLdapContext.setRequestControls(Control[])'
      * </p>
      * <p>
-     * Here we are testing if this method sets the request controls for methods
-     * subsequently invoked on this context.
+     * Here we are testing if this method correctly sets the controls for
+     * requests.
      * </p>
      * <p>
-     * The expected result is that the context keep the new request controls.
+     * The expected result is that the context keeps the new request controls.
      * </p>
      */
     public void testSetRequestControls001() throws Exception {
@@ -526,11 +509,11 @@
      * 'javax.naming.ldap.InitialLdapContext.setRequestControls(Control[])'
      * </p>
      * <p>
-     * Here we are testing if this method sets the request controls for methods
-     * subsequently invoked on this context.
+     * Here we are testing if this method correctly sets the controls for
+     * requests.
      * </p>
      * <p>
-     * The expected result is that the context keep the new request controls.
+     * The expected result is that the context keeps the new request controls.
      * </p>
      */
     public void testSetRequestControls002() throws Exception {
@@ -559,8 +542,8 @@
      * 'javax.naming.ldap.InitialLdapContext.getRequestControls()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the request controls in
-     * effect for this context.
+     * Here we are testing if this method correctly returns the request
+     * controls.
      * </p>
      * <p>
      * The expected result is a null set of controls.
@@ -592,8 +575,8 @@
      * 'javax.naming.ldap.InitialLdapContext.getResponseControls()'
      * </p>
      * <p>
-     * Here we are testing if this method retrieves the response controls
-     * produced as a result of the last method invoked on this context.
+     * Here we are testing if this method correctly returns the response
+     * controls.
      * </p>
      * <p>
      * The expected result is a null set of controls.

Modified: harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/TestSortResponseControl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/TestSortResponseControl.java?view=diff&rev=562262&r1=562261&r2=562262
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/TestSortResponseControl.java (original)
+++ harmony/enhanced/classlib/branches/java6/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/ldap/TestSortResponseControl.java Thu Aug  2 14:27:53 2007
@@ -43,7 +43,7 @@
 
 /**        
  * <p>This Test class is testing the SortControl class.</p>
- * <p>In the next tables we are gonna see the methods that we test in this class:</p>
+ * <p>In the next tables we see the methods that we test in this class:</p>
  * <table class="t" cellspacing="0">
 	<tbody><th>Constructors:</th>
 		<tr>
@@ -84,7 +84,7 @@
 
 
 	/**
-	 * <p>This method is not implemted.</p>
+	 * <p>This method is not implemented.</p>
 	 * @param args Possible parameter to help us initiate all tests.
 	 */
 	public static void main(String[] args) {
@@ -100,7 +100,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an exception like NullPointer.</p>
   	 */
 	public void testSortResponseControl001() {
@@ -120,7 +120,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an exception like NullPointer.</p>
   	 */
 	public void testSortResponseControl002() {
@@ -140,7 +140,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an exception like IOException.</p>
   	 */
 	public void testSortResponseControl003() {
@@ -158,7 +158,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an exception like IOException.</p>
   	 */
 	public void testSortResponseControl004() {
@@ -176,7 +176,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an exception like IOException.</p>
   	 */
 	public void testSortResponseControl005() {
@@ -194,7 +194,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an instance of the class.</p>
   	 */
 	public void testSortResponseControl006() {
@@ -212,7 +212,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an exception.</p>
   	 */
 	public void testSortResponseControl007() {
@@ -232,7 +232,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an exception.</p>
   	 */
 	public void testSortResponseControl008() {
@@ -252,7 +252,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an exception.</p>
   	 */
 	public void testSortResponseControl010() {
@@ -270,7 +270,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an exception.</p>
   	 */
 	public void testSortResponseControl011() {
@@ -288,7 +288,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an exception.</p>
   	 */
 	public void testSortResponseControl012() {
@@ -306,7 +306,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an exception.</p>
   	 */
 	public void testSortResponseControl013() {
@@ -323,7 +323,7 @@
 	}
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an instance of the class.</p>
   	 */
 	public void testSortResponseControl014() {
@@ -341,7 +341,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request.</p>
+	 * <p>Here we are testing the constructor.</p>
 	 * <p>The expected result is an instance of the class.</p>
   	 */
 	public void testSortResponseControl015() {
@@ -359,7 +359,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request. With this test
+	 * <p>Here we are testing the constructor. With this test
 	 * we see that the string Id and the criticality does not matter, olny the BER value.</p>
 	 * <p>The expected result is an instance of the class.</p>
   	 */
@@ -378,7 +378,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request. With this test
+	 * <p>Here we are testing the constructor. With this test
 	 * we see that the string Id and the criticality does not matter, olny the BER value.</p>
 	 * <p>The expected result is an exception.</p>
   	 */
@@ -397,7 +397,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.SortResponseControl(String, boolean, byte[])'</p>
-	 * <p>Here we are testing if this method constructs a control to indicate the outcome of a sort request. Notice here that 
+	 * <p>Here we are testing the constructor. Notice here that 
 	 * the ber value is not cloned so any change will affect the control.</p>
 	 * <p>The expected result is that a change in the ber value affect the control.</p>
   	 */
@@ -427,7 +427,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.isSorted()'</p>
-	 * <p>Here we are testing if this method determines if the search results have been successfully sorted.</p>
+	 * <p>Here we are testing if the isSorted method returns the correct answer for sorted results.</p>
 	 * <p>The expected result in this case is true.</p>
 	 */
 	public void testIsSorted001() {
@@ -443,7 +443,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.isSorted()'</p>
-	 * <p>Here we are testing if this method determines if the search results have been successfully sorted.</p>
+	 * <p>Here we are testing if the isSorted method returns the correct answer for unsorted results.</p>
 	 * <p>The expected result in this case is false.</p>
 	 */
 	public void testIsSorted002() {
@@ -460,7 +460,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getResultCode()'</p>
-	 * <p>Here we are testing if this method retrieves the LDAP result code of the sort operation.</p>
+	 * <p>Here we are testing if the correct result code is returned.</p>
 	 * <p>The expected result is zero.</p>
 	 */
 	public void testGetResultCode001() {
@@ -476,7 +476,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getResultCode()'</p>
-	 * <p>Here we are testing if this method retrieves the LDAP result code of the sort operation. Here the sort key does not exist
+	 * <p>Here we are testing if the correct result code is returned. Here the sort key does not exist
 	 * so the error must be no such attribute.</p>
 	 * <p>The expected result is 16.</p>
 	 */
@@ -493,7 +493,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getResultCode()'</p>
-	 * <p>Here we are testing if this method retrieves the LDAP result code of the sort operation. Here the sort key does exist
+	 * <p>Here we are testing if the correct result code is returned. Here the sort key does exist
 	 * but the error must be unwillingToPerform.</p>
 	 * <p>The expected result is 53.</p>
 	 */
@@ -510,7 +510,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getResultCode()'</p>
-	 * <p>Here we are testing if this method retrieves the LDAP result code of the sort operation. Here the sort key does exist
+	 * <p>Here we are testing if the correct result code is returned. Here the sort key does exist
 	 * but the error must be unwillingToPerform.</p>
 	 * <p>The expected result is 100.</p>
 	 */
@@ -527,7 +527,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getAttributeID()'</p>
-	 * <p>Here we are testing if this method retrieves the ID of the attribute that caused the sort to fail.</p>
+	 * <p>Here we are testing if this method gets the correct attribute ID.</p>
 	 * <p>The expected result is in this case is null because no ID was returned by the server.</p>
 	 */
 	public void testGetAttributeID001() {
@@ -543,7 +543,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a not null naming exception.</p> 
 	 */
 	public void testGetException001() {
@@ -565,7 +565,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a not null NoSuchAttributeException.</p>
 	 */
 	public void testGetException002() {
@@ -588,7 +588,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a null exception.</p>
 	 */
 	public void testGetException003() {
@@ -607,7 +607,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a not null naming exception.</p>
 	 */
 	public void testGetException004() {
@@ -630,7 +630,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a not null naming exception.</p>
 	 */
 	public void testGetException005() {
@@ -653,7 +653,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a not null naming exception.</p>
 	 */
 	public void testGetException006() {
@@ -675,7 +675,7 @@
 	}
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a not null naming exception.</p>
 	 */
 	public void testGetException007() {
@@ -698,7 +698,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a not null naming exception.</p>
 	 */
 	public void testGetException008() {
@@ -721,7 +721,7 @@
 
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a not null naming exception.</p>
 	 */
 	public void testGetException009() {
@@ -744,7 +744,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a not null naming exception.</p>
 	 */
 	public void testGetException010() {
@@ -767,7 +767,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a not null naming exception.</p>
 	 */
 	public void testGetException011() {
@@ -790,7 +790,7 @@
 	
 	/**
 	 * <p>Test method for 'javax.naming.ldap.SortResponseControl.getException()'</p>
-	 * <p>Here we are testing if this method retrieves the NamingException appropriate for the result code.</p>
+	 * <p>Here we are testing if this method gets the correct NamingException.</p>
 	 * <p>The expected result is a not null naming exception.</p>
 	 */
 	public void testGetException012() {

Modified: harmony/enhanced/classlib/branches/java6/modules/lang-management/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/lang-management/build.xml?view=diff&rev=562262&r1=562261&r2=562262
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/lang-management/build.xml (original)
+++ harmony/enhanced/classlib/branches/java6/modules/lang-management/build.xml Thu Aug  2 14:27:53 2007
@@ -58,9 +58,8 @@
         <delete file="${hy.jdk}/jre/lib/boot/${hy.lang-management.packaging.jarname}-src.jar" />
         <delete failonerror="false">
             <fileset refid="classes" />
-            <fileset dir="${hy.lang-management.bin.test.api}" />
-            <fileset dir="${hy.lang-management.bin.test.impl}" />
         </delete>
+        <delete failonerror="false" dir="bin"/>
     </target>
 
     <target name="compile-java">

Modified: harmony/enhanced/classlib/branches/java6/modules/logging/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/logging/build.xml?view=diff&rev=562262&r1=562261&r2=562262
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/logging/build.xml (original)
+++ harmony/enhanced/classlib/branches/java6/modules/logging/build.xml Thu Aug  2 14:27:53 2007
@@ -60,8 +60,8 @@
         <delete file="${hy.jdk}/jre/lib/boot/logging-src.jar" />
         <delete failonerror="false">
             <fileset refid="classes" />
-            <fileset dir="${hy.logging.bin.test}" />
         </delete>
+        <delete failonerror="false" dir="bin"/>
     </target>
 
     <target name="compile-java">

Modified: harmony/enhanced/classlib/branches/java6/modules/luni/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/luni/build.xml?view=diff&rev=562262&r1=562261&r2=562262
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/luni/build.xml (original)
+++ harmony/enhanced/classlib/branches/java6/modules/luni/build.xml Thu Aug  2 14:27:53 2007
@@ -203,8 +203,8 @@
         <delete file="${hy.jdk}/jre/lib/boot/luni-src.jar" />
         <delete failonerror="false">
             <fileset refid="classes" />
-            <fileset dir="${hy.luni.bin.test}" />
         </delete>
+        <delete failonerror="false" dir="bin"/>
         <antcall target="clean-native-includes" />
     </target>