net.sf.twip
Class TwipTest

java.lang.Object
  extended by net.sf.twip.TwipTest

public class TwipTest
extends Object


Nested Class Summary
static class TwipTest.MyEnum
           
static class TwipTest.MyType0
           
static class TwipTest.MyType1
           
static class TwipTest.MyType2
           
static class TwipTest.MyType3
           
static class TwipTest.MyType4
           
static class TwipTest.MyType5
           
 
Field Summary
static TwipTest.MyType0[] autoTwipArrayConstant
           
static List<TwipTest.MyType1> autoTwipListConstant
           
static TwipTest.MyEnum[] ENUMS
           
static Integer[] INTS
           
static Integer[] INTS_NULL_ARRAY
           
static List<Integer> INTS_NULL_LIST
           
static TwipTest.MyType0[] MY_TYPE_0
           
static TwipTest.MyType4[] MY_TYPE_4
           
static TwipTest.MyType5[] MY_TYPE_5
           
static int[] primitiveTypeArrayConstant
           
static Set<String> stringSetConstant
           
static Throwable[] THROWABLES
           
static Object[] wrongTypeArrayConstant
           
static Object wrongTypeConstant
           
static List<Object> wrongTypeListConstant
           
 Integer[] wrongTypeNotStaticArray
           
 
Constructor Summary
TwipTest()
           
 
Method Summary
static TwipTest.MyType2[] autoTwipArrayMethod()
           
static Set<TwipTest.MyType3> autoTwipListMethod()
           
static List<TwipTest.MyEnum> enums()
           
static List<Integer> ints()
           
static List<Integer> intsNotNull()
           
static Integer[] nullArrayMethod()
           
static List<Integer> nullListMethod()
           
static int[] primitiveTypeArrayMethod()
           
static Set<String> stringSetMethod()
           
 void testAnnotatedAutoTwip0(TwipTest.MyType0 t)
           
 void testAnnotatedAutoTwip4(TwipTest.MyType4 t)
           
 void testAnnotatedThrowable(Throwable t)
           
 void testAnnotatedThrowableNotNull(Throwable t)
           
 void testAssert(boolean b)
           
 void testAutoTwip0(TwipTest.MyType0 t)
           
 void testAutoTwip1(TwipTest.MyType1 t)
           
 void testAutoTwip2(TwipTest.MyType2 t)
           
 void testAutoTwip3(TwipTest.MyType3 t)
           
 void testBoolean(Boolean b)
           
 void testBooleanNotNull(Boolean b)
           
 void testBooleanPrimitive(boolean b)
           
 void testByte(Byte b)
           
 void testBytePrimitive(byte b)
           
 void testChar(char c)
           
 void testCharacter(Character c)
           
 void testDouble(Double d)
           
 void testDoublePrimitive(double d)
           
 void testEnum(TwipTest.MyEnum e)
           
 void testEnumAndBoolean(TwipTest.MyEnum e, Boolean b)
           
 void testEnumAndEnumValuesMethod(TwipTest.MyEnum a, TwipTest.MyEnum b)
           
 void testEnumAndNullableBoolean(TwipTest.MyEnum e, Boolean b)
           
 void testEnumNotNull(TwipTest.MyEnum e)
           
 void testEnumValuesArray(TwipTest.MyEnum e)
           
 void testEnumValuesMethod(TwipTest.MyEnum e)
           
 void testFloat(Float f)
           
 void testFloatPrimitive(float f)
           
 void testInt(int i)
           
 void testInteger(Integer i)
           
 void testIntegerValuesArray(Integer i)
           
 void testIntegerValuesMethod(Integer i)
           
 void testIntegerValuesNullArray(Integer i)
           
 void testIntegerValuesNullList(Integer i)
           
 void testInvalidMethodSignature(Object o)
           
 void testInvalidValuesRefNotStaticArray(Integer i)
           
 void testInvalidValuesRefNotStaticMethod(Integer i)
           
 void testInvalidValuesRefPrimitiveTypeArrayConstant(Boolean i)
           
 void testInvalidValuesRefPrimitiveTypeArrayMethod(Boolean i)
           
 void testInvalidValuesRefUnknown(Integer i)
           
 void testInvalidValuesRefWrongTypeArrayConstant(Boolean i)
           
 void testInvalidValuesRefWrongTypeArrayMethod(Boolean i)
           
 void testInvalidValuesRefWrongTypeConstant(Boolean i)
           
 void testInvalidValuesRefWrongTypeListConstant(Boolean i)
           
 void testInvalidValuesRefWrongTypeListMethod(Boolean i)
           
 void testInvalidValuesRefWrongTypeMethod(Boolean i)
           
 void testLong(Long l)
           
 void testLongPrimitive(long l)
           
 void testNullableEnumAndBoolean(TwipTest.MyEnum e, Boolean b)
           
 void testNullableEnumAndNullableBoolean(TwipTest.MyEnum e, Boolean b)
           
 void testNullArrayMethod(Integer i)
           
 void testNullListMethod(Integer i)
           
 void testShort(Short s)
           
 void testShortPrimitive(short s)
           
 void testSimpleAssert()
           
 void testSimpleAssertTrue()
           
 void testSimpleAssume()
           
 void testSimpleFailAssert()
           
 void testSimpleFailAssertTrue()
           
 void testString(String s)
           
 void testStringSetConstant(String s)
           
 void testStringSetMethod(String s)
           
 void testThrowingMethod(Integer i)
           
 void testUnaccessibleMethod(Integer i)
           
 void testUnknownType(Void v)
           
 void testWrongTypeMethod(String x)
           
