Lines Matching refs:getEntry
54 expect(trace.getEntry(0).getFullTrace()).toEqual(trace);
55 expect(trace.sliceEntries(0, 1).getEntry(0).getFullTrace()).toEqual(trace);
59 expect(trace.getEntry(0).getIndex()).toEqual(0);
60 expect(trace.sliceEntries(2, 4).getEntry(0).getIndex()).toEqual(2);
61 expect(trace.sliceEntries(2, 4).getEntry(1).getIndex()).toEqual(3);
65 expect(trace.getEntry(0).getTimestamp()).toEqual(
68 expect(trace.getEntry(1).getTimestamp()).toEqual(
74 expect(trace.getEntry(0).getFramesRange()).toEqual({start: 0, end: 2});
75 expect(trace.getEntry(1).getFramesRange()).toEqual({start: 1, end: 2});
76 expect(trace.getEntry(2).getFramesRange()).toEqual({start: 1, end: 2});
77 expect(trace.getEntry(3).getFramesRange()).toEqual({start: 2, end: 3});
78 expect(trace.getEntry(4).getFramesRange()).toEqual(undefined);
79 expect(trace.getEntry(5).getFramesRange()).toEqual({start: 4, end: 5});
83 expect(await trace.getEntry(0).getValue()).toEqual('entry-0');
84 expect(await trace.getEntry(1).getValue()).toEqual('entry-1');