java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.hivemind.test.HiveMindTestCase
hivemind.test.FrameworkTestCase
hivemind.test.TestContains
- All Implemented Interfaces:
- junit.framework.Test
- public class TestContains
- extends FrameworkTestCase
Tests Registry.contains functionality.
| 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 |
registry
private org.apache.hivemind.Registry registry
TestContains
public TestContains()
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.
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()>PropertyUtils.clearCache() 55 .
testConfiguration
public void testConfiguration()
testConfigurationFailure
public void testConfigurationFailure()
testService
public void testService()
testServiceFailure
public void testServiceFailure()
testUniqueService
public void testUniqueService()
testUniqueServiceFailure
public void testUniqueServiceFailure()