| Home >> All |
| | hivemind.test.* (139) |
Package Samples:
hivemind.test.ant
hivemind.test.config.impl
hivemind.test.config
hivemind.test.impl
hivemind.test.parse
hivemind.test.rules.impl
hivemind.test.rules
hivemind.test.services.impl
hivemind.test.services
hivemind.test
hivemind.test.lib.impl
hivemind.test.lib
Classes:
TestConstructRegistry: Tests for the org.apache.hivemind.ant.ConstructRegistry Ant task. An earlier version of this suite built using the real hivemodule.xml (in src/META-INF) but that caused issues because it was constantly changing, so we use a copy (src/test-data/TestConstructRegistry/master.xml). These tests are *VERY* dependent on JDK version (really, on the version of the XML parser provided with the JDK). Therefore, we skip the tests for JDK 1.3.
TestConversion: Tests for the <conversion> and <map> elements within a module deployment descriptor. TODO: test ConversionDescriptor.setParentMethodName(String) > ConversionDescriptor.setParentMethodName(String) 55 .
TestBuilderFactory: Tests for the standard org.apache.hivemind.service.impl.BuilderFactory service and various implementations of org.apache.hivemind.service.impl.BuilderFacet .
TestDescriptorParser: Tests for parsing a HiveModule descriptor into a org.apache.hivemind.parse.ModuleDescriptor and related objects, using org.apache.hivemind.parse.DescriptorParser .
TestDefaultImplementationBuilder: Tests for org.apache.hivemind.lib.impl.DefaultImplementationBuilderImpl and org.apache.hivemind.lib.impl.PlaceholderFactory .
TestInstanceTranslator: Fill in some gaps in org.apache.hivemind.schema.rules.InstanceTranslator and org.apache.hivemind.schema.rules.ClassTranslator .
TestEventLinker: Tests for the org.apache.hivemind.service.impl.EventLinkerImpl class, used by the org.apache.hivemind.service.impl.BuilderFactory .
SimpleModuleDescriptorProvider: An implementation of the org.apache.hivemind.ModuleDescriptorProvider interface convenient for testing purposes. This provider simply provides ModuleDescriptors registered with it beforehand.
ZapListener: Test listener interface used to exercise org.apache.hivemind.service.impl.BuilderFactory 's ability to register constructed services as listeners.
ZapEventProducer: Service interface used to exercise org.apache.hivemind.service.impl.BuilderFactory 's ability to register constructed services as listeners.
PrivateBean: Used when testing org.apache.hivemind.impl.CreateClassServiceConstructor as a bean which can't be instantiated.
ZapEventConsumer: Yet another service interface used to test event registration by org.apache.hivemind.service.impl.BuilderFactory .
PrivateObject: Used to test failure when creating an object (by org.apache.hivemind.schema.rules.InstanceTranslator .
TruthTeller: Configuration contribution object used when testing org.apache.hivemind.schema.rules.SetPropertyRule .
TestSpringLookupFactory: Tests for the org.apache.hivemind.lib.impl.SpringLookupFactory service implementation factory.
ConstructorAccess: Used to test constructor parameter passing of org.apache.hivemind.service.impl.BuilderFactory .
ConstructorAccessImpl: Used to test constructor parameter passing of org.apache.hivemind.service.impl.BuilderFactory .
SimpleLiar: A service that claims to add two numbers, but always returns a fixed value. This is used to test org.apache.hivemind.service.impl.BuilderSmartPropertyFacet .
BaseSimpleServiceImpl: Used to test overriding of service implementations. Multiplies the arguments instead of adding them, so that we can detect that the implementation has been overriden.
TestHiveMindFindLocation: Tests the method HiveMind.findLocation(Object[]) > HiveMind.findLocation(Object[]) 55 .
Bedrock: Interface used to test hivemind.test.services.impl.FilterLoggingInterceptor , which itself tests the ability to pass parameters to a interceptor factory.
Constructed: Interface used as part of tests of org.apache.hivemind.schema.rules.ServiceTranslator .
DatumHolder: Part of tests for org.apache.hivemind.schema.rules.ConfigurationTranslator .
MappedDatumHolder: Part of tests for org.apache.hivemind.schema.rules.ConfigurationTranslator .
ZapEvent: Event used with the ZapListener listener interface.
| Home | Contact Us | Privacy Policy | Terms of Service |