Lines Matching refs:InstanceUtils
31 assertEquals("hello, world", InstanceUtils.asString(str)); in asStringBasic()
38 assertEquals("char thing", InstanceUtils.asString(str)); in asStringCharArray()
45 assertEquals("hello", InstanceUtils.asString(str, 5)); in asStringTruncated()
52 assertEquals("char ", InstanceUtils.asString(str, 5)); in asStringCharArrayTruncated()
59 assertEquals("hello, world", InstanceUtils.asString(str, 12)); in asStringExactMax()
66 assertEquals("char thing", InstanceUtils.asString(str, 10)); in asStringCharArrayExactMax()
73 assertEquals("hello, world", InstanceUtils.asString(str, 50)); in asStringNotTruncated()
80 assertEquals("char thing", InstanceUtils.asString(str, 50)); in asStringCharArrayNotTruncated()
87 assertEquals("hello, world", InstanceUtils.asString(str, -3)); in asStringNegativeMax()
94 assertEquals("char thing", InstanceUtils.asString(str, -3)); in asStringCharArrayNegativeMax()
101 assertNull(InstanceUtils.asString(obj)); in asStringNull()
109 assertNull(InstanceUtils.asString(obj)); in asStringNotString()
122 assertEquals(referent, InstanceUtils.getReferent(pref)); in basicReference()
123 assertEquals(referent, InstanceUtils.getReferent(wref)); in basicReference()
124 assertNull(InstanceUtils.getReferent(referent)); in basicReference()