Lines Matching refs:Assert
17 import junit.framework.Assert;
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);
36 Assert.assertTrue(test1.compareTo(test2) > 0);
37 Assert.assertTrue(test2.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));
45 Assert.assertFalse(offset.equals(sub));
46 Assert.assertFalse(sub.equals(offset));
48 Assert.assertFalse(test.equals(blah));
53 Assert.fail("didn't get expected npe");
58 Assert.assertFalse(test.equals(null));
61 Assert.assertTrue(test.equals("123456789"));
62 Assert.assertFalse(test.equals(test1));
65 Assert.assertTrue(test.equals("23456789"));
68 Assert.assertTrue(test.equals("3456789"));
71 Assert.assertTrue(test.equals("456789"));
74 Assert.assertTrue(test.equals("78"));
78 Assert.assertEquals(4, strings.length);
80 Assert.assertEquals("this is a path", test.replaceAll("/", " "));
81 Assert.assertEquals("this is a path", test.replace("/", " "));