static Object[] throwingMethod()
           
static Object[] wrongTypeArrayMethod()
           
static List<Object> wrongTypeListMethod()
           
static Object wrongTypeMethod()
           
 Integer[] wrongTypeNotStaticMethod()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

autoTwipArrayConstant

public static final TwipTest.MyType0[] autoTwipArrayConstant

autoTwipListConstant

public static final List<TwipTest.MyType1> autoTwipListConstant

ENUMS

public static final TwipTest.MyEnum[] ENUMS

INTS

public static final Integer[] INTS

INTS_NULL_ARRAY

public static final Integer[] INTS_NULL_ARRAY

INTS_NULL_LIST

public static final List<Integer> INTS_NULL_LIST

MY_TYPE_0

public static final TwipTest.MyType0[] MY_TYPE_0

MY_TYPE_4

public static final TwipTest.MyType4[] MY_TYPE_4

MY_TYPE_5

public static final TwipTest.MyType5[] MY_TYPE_5

primitiveTypeArrayConstant

public static int[] primitiveTypeArrayConstant

stringSetConstant

public static Set<String> stringSetConstant

THROWABLES

public static final Throwable[] THROWABLES

wrongTypeArrayConstant

public static Object[] wrongTypeArrayConstant

wrongTypeConstant

public static Object wrongTypeConstant

wrongTypeListConstant

public static List<Object> wrongTypeListConstant

wrongTypeNotStaticArray

public Integer[] wrongTypeNotStaticArray
Constructor Detail

TwipTest

public TwipTest()
Method Detail

autoTwipArrayMethod

public static TwipTest.MyType2[] autoTwipArrayMethod()

autoTwipListMethod

public static Set<TwipTest.MyType3> autoTwipListMethod()

enums

public static List<TwipTest.MyEnum> enums()

ints

public static List<Integer> ints()

intsNotNull

public static List<Integer> intsNotNull()

nullArrayMethod

public static Integer[] nullArrayMethod()

nullListMethod

public static List<Integer> nullListMethod()

primitiveTypeArrayMethod

public static int[] primitiveTypeArrayMethod()

stringSetMethod

public static Set<String> stringSetMethod()

throwingMethod

public static Object[] throwingMethod()

wrongTypeArrayMethod

public static Object[] wrongTypeArrayMethod()

wrongTypeListMethod

public static List<Object> wrongTypeListMethod()

wrongTypeMethod

public static Object wrongTypeMethod()

testAnnotatedAutoTwip0

public void testAnnotatedAutoTwip0(TwipTest.MyType0 t)

testAnnotatedAutoTwip4

public void testAnnotatedAutoTwip4(TwipTest.MyType4 t)

testAnnotatedThrowable

public void testAnnotatedThrowable(Throwable t)

testAnnotatedThrowableNotNull

public void testAnnotatedThrowableNotNull(Throwable t)

testAssert

public void testAssert(boolean b)
                throws Exception
Throws:
Exception

testAutoTwip0

public void testAutoTwip0(TwipTest.MyType0 t)

testAutoTwip1

public void testAutoTwip1(TwipTest.MyType1 t)

testAutoTwip2

public void testAutoTwip2(TwipTest.MyType2 t)

testAutoTwip3

public void testAutoTwip3(TwipTest.MyType3 t)

testBoolean

public void testBoolean(Boolean b)

testBooleanNotNull

public void testBooleanNotNull(Boolean b)

testBooleanPrimitive

public void testBooleanPrimitive(boolean b)

testByte

public void testByte(Byte b)
              throws Exception
Throws:
Exception

testBytePrimitive

public void testBytePrimitive(byte b)
                       throws Exception
Throws:
Exception

testChar

public void testChar(char c)
              throws Exception
Throws:
Exception

testCharacter

public void testCharacter(Character c)
                   throws Exception
Throws:
Exception

testDouble

public void testDouble(Double d)
                throws Exception
Throws:
Exception

testDoublePrimitive

public void testDoublePrimitive(double d)
                         throws Exception
Throws:
Exception

testEnum

public void testEnum(TwipTest.MyEnum e)

testEnumAndBoolean

public void testEnumAndBoolean(TwipTest.MyEnum e,
                               Boolean b)

testEnumAndEnumValuesMethod

public void testEnumAndEnumValuesMethod(TwipTest.MyEnum a,
                                        TwipTest.MyEnum b)
                                 throws Exception
Throws:
Exception

testEnumAndNullableBoolean

public void testEnumAndNullableBoolean(TwipTest.MyEnum e,
                                       Boolean b)

testEnumNotNull

public void testEnumNotNull(TwipTest.MyEnum e)

testEnumValuesArray

public void testEnumValuesArray(TwipTest.MyEnum e)
                         throws Exception
Throws:
Exception

testEnumValuesMethod

public void testEnumValuesMethod(TwipTest.MyEnum e)
                          throws Exception
Throws:
Exception

testFloat

public void testFloat(Float f)
               throws Exception
Throws:
Exception

testFloatPrimitive

public void testFloatPrimitive(float f)
                        throws Exception
Throws:
Exception

testInt

public void testInt(int i)
             throws Exception
Throws:
Exception

testInteger

public void testInteger(Integer i)
                 throws Exception
Throws:
Exception

testIntegerValuesArray

public void testIntegerValuesArray(Integer i)
                            throws Exception
Throws:
Exception

testIntegerValuesMethod

public void testIntegerValuesMethod(Integer i)
                             throws Exception
Throws:
Exception

testIntegerValuesNullArray

public void testIntegerValuesNullArray(Integer i)
                                throws Exception
Throws:
Exception

testIntegerValuesNullList

public void testIntegerValuesNullList(Integer i)
                               throws Exception
Throws:
Exception

testInvalidMethodSignature

public void testInvalidMethodSignature(Object o)

testInvalidValuesRefNotStaticArray

public void testInvalidValuesRefNotStaticArray(Integer i)

testInvalidValuesRefNotStaticMethod

public void testInvalidValuesRefNotStaticMethod(Integer i)

testInvalidValuesRefPrimitiveTypeArrayConstant

public void testInvalidValuesRefPrimitiveTypeArrayConstant(Boolean i)

testInvalidValuesRefPrimitiveTypeArrayMethod

public void testInvalidValuesRefPrimitiveTypeArrayMethod(Boolean i)

testInvalidValuesRefUnknown

public void testInvalidValuesRefUnknown(Integer i)

testInvalidValuesRefWrongTypeArrayConstant

public void testInvalidValuesRefWrongTypeArrayConstant(Boolean i)

testInvalidValuesRefWrongTypeArrayMethod

public void testInvalidValuesRefWrongTypeArrayMethod(Boolean i)

testInvalidValuesRefWrongTypeConstant

public void testInvalidValuesRefWrongTypeConstant(Boolean i)

testInvalidValuesRefWrongTypeListConstant

public void testInvalidValuesRefWrongTypeListConstant(Boolean i)

testInvalidValuesRefWrongTypeListMethod

public void testInvalidValuesRefWrongTypeListMethod(Boolean i)

testInvalidValuesRefWrongTypeMethod

public void testInvalidValuesRefWrongTypeMethod(Boolean i)

testLong

public void testLong(Long l)
              throws Exception
Throws:
Exception

testLongPrimitive

public void testLongPrimitive(long l)
                       throws Exception
Throws:
Exception

testNullableEnumAndBoolean

public void testNullableEnumAndBoolean(TwipTest.MyEnum e,
                                       Boolean b)

testNullableEnumAndNullableBoolean

public void testNullableEnumAndNullableBoolean(TwipTest.MyEnum e,
                                               Boolean b)

testNullArrayMethod

public void testNullArrayMethod(Integer i)
                         throws Exception
Throws:
Exception

testNullListMethod

public void testNullListMethod(Integer i)
                        throws Exception
Throws:
Exception

testShort

public void testShort(Short s)
               throws Exception
Throws:
Exception

testShortPrimitive

public void testShortPrimitive(short s)
                        throws Exception
Throws:
Exception

testSimpleAssert

public void testSimpleAssert()

testSimpleAssertTrue

public void testSimpleAssertTrue()

testSimpleAssume

public void testSimpleAssume()

testSimpleFailAssert

public void testSimpleFailAssert()

testSimpleFailAssertTrue

public void testSimpleFailAssertTrue()

testString

public void testString(String s)
                throws Exception
Throws:
Exception

testStringSetConstant

public void testStringSetConstant(String s)

testStringSetMethod

public void testStringSetMethod(String s)

testThrowingMethod

public void testThrowingMethod(Integer i)

testUnaccessibleMethod

public void testUnaccessibleMethod(Integer i)

testUnknownType

public void testUnknownType(Void v)

wrongTypeNotStaticMethod

public Integer[] wrongTypeNotStaticMethod()

testWrongTypeMethod

public void testWrongTypeMethod(String x)


Copyright © 2011. All Rights Reserved.