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

Quick Search    Search Deep

hivemind.test.config
Class TestConversion  view TestConversion download TestConversion.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.config.TestConversion
All Implemented Interfaces:
junit.framework.Test

public class TestConversion
extends hivemind.test.FrameworkTestCase

Tests for the <conversion> and <map> elements within a module deployment descriptor. TODO: test ConversionDescriptor.setParentMethodName(String)>ConversionDescriptor.setParentMethodName(String) 55 .


Nested Class Summary
 
Nested classes inherited from class org.apache.hivemind.test.HiveMindTestCase
 
Field Summary
 
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
TestConversion()
           
 
Method Summary
 void testBasics()
           
 void testComplexAttributeName()
           
 void testDuplicateAttribute()
           
 void testExtraAttributeNames()
           
 void testParentMethod()
           
 void testPropertyNameDefaultsToAttributeName()
           
 
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, 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

TestConversion

public TestConversion()
Method Detail

testBasics

public void testBasics()
                throws java.lang.Exception

testParentMethod

public void testParentMethod()
                      throws java.lang.Exception

testPropertyNameDefaultsToAttributeName

public void testPropertyNameDefaultsToAttributeName()
                                             throws java.lang.Exception

testComplexAttributeName

public void testComplexAttributeName()
                              throws java.lang.Exception

testExtraAttributeNames

public void testExtraAttributeNames()
                             throws java.lang.Exception

testDuplicateAttribute

public void testDuplicateAttribute()
                            throws java.lang.Exception