Lines Matching refs:Type
32 assertTrue("VOID", new Type("void").getZClass() == void.class); in testZClass()
33 assertTrue("BOOLEAN", new Type("boolean").getZClass() == boolean.class); in testZClass()
34 assertTrue("BYTE", new Type("byte").getZClass() == byte.class); in testZClass()
35 assertTrue("SHORT", new Type("short").getZClass() == short.class); in testZClass()
37 new Type("unsigned short").getZClass() == short.class); in testZClass()
38 assertTrue("LONG", new Type("long").getZClass() == int.class); in testZClass()
40 new Type("unsigned long").getZClass() == int.class); in testZClass()
41 assertTrue("HYPER", new Type("hyper").getZClass() == long.class); in testZClass()
43 new Type("unsigned hyper").getZClass() == long.class); in testZClass()
44 assertTrue("FLOAT", new Type("float").getZClass() == float.class); in testZClass()
45 assertTrue("DOUBLE", new Type("double").getZClass() == double.class); in testZClass()
46 assertTrue("CHAR", new Type("char").getZClass() == char.class); in testZClass()
47 assertTrue("STRING", new Type("string").getZClass() == String.class); in testZClass()
48 assertTrue("TYPE", new Type("type").getZClass() == Type.class); in testZClass()
49 assertTrue("ANY", new Type("any").getZClass() == Object.class); in testZClass()
51 new Type("[]boolean", TypeClass.SEQUENCE).getZClass() in testZClass()
54 new Type("[][]com.sun.star.uno.XComponentContext", in testZClass()
58 new Type("com.sun.star.uno.TypeClass", in testZClass()
61 new Type("com.sun.star.uno.Uik", TypeClass.STRUCT).getZClass() in testZClass()
64 new Type("com.sun.star.uno.Exception", in testZClass()
68 new Type("com.sun.star.uno.RuntimeException", in testZClass()
72 new Type("com.sun.star.uno.DeploymentException", in testZClass()
76 new Type("com.sun.star.uno.XInterface", in testZClass()
79 new Type("com.sun.star.uno.XComponentContext", in testZClass()
83 assertTrue(new Type(boolean.class).getZClass() == boolean.class); in testZClass()
84 assertTrue(new Type(Boolean.class).getZClass() == boolean.class); in testZClass()
85 assertTrue(new Type(boolean[].class).getZClass() == boolean[].class); in testZClass()
86 assertTrue(new Type(Boolean[].class).getZClass() == boolean[].class); in testZClass()
91 Type ifc = new Type(com.sun.star.uno.XInterface.class); in testIsSupertypeOf()
92 Type ctx = new Type(com.sun.star.uno.XComponentContext.class); in testIsSupertypeOf()
93 Type exc = new Type(com.sun.star.uno.RuntimeException.class); in testIsSupertypeOf()
94 assertTrue("LONG :> LONG", Type.LONG.isSupertypeOf(Type.LONG)); in testIsSupertypeOf()
95 assertTrue("not ANY :> XInterface", !Type.ANY.isSupertypeOf(ifc)); in testIsSupertypeOf()
96 assertTrue("ANY :> ANY", Type.ANY.isSupertypeOf(Type.ANY)); in testIsSupertypeOf()
97 assertTrue("not ANY :> LONG", !Type.ANY.isSupertypeOf(Type.LONG)); in testIsSupertypeOf()
98 assertTrue("not XInterface :> ANY", !ifc.isSupertypeOf(Type.ANY)); in testIsSupertypeOf()