Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

hivemind.test
Class TestContains  view TestContains download TestContains.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.hivemind.test.HiveMindTestCase
              extended byhivemind.test.FrameworkTestCase
                  extended byhivemind.test.TestContains
All Implemented Interfaces:
junit.framework.Test

public class TestContains
extends FrameworkTestCase

Tests Registry.contains functionality.


Nested Class Summary
 
Nested classes inherited from class org.apache.hivemind.test.HiveMindTestCase
 
Field Summary
private  org.apache.hivemind.Registry registry
           
 
Fields inherited from class hivemind.test.FrameworkTestCase
_resolver
 
Fields inherited from class org.apache.hivemind.test.HiveMindTestCase
_appender, _interceptedLoggerName
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestContains()
           
 
Method Summary
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Removes the appender that may have been setup by HiveMindTestCase.interceptLogging(String)>HiveMindTestCase.interceptLogging(String) 55 .
 void testConfiguration()
           
 void testConfigurationFailure()
           
 void testService()
           
 void testServiceFailure()
           
 void testUniqueService()
           
 void testUniqueServiceFailure()
           
 
Methods inherited from class hivemind.test.FrameworkTestCase
createConfigurationPointDescriptor, createDependencyDescriptor, createModuleDescriptor, createServicePointDescriptor, getFrameworkPath, interceptLogging, parse
 
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.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

registry

private org.apache.hivemind.Registry registry
Constructor Detail

TestContains

public TestContains()
Method Detail

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()