Lines Matching refs:Enum2
36 import test.codemaker.javamaker.Enum2;
105 assure(Enum2.VALUE0.getValue() == 0); in testEnum2()
106 assure(Enum2.VALUE1.getValue() == 1); in testEnum2()
107 assure(Enum2.VALUE2.getValue() == 2); in testEnum2()
108 assure(Enum2.VALUE4.getValue() == 4); in testEnum2()
109 assure(Enum2.VALUE0_value == 0); in testEnum2()
110 assure(Enum2.VALUE1_value == 1); in testEnum2()
111 assure(Enum2.VALUE2_value == 2); in testEnum2()
112 assure(Enum2.VALUE4_value == 4); in testEnum2()
113 assure(Enum2.getDefault() == Enum2.VALUE0); in testEnum2()
114 assure(Enum2.fromInt(-1) == null); in testEnum2()
115 assure(Enum2.fromInt(0) == Enum2.VALUE0); in testEnum2()
116 assure(Enum2.fromInt(1) == Enum2.VALUE1); in testEnum2()
117 assure(Enum2.fromInt(2) == Enum2.VALUE2); in testEnum2()
118 assure(Enum2.fromInt(3) == null); in testEnum2()
119 assure(Enum2.fromInt(4) == Enum2.VALUE4); in testEnum2()
120 assure(Enum2.fromInt(5) == null); in testEnum2()
148 assure(s.p15 == Enum2.VALUE0); in testEmptyStruct2()
166 assure(s.t15 == Enum2.VALUE0); in testEmptyStruct2()
230 "BCD", Type.UNSIGNED_HYPER, new Integer(22), Enum2.VALUE4, in testFullStruct2()
233 Enum2.VALUE0, new Struct1(), null, null, in testFullStruct2()
237 new String[0], new Type[0], new Object[0], new Enum2[0], in testFullStruct2()
243 new Enum2[0][], new Struct1[0][], new Object[0][], in testFullStruct2()
248 new Enum2[0][], new Struct1[0][], new Object[0][], in testFullStruct2()
264 assure(s.p15 == Enum2.VALUE4); in testFullStruct2()
282 assure(s.t15 == Enum2.VALUE0); in testFullStruct2()
373 0.0f, 0.0, '\u0000', "", Type.VOID, Any.VOID, Enum2.VALUE0, in testS1()
376 Any.VOID, Enum2.VALUE0, new Struct1(), null, null, in testS1()
380 new Object[0], new Enum2[0], new Struct1[0], new Object[0], in testS1()
385 new Enum2[0][], new Struct1[0][], new Object[0][], in testS1()
390 new Enum2[0][], new Struct1[0][], new Object[0][], in testS1()