Package org.apache.fulcrum.factory
Class FactoryServiceTest
- java.lang.Object
-
- org.apache.fulcrum.testcontainer.BaseUnit5Test
-
- org.apache.fulcrum.factory.FactoryServiceTest
-
public class FactoryServiceTest extends org.apache.fulcrum.testcontainer.BaseUnit5Test
Basic tests of the fulcrum factory service- Version:
- $Id$
- Author:
- Eric Pugh, Stephen McConnell
-
-
Constructor Summary
Constructors Constructor Description FactoryServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestGetInstanceString()Class to test for Object getInstance(String)voidtestGetInstanceStringClassLoader()Class to test for Object getInstance(String, ClassLoader)voidtestGetInstanceStringClassLoaderObjectArrayStringArray()Class to test for Object getInstance(String, ClassLoader, Object[], String[])voidtestGetInstanceStringObjectArrayStringArray()Class to test for Object getInstance(String, Object[], String[])voidtestGetSignature()Test get signaturevoidtestIsLoaderSupported()Test if the loader is supported
-
-
-
Constructor Detail
-
FactoryServiceTest
public FactoryServiceTest()
-
-
Method Detail
-
testGetInstanceString
@Test public void testGetInstanceString() throws Exception
Class to test for Object getInstance(String)- Throws:
Exception- if factory fails to generate object
-
testGetInstanceStringClassLoader
@Test public void testGetInstanceStringClassLoader() throws Exception
Class to test for Object getInstance(String, ClassLoader)- Throws:
Exception- Generic exception
-
testGetInstanceStringObjectArrayStringArray
@Test public void testGetInstanceStringObjectArrayStringArray() throws Exception
Class to test for Object getInstance(String, Object[], String[])- Throws:
Exception- Generic exception
-
testGetInstanceStringClassLoaderObjectArrayStringArray
@Test public void testGetInstanceStringClassLoaderObjectArrayStringArray() throws Exception
Class to test for Object getInstance(String, ClassLoader, Object[], String[])- Throws:
Exception- Generic exception
-
testIsLoaderSupported
@Test public void testIsLoaderSupported() throws Exception
Test if the loader is supported- Throws:
Exception- Generic exception
-
testGetSignature
@Test public void testGetSignature() throws Exception
Test get signature- Throws:
Exception- Generic exception
-
-