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

Quick Search    Search Deep

org.apache.hivemind.util
Class TestInstanceCreationUtils  view TestInstanceCreationUtils download TestInstanceCreationUtils.java

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

public class TestInstanceCreationUtils
extends org.apache.hivemind.test.HiveMindTestCase

Tests for InstanceCreationUtils.

Since:
1.1

Nested Class Summary
static class TestInstanceCreationUtils.Bean
           
 
Nested classes inherited from class org.apache.hivemind.test.HiveMindTestCase
 
Field Summary
 
Fields inherited from class org.apache.hivemind.test.HiveMindTestCase
_appender, _interceptedLoggerName
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestInstanceCreationUtils()
           
 
Method Summary
private  org.apache.hivemind.internal.Module newModule(java.lang.String name, java.lang.Class returnValue)
           
 void testComplex()
           
 void testFailure()
           
 void testSetLocation()
           
 void testSimple()
           
 
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, tearDown, unreachable, verifyControls
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 

Constructor Detail

TestInstanceCreationUtils

public TestInstanceCreationUtils()
Method Detail

newModule

private org.apache.hivemind.internal.Module newModule(java.lang.String name,
                                                      java.lang.Class returnValue)

testSimple

public void testSimple()

testComplex

public void testComplex()

testSetLocation

public void testSetLocation()

testFailure

public void testFailure()