Home | History | Annotate | Download | only in ahat

Lines Matching defs:obj

180     AhatInstance obj = dump.getDumpedAhatInstance("nullString");
181 assertNull(obj);
187 AhatInstance obj = dump.getDumpedAhatInstance("anObject");
188 assertNotNull(obj);
189 assertNull(obj.asString());
316 AhatInstance obj = dump.getDumpedAhatInstance("anObject");
317 assertNull(obj.asBitmap());
323 AhatInstance obj = dump.getDumpedAhatInstance("gcPathArray");
324 assertNull(obj.asBitmap());
330 AhatInstance obj = dump.findClass("Main");
331 assertNull(obj.asBitmap());
337 AhatInstance obj = dump.getDumpedAhatInstance("aPhantomReference");
338 long id = obj.getId();
339 assertEquals(String.format("java.lang.ref.PhantomReference@%08x", id), obj.toString());
345 AhatInstance obj = dump.findClass("Main");
346 assertEquals("class Main", obj.toString());
352 AhatInstance obj = dump.getDumpedAhatInstance("gcPathArray");
353 long id = obj.getId();
359 assertTrue(obj.toString().endsWith(String.format("[4]@%08x", id)));
365 AhatInstance obj = dump.getDumpedAhatInstance("bigArray");
366 long id = obj.getId();
367 assertEquals(String.format("byte[1000000]@%08x", id), obj.toString());
373 AhatInstance obj = dump.getDumpedAhatInstance("anObject");
374 assertFalse(obj.isRoot());
375 assertNull(obj.getRootTypes());
414 AhatInstance obj = dump.getDumpedAhatInstance("anObject");
417 assertTrue(obj.getHardReverseReferences().contains(ref));
418 assertFalse(obj.getHardReverseReferences().contains(weak));
419 assertFalse(obj.getSoftReverseReferences().contains(ref));
420 assertTrue(obj.getSoftReverseReferences().contains(weak));
466 AhatInstance obj = dump.getDumpedAhatInstance("anObject");
467 AhatClassObj cls = obj.getClassObj();