Class MiscTests
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.ofbiz.base.test.GenericTestCaseBase
-
- org.apache.ofbiz.base.conversion.test.MiscTests
-
- All Implemented Interfaces:
junit.framework.Test
public class MiscTests extends GenericTestCaseBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MiscTests.ConverterLoaderImpl
-
Constructor Summary
Constructors Constructor Description MiscTests(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <S> void
assertPassThru(java.lang.Object wanted, java.lang.Class<S> sourceClass)
static <S> void
assertPassThru(java.lang.Object wanted, java.lang.Class<S> sourceClass, java.lang.Class<? super S> targetClass)
void
testLoadContainedConvertersIgnoresException()
void
testPassthru()
void
testStaticHelperClass()
-
Methods inherited from class org.apache.ofbiz.base.test.GenericTestCaseBase
assertComparison, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsIterable, assertEqualsIterable, assertEqualsIterable, assertEqualsIterable, assertFuture, assertNotEquals, assertNotEquals, assertStaticHelperClass, list, list, map, set, set, set, set, useAllMemory
-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
Method Detail
-
testStaticHelperClass
public void testStaticHelperClass() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testLoadContainedConvertersIgnoresException
public void testLoadContainedConvertersIgnoresException()
-
assertPassThru
public static <S> void assertPassThru(java.lang.Object wanted, java.lang.Class<S> sourceClass) throws java.lang.Exception
- Throws:
java.lang.Exception
-
assertPassThru
public static <S> void assertPassThru(java.lang.Object wanted, java.lang.Class<S> sourceClass, java.lang.Class<? super S> targetClass) throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPassthru
public void testPassthru() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-