Lines Matching refs:getType
121 assertEquals("string", multi.getType(0));
122 assertEquals("string", multi.getType(1));
123 assertEquals("int", multi.getType(2));
124 assertEquals("string", multi.getType(3));
125 assertEquals("string", multi.getType(4));
128 assertEquals(null, multi.getType(-1));
129 assertEquals(null, multi.getType(5));
175 assertEquals("string", multi.getType("http://some.uri", "foo"));
176 assertEquals("string", multi.getType("http://some.uri", "bar"));
177 assertEquals("int", multi.getType("http://some.other.uri", "answer"));
180 assertEquals(null, multi.getType("john", "doe"));
183 assertEquals(null, multi.getType("http://some.uri", null));
184 assertEquals(null, multi.getType(null, "foo"));
189 assertEquals("string", multi.getType("ns1:foo"));
190 assertEquals("string", multi.getType("ns1:bar"));
191 assertEquals("int", multi.getType("ns2:answer"));
192 assertEquals("string", multi.getType("gabba:hey"));
195 assertEquals(null, multi.getType("john:doe"));
198 assertEquals(null, multi.getType(null));
251 assertEquals(multi.getType(i), attrs.getType(i));
273 assertEquals("boolean", multi.getType(5));
283 assertEquals("boolean", multi.getType(6));
291 assertEquals(null, multi.getType(7));
302 assertEquals("boolean", multi.getType(0));
310 assertEquals(null, multi.getType(1));
337 assertEquals("string", multi.getType(0));
434 assertEquals("float", multi.getType(0));
438 assertEquals(null, multi.getType(1));