|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.co.jemos.podam.test.unit.PodamMockerUnitTest
public class PodamMockerUnitTest
Unit test for simple App.
Constructor Summary | |
---|---|
PodamMockerUnitTest()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PodamMockerUnitTest()
Method Detail |
---|
public void testMockerForClassWithoutDefaultConstructor()
public void testMockerForAbstractClass()
public void testMockerForInterface()
public void testMockerForPrimitiveType()
public void testMockerForPojoWithPrivateNoArgConstructor()
public void testOneDimensionalTestPojo()
public void testRecursiveHierarchyPojo()
public void testImmutableNoHierarchicalAnnotatedPojo()
public void testImmutableNonAnnotatedPojo()
public void testImmutablePojoWithSelfReferencesInConstructor()
public void testPodamExcludeAnnotation()
public void testIntegerValueAnnotation()
public void testLongPojoWithRangeValues()
public void testInheritance()
public void testCollectionsPojo()
public void testPojoWithNoSettersAndCollectionInConstructor()
public void testByteValueAnnotation()
public void testShortValueAnnotation()
public void testCharacterValueAnnotation()
public void testFloatValueAnnotation()
public void testDoubleValueAnnotation()
public void testStringValueAnnotation()
public void testCollectionAnnotation()
public void testImmutablePojoWithNonGenericCollections()
public void testImmutablePojoWithGenerifiedCollectionsInConstructor()
public void testSingletonWithParametersInPublicStaticMethod()
private void checkCalendarIsValid(Calendar calendarField)
If the calendar returns a valid date then it's a valid instance
calendarField
- The calendar instance to checkprivate void validateReturnedList(List<String> list)
list
- The list to verifyprivate void validateReturnedSet(Set<String> set)
set
- The set to verifyprivate void validateHashMap(Map<String,OneDimensionalTestPojo> map)
HashMap
returned by Podam
map
- the map to be validatedprivate void validateConcurrentHashMap(ConcurrentMap<String,OneDimensionalTestPojo> map)
map
- private void validateMapElement(Map<String,OneDimensionalTestPojo> map, Set<String> keySet)
map
- The Map to validatekeySet
- The Set of keys in the map
|
Jemos 2002 - 2011: All Rights Reserved. Podam runs under the MIT license | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |