Home | History | Annotate | Download | only in src

Lines Matching refs:test

20  * Test some instanceof stuff.
36 Object test;
38 test = x;
39 System.out.println("x instanceof X (true): " + (test instanceof X));
40 System.out.println("x instanceof Y (false): " + (test instanceof Y));
41 test = y;
42 System.out.println("y instanceof X (true): " + (test instanceof X));
43 System.out.println("y instanceof Y (true): " + (test instanceof Y));
45 test = xar;
47 + (test instanceof Object));
49 + (test instanceof X));
51 + (test instanceof X[]));
53 + (test instanceof Y[]));
55 + (test instanceof Object[]));
57 + (test instanceof X[][]));
58 test = yar;
60 + (test instanceof X[]));
62 test = xararar;
64 + (test instanceof Object));
66 + (test instanceof Object[]));
68 + (test instanceof X));
70 + (test instanceof X[]));
72 + (test instanceof X[][]));
74 + (test instanceof X[][][]));
76 + (test instanceof Object[][][]));
79 + (test instanceof Serializable));
81 + (test instanceof Serializable[]));
83 + (test instanceof Serializable[][]));
85 + (test instanceof Serializable[][][]));
87 test = yararar;
89 + (test instanceof X[][][]));
91 test = iar;
93 + (test instanceof Object));
95 + (test instanceof Object[]));
97 test = iarar;
99 + (test instanceof Object));
101 + (test instanceof Object[]));
103 + (test instanceof Object[][]));