java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.hivemind.test.HiveMindTestCase
org.apache.hivemind.util.TestToStringBuilder
- All Implemented Interfaces:
- junit.framework.Test
- public class TestToStringBuilder
- extends org.apache.hivemind.test.HiveMindTestCase
Tests for the ToStringBuilder class.
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class org.apache.hivemind.test.HiveMindTestCase |
addControl, assertExceptionRegexp, assertExceptionSubstring, assertListsEqual, assertListsEqual, assertLoggedMessage, assertLoggedMessage, assertLoggedMessagePattern, assertLoggedMessagePattern, assertLoggedMessages, assertRegexp, buildFrameworkRegistry, buildFrameworkRegistry, buildFrameworkRegistry, buildMinimalRegistry, fabricateLocation, findNestedException, getClassResolver, getControl, getInterceptedLogEvents, getResource, interceptLogging, matches, newControl, newLocation, newMock, replayControls, resetControls, setReturnValue, setReturnValue, setReturnValue, setReturnValue, setReturnValue, setThrowable, unreachable, verifyControls |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
_originalDefaultMode
private int _originalDefaultMode
TestToStringBuilder
public TestToStringBuilder()
tearDown
protected void tearDown()
throws java.lang.Exception
- Description copied from class:
org.apache.hivemind.test.HiveMindTestCase
- Removes the appender that may have been setup by HiveMindTestCase.interceptLogging(String)>
HiveMindTestCase.interceptLogging(String) 55 . Also,
invokes PropertyUtils.clearCache() 55 .
setUp
protected void setUp()
throws java.lang.Exception
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
testNull
public void testNull()
testSimple
public void testSimple()
testWithHashCode
public void testWithHashCode()
testSetDefault
public void testSetDefault()
testAppendString
public void testAppendString()
testAppendNullString
public void testAppendNullString()
testAppendTwo
public void testAppendTwo()
testAppendObject
public void testAppendObject()
testAppendNullObject
public void testAppendNullObject()
testAppendBoolean
public void testAppendBoolean()
testAppendByte
public void testAppendByte()
testAppendShort
public void testAppendShort()
testAppendInt
public void testAppendInt()