Lines Matching refs:test
24 String test = "0123456789";
31 Assert.assertTrue(test.equals(test));
32 Assert.assertTrue(test.equals(test1));
33 Assert.assertFalse(test.equals(test2));
35 Assert.assertEquals(test.compareTo(test1), 0);
40 Assert.assertEquals(test.compareTo(sub), 0);
41 Assert.assertEquals(sub.compareTo(test), 0);
42 Assert.assertTrue(test.equals(sub));
43 Assert.assertTrue(sub.equals(test));
48 Assert.assertFalse(test.equals(blah));
52 test.compareTo(null);
58 Assert.assertFalse(test.equals(null));
60 test = test.substring(1);
61 Assert.assertTrue(test.equals("123456789"));
62 Assert.assertFalse(test.equals(test1));
64 test = test.substring(1);
65 Assert.assertTrue(test.equals("23456789"));
67 test = test.substring(1);
68 Assert.assertTrue(test.equals("3456789"));
70 test = test.substring(1);
71 Assert.assertTrue(test.equals("456789"));
73 test = test.substring(3,5);
74 Assert.assertTrue(test.equals("78"));
76 test = "this/is/a/path";
77 String[] strings = test.split("/");
80 Assert.assertEquals("this is a path", test.replaceAll("/", " "));
81 Assert.assertEquals("this is a path", test.replace("/", " "));