Lines Matching refs:result
364 byte[] result = null;
368 result = string.getBytes("8859_1");
370 assertEquals((byte) i, result[0]);
377 assertTrue(result[0] == '?' || result[0] == 0x1a);
382 result = string.getBytes("UTF8");
385 result.length == length);
388 (i < 0x80 && result[0] == i)
391 && result[0] == (byte) (0xc0 | ((i & 0x7c0) >> 6)) && result[1] == (byte) (0x80 | (i & 0x3f)))
393 && result[0] == (byte) (0xe0 | (i >> 12))
394 && result[1] == (byte) (0x80 | ((i & 0xfc0) >> 6)) && result[2] == (byte) (0x80 | (i & 0x3f))));
400 bytes = new String(result, "UTF8");
414 String result = null;
416 result = new String(bytes, "8859_1");
417 assertEquals("Wrong char length", 1, result.length());
418 assertTrue("Wrong char value", result.charAt(0) == (char) i);
572 assertTrue("Intern returned incorrect result", hw1.intern() == hw2
619 int result = hw1.lastIndexOf("Hello", 2);
620 assertTrue("Found String outside of index: " + result, result == 0);
959 assertFalse("Incorrect result of compare", "qwerty".contentEquals(""));