Lines Matching refs:assertTrue
155 assertTrue(String.class.isAssignableFrom(String.class)); in test_isAssignableFrom()
158 assertTrue(Object.class.isAssignableFrom(Object.class)); in test_isAssignableFrom()
159 assertTrue(Object.class.isAssignableFrom(Class.class)); in test_isAssignableFrom()
160 assertTrue(Object.class.isAssignableFrom(String.class)); in test_isAssignableFrom()
165 assertTrue(CharSequence.class.isAssignableFrom(String.class)); in test_isAssignableFrom()
169 assertTrue(AccessibleObject.class.isAssignableFrom(Method.class)); in test_isAssignableFrom()
173 assertTrue(int[].class.isAssignableFrom(int[].class)); in test_isAssignableFrom()
176 assertTrue(Object.class.isAssignableFrom(int[].class)); in test_isAssignableFrom()
188 assertTrue(String.class.isInstance("hello")); in test_isInstance()
191 assertTrue(Object.class.isInstance(new Object())); in test_isInstance()
192 assertTrue(Object.class.isInstance(Class.class)); in test_isInstance()
193 assertTrue(Object.class.isInstance("hello")); in test_isInstance()
196 assertTrue(CharSequence.class.isInstance("hello")); in test_isInstance()
200 assertTrue(AccessibleObject.class.isInstance(Method.class.getDeclaredMethods()[0])); in test_isInstance()
204 assertTrue(int[].class.isInstance(new int[0])); in test_isInstance()
207 assertTrue(Object.class.isInstance(new int[0])); in test_isInstance()
213 private static void assertTrue(boolean b) { in assertTrue() method in ClassAttrs