Lines Matching refs:compareTo
36 Assert.assertEquals(test.compareTo(test1), 0); in main()
37 Assert.assertTrue(test1.compareTo(test2) > 0); in main()
38 Assert.assertTrue(test2.compareTo(test1) < 0); in main()
40 Assert.assertEquals("".compareTo(""), 0); in main()
41 Assert.assertTrue(test.compareTo("") > 0); in main()
42 Assert.assertTrue("".compareTo(test) < 0); in main()
45 Assert.assertEquals(test.compareTo(sub), 0); in main()
46 Assert.assertEquals(sub.compareTo(test), 0); in main()
57 test.compareTo(null); in main()
326 int result = $noinline$compareTo(lhs, rhs); in testCompareToAndEquals()
398 $noinline$compareTo("", null); in testCompareToAndEquals()
403 $noinline$compareTo(null, ""); in testCompareToAndEquals()
875 public static int $noinline$compareTo(String lhs, String rhs) { in $noinline$compareTo()
876 return lhs.compareTo(rhs); in $noinline$compareTo()