Javadoc changes
bug 22480, from Pete Gieser git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137612 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
96de49e7ae
commit
b25c0aff6c
|
@ -59,12 +59,13 @@ import junit.framework.Test;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
import junit.textui.TestRunner;
|
import junit.textui.TestRunner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests {@link org.apache.commons.lang.CompareToBuilder}.
|
* Unit tests {@link org.apache.commons.lang.builder.CompareToBuilder}.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:sdowney@panix.com">Steve Downey</a>
|
* @author <a href="mailto:sdowney@panix.com">Steve Downey</a>
|
||||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||||
* @version $Id: CompareToBuilderTest.java,v 1.5 2003/05/21 23:49:14 scolebourne Exp $
|
* @version $Id: CompareToBuilderTest.java,v 1.6 2003/08/16 13:02:14 scolebourne Exp $
|
||||||
*/
|
*/
|
||||||
public class CompareToBuilderTest extends TestCase {
|
public class CompareToBuilderTest extends TestCase {
|
||||||
|
|
||||||
|
|
|
@ -51,9 +51,8 @@
|
||||||
* information on the Apache Software Foundation, please see
|
* information on the Apache Software Foundation, please see
|
||||||
* <http://www.apache.org/>.
|
* <http://www.apache.org/>.
|
||||||
*/
|
*/
|
||||||
// package org.apache.commons.lang.builder
|
|
||||||
|
|
||||||
package org.apache.commons.lang.builder;
|
package org.apache.commons.lang.builder;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
@ -61,11 +60,12 @@ import junit.framework.Test;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
import junit.textui.TestRunner;
|
import junit.textui.TestRunner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests {@link org.apache.commons.lang.ToStringStyle}.
|
* Unit tests {@link org.apache.commons.lang.builder.DefaultToStringStyleTest}.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||||
* @version $Id: DefaultToStringStyleTest.java,v 1.3 2003/05/21 23:49:14 scolebourne Exp $
|
* @version $Id: DefaultToStringStyleTest.java,v 1.4 2003/08/16 13:02:14 scolebourne Exp $
|
||||||
*/
|
*/
|
||||||
public class DefaultToStringStyleTest extends TestCase {
|
public class DefaultToStringStyleTest extends TestCase {
|
||||||
|
|
||||||
|
|
|
@ -57,13 +57,14 @@ import junit.framework.Test;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
import junit.textui.TestRunner;
|
import junit.textui.TestRunner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests {@link org.apache.commons.lang.EqualsBuilder}.
|
* Unit tests {@link org.apache.commons.lang.builder.EqualsBuilder}.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:sdowney@panix.com">Steve Downey</a>
|
* @author <a href="mailto:sdowney@panix.com">Steve Downey</a>
|
||||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||||
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
|
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
|
||||||
* @version $Id: EqualsBuilderTest.java,v 1.5 2003/05/21 23:49:14 scolebourne Exp $
|
* @version $Id: EqualsBuilderTest.java,v 1.6 2003/08/16 13:02:14 scolebourne Exp $
|
||||||
*/
|
*/
|
||||||
public class EqualsBuilderTest extends TestCase {
|
public class EqualsBuilderTest extends TestCase {
|
||||||
|
|
||||||
|
@ -77,7 +78,7 @@ public class EqualsBuilderTest extends TestCase {
|
||||||
|
|
||||||
public static Test suite() {
|
public static Test suite() {
|
||||||
TestSuite suite = new TestSuite(EqualsBuilderTest.class);
|
TestSuite suite = new TestSuite(EqualsBuilderTest.class);
|
||||||
suite.setName("HashCodeBuilder Tests");
|
suite.setName("EqualsBuilder Tests");
|
||||||
return suite;
|
return suite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -276,7 +277,7 @@ public class EqualsBuilderTest extends TestCase {
|
||||||
* Equivalence relationship tests inspired by "Effective Java":
|
* Equivalence relationship tests inspired by "Effective Java":
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>reflection</li>
|
* <li>reflection</li>
|
||||||
* <li>symetry</li>
|
* <li>symmetry</li>
|
||||||
* <li>transitive</li>
|
* <li>transitive</li>
|
||||||
* <li>consistency</li>
|
* <li>consistency</li>
|
||||||
* <li>non-null reference</li>
|
* <li>non-null reference</li>
|
||||||
|
@ -299,7 +300,7 @@ public class EqualsBuilderTest extends TestCase {
|
||||||
assertTrue(EqualsBuilder.reflectionEquals(to, to, testTransients));
|
assertTrue(EqualsBuilder.reflectionEquals(to, to, testTransients));
|
||||||
assertTrue(EqualsBuilder.reflectionEquals(to2, to2, testTransients));
|
assertTrue(EqualsBuilder.reflectionEquals(to2, to2, testTransients));
|
||||||
|
|
||||||
// symetry test
|
// symmetry test
|
||||||
assertTrue(EqualsBuilder.reflectionEquals(to, toBis, testTransients) && EqualsBuilder.reflectionEquals(toBis, to, testTransients));
|
assertTrue(EqualsBuilder.reflectionEquals(to, toBis, testTransients) && EqualsBuilder.reflectionEquals(toBis, to, testTransients));
|
||||||
|
|
||||||
// transitive test
|
// transitive test
|
||||||
|
|
|
@ -59,11 +59,12 @@ import junit.framework.TestSuite;
|
||||||
import junit.textui.TestRunner;
|
import junit.textui.TestRunner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests HashCodeBuilder and EqualsBuilderTest to insure that equal
|
* Tests {@link org.apache.commons.lang.builder.HashCodeBuilder} and
|
||||||
|
* {@link org.apache.commons.lang.builder.EqualsBuilderTest} to insure that equal
|
||||||
* objects must have equal hash codes.
|
* objects must have equal hash codes.
|
||||||
*
|
*
|
||||||
* @author Gary Gregory
|
* @author Gary Gregory
|
||||||
* @version $Id: HashCodeBuilderAndEqualsBuilderTest.java,v 1.2 2003/05/21 23:49:15 scolebourne Exp $
|
* @version $Id: HashCodeBuilderAndEqualsBuilderTest.java,v 1.3 2003/08/16 13:02:14 scolebourne Exp $
|
||||||
*/
|
*/
|
||||||
public class HashCodeBuilderAndEqualsBuilderTest extends TestCase {
|
public class HashCodeBuilderAndEqualsBuilderTest extends TestCase {
|
||||||
|
|
||||||
|
|
|
@ -57,11 +57,12 @@ import junit.framework.Test;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
import junit.textui.TestRunner;
|
import junit.textui.TestRunner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests {@link org.apache.commons.lang.HashCodeBuilder}.
|
* Unit tests {@link org.apache.commons.lang.builder.HashCodeBuilder}.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||||
* @version $Id: HashCodeBuilderTest.java,v 1.4 2003/05/21 23:49:15 scolebourne Exp $
|
* @version $Id: HashCodeBuilderTest.java,v 1.5 2003/08/16 13:02:14 scolebourne Exp $
|
||||||
*/
|
*/
|
||||||
public class HashCodeBuilderTest extends TestCase {
|
public class HashCodeBuilderTest extends TestCase {
|
||||||
|
|
||||||
|
|
|
@ -51,9 +51,8 @@
|
||||||
* information on the Apache Software Foundation, please see
|
* information on the Apache Software Foundation, please see
|
||||||
* <http://www.apache.org/>.
|
* <http://www.apache.org/>.
|
||||||
*/
|
*/
|
||||||
// package org.apache.commons.lang.builder
|
|
||||||
|
|
||||||
package org.apache.commons.lang.builder;
|
package org.apache.commons.lang.builder;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
@ -65,10 +64,10 @@ import junit.textui.TestRunner;
|
||||||
import org.apache.commons.lang.SystemUtils;
|
import org.apache.commons.lang.SystemUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests {@link org.apache.commons.lang.ToStringStyle}.
|
* Unit tests {@link org.apache.commons.lang.builder.MultiLineToStringStyleTest}.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||||
* @version $Id: MultiLineToStringStyleTest.java,v 1.4 2003/07/20 15:49:57 scolebourne Exp $
|
* @version $Id: MultiLineToStringStyleTest.java,v 1.5 2003/08/16 13:02:14 scolebourne Exp $
|
||||||
*/
|
*/
|
||||||
public class MultiLineToStringStyleTest extends TestCase {
|
public class MultiLineToStringStyleTest extends TestCase {
|
||||||
|
|
||||||
|
@ -85,7 +84,7 @@ public class MultiLineToStringStyleTest extends TestCase {
|
||||||
|
|
||||||
public static Test suite() {
|
public static Test suite() {
|
||||||
TestSuite suite = new TestSuite(MultiLineToStringStyleTest.class);
|
TestSuite suite = new TestSuite(MultiLineToStringStyleTest.class);
|
||||||
suite.setName("DefaultToStringStyle Tests");
|
suite.setName("MultiLineToStringStyle Tests");
|
||||||
return suite;
|
return suite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,9 +51,8 @@
|
||||||
* information on the Apache Software Foundation, please see
|
* information on the Apache Software Foundation, please see
|
||||||
* <http://www.apache.org/>.
|
* <http://www.apache.org/>.
|
||||||
*/
|
*/
|
||||||
// package org.apache.commons.lang.builder
|
|
||||||
|
|
||||||
package org.apache.commons.lang.builder;
|
package org.apache.commons.lang.builder;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
@ -61,11 +60,12 @@ import junit.framework.Test;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
import junit.textui.TestRunner;
|
import junit.textui.TestRunner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests {@link org.apache.commons.lang.ToStringStyle}.
|
* Unit tests {@link org.apache.commons.lang.builder.NoFieldNamesToStringStyleTest}.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||||
* @version $Id: NoFieldNamesToStringStyleTest.java,v 1.3 2003/05/21 23:49:14 scolebourne Exp $
|
* @version $Id: NoFieldNamesToStringStyleTest.java,v 1.4 2003/08/16 13:02:14 scolebourne Exp $
|
||||||
*/
|
*/
|
||||||
public class NoFieldNamesToStringStyleTest extends TestCase {
|
public class NoFieldNamesToStringStyleTest extends TestCase {
|
||||||
|
|
||||||
|
|
|
@ -51,9 +51,8 @@
|
||||||
* information on the Apache Software Foundation, please see
|
* information on the Apache Software Foundation, please see
|
||||||
* <http://www.apache.org/>.
|
* <http://www.apache.org/>.
|
||||||
*/
|
*/
|
||||||
// package org.apache.commons.lang.builder
|
|
||||||
|
|
||||||
package org.apache.commons.lang.builder;
|
package org.apache.commons.lang.builder;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
@ -61,11 +60,12 @@ import junit.framework.Test;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
import junit.textui.TestRunner;
|
import junit.textui.TestRunner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests {@link org.apache.commons.lang.ToStringStyle}.
|
* Unit tests {@link org.apache.commons.lang.builder.SimpleToStringStyleTest}.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||||
* @version $Id: SimpleToStringStyleTest.java,v 1.3 2003/05/21 23:49:15 scolebourne Exp $
|
* @version $Id: SimpleToStringStyleTest.java,v 1.4 2003/08/16 13:02:14 scolebourne Exp $
|
||||||
*/
|
*/
|
||||||
public class SimpleToStringStyleTest extends TestCase {
|
public class SimpleToStringStyleTest extends TestCase {
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ public class SimpleToStringStyleTest extends TestCase {
|
||||||
|
|
||||||
public static Test suite() {
|
public static Test suite() {
|
||||||
TestSuite suite = new TestSuite(SimpleToStringStyleTest.class);
|
TestSuite suite = new TestSuite(SimpleToStringStyleTest.class);
|
||||||
suite.setName("DefaultToStringStyle Tests");
|
suite.setName("SimpleToStringStyle Tests");
|
||||||
return suite;
|
return suite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,9 +51,8 @@
|
||||||
* information on the Apache Software Foundation, please see
|
* information on the Apache Software Foundation, please see
|
||||||
* <http://www.apache.org/>.
|
* <http://www.apache.org/>.
|
||||||
*/
|
*/
|
||||||
// package org.apache.commons.lang.builder
|
|
||||||
|
|
||||||
package org.apache.commons.lang.builder;
|
package org.apache.commons.lang.builder;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
@ -61,11 +60,12 @@ import junit.framework.Test;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
import junit.textui.TestRunner;
|
import junit.textui.TestRunner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests {@link org.apache.commons.lang.ToStringStyle}.
|
* Unit tests {@link org.apache.commons.lang.builder.ToStringStyle}.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||||
* @version $Id: StandardToStringStyleTest.java,v 1.4 2003/08/16 12:56:25 scolebourne Exp $
|
* @version $Id: StandardToStringStyleTest.java,v 1.5 2003/08/16 13:02:14 scolebourne Exp $
|
||||||
*/
|
*/
|
||||||
public class StandardToStringStyleTest extends TestCase {
|
public class StandardToStringStyleTest extends TestCase {
|
||||||
|
|
||||||
|
|
|
@ -51,9 +51,8 @@
|
||||||
* information on the Apache Software Foundation, please see
|
* information on the Apache Software Foundation, please see
|
||||||
* <http://www.apache.org/>.
|
* <http://www.apache.org/>.
|
||||||
*/
|
*/
|
||||||
// package org.apache.commons.lang.builder
|
|
||||||
|
|
||||||
package org.apache.commons.lang.builder;
|
package org.apache.commons.lang.builder;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -62,13 +61,14 @@ import junit.framework.Test;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
import junit.textui.TestRunner;
|
import junit.textui.TestRunner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests for {@link org.apache.commons.lang.ToStringBuilder}.
|
* Unit tests for {@link org.apache.commons.lang.builder.ToStringBuilder}.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||||
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
|
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
|
||||||
* @author <a href="mailto:alex@apache.org">Alex Chaffee</a>
|
* @author <a href="mailto:alex@apache.org">Alex Chaffee</a>
|
||||||
* @version $Id: ToStringBuilderTest.java,v 1.8 2003/06/03 20:15:32 ggregory Exp $
|
* @version $Id: ToStringBuilderTest.java,v 1.9 2003/08/16 13:02:14 scolebourne Exp $
|
||||||
*/
|
*/
|
||||||
public class ToStringBuilderTest extends TestCase {
|
public class ToStringBuilderTest extends TestCase {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue