Lines Matching refs:assertTrue
151 assertTrue(String.class.isAssignableFrom(String.class)); in test_isAssignableFrom()
154 assertTrue(Object.class.isAssignableFrom(Object.class)); in test_isAssignableFrom()
155 assertTrue(Object.class.isAssignableFrom(Class.class)); in test_isAssignableFrom()
156 assertTrue(Object.class.isAssignableFrom(String.class)); in test_isAssignableFrom()
161 assertTrue(CharSequence.class.isAssignableFrom(String.class)); in test_isAssignableFrom()
165 assertTrue(AccessibleObject.class.isAssignableFrom(Method.class)); in test_isAssignableFrom()
169 assertTrue(int[].class.isAssignableFrom(int[].class)); in test_isAssignableFrom()
172 assertTrue(Object.class.isAssignableFrom(int[].class)); in test_isAssignableFrom()
184 assertTrue(String.class.isInstance("hello")); in test_isInstance()
187 assertTrue(Object.class.isInstance(new Object())); in test_isInstance()
188 assertTrue(Object.class.isInstance(Class.class)); in test_isInstance()
189 assertTrue(Object.class.isInstance("hello")); in test_isInstance()
192 assertTrue(CharSequence.class.isInstance("hello")); in test_isInstance()
196 assertTrue(AccessibleObject.class.isInstance(Method.class.getDeclaredMethods()[0])); in test_isInstance()
200 assertTrue(int[].class.isInstance(new int[0])); in test_isInstance()
203 assertTrue(Object.class.isInstance(new int[0])); in test_isInstance()
209 private static void assertTrue(boolean b) { in assertTrue() method in ClassAttrs