Lines Matching refs:timeline

94     var timeline = new FakeTimeline();
96 controller.timeline = timeline;
98 timeline.selection = new tracing.Selection();
100 assertArrayShallowEquals([], timeline.selection);
102 assertArrayShallowEquals([], timeline.selection);
106 var timeline = new FakeTimeline();
108 controller.timeline = timeline;
110 timeline.addAllObjectsMatchingFilterToSelectionReturnValue = [1];
114 assertArrayShallowEquals([1], timeline.selection);
116 assertArrayShallowEquals([1], timeline.selection);
118 assertArrayShallowEquals([1], timeline.selection);
122 var timeline = new FakeTimeline();
124 controller.timeline = timeline;
126 timeline.addAllObjectsMatchingFilterToSelectionReturnValue = [1, 2, 3];
131 assertArrayShallowEquals([1], timeline.selection);
133 assertArrayShallowEquals([2], timeline.selection);
135 assertArrayShallowEquals([3], timeline.selection);
137 assertArrayShallowEquals([1], timeline.selection);
139 assertArrayShallowEquals([3], timeline.selection);
141 assertArrayShallowEquals([2], timeline.selection);
145 var timeline = new FakeTimeline();
147 controller.timeline = timeline;
149 timeline.addAllObjectsMatchingFilterToSelectionReturnValue = [1, 2, 3];
154 timeline.addAllObjectsMatchingFilterToSelectionReturnValue = [4];
157 assertArrayShallowEquals([4], timeline.selection);
161 var timeline = new FakeTimeline();
163 controller.timeline = timeline;
165 timeline.addAllObjectsMatchingFilterToSelectionReturnValue = [1, 2, 3];
167 assertArrayShallowEquals([1, 2, 3], timeline.selection);
169 assertArrayShallowEquals([1], timeline.selection);
171 assertArrayShallowEquals([2], timeline.selection);
181 var timeline = new tracing.TimelineTrackView();
182 timeline.model = model;
185 controller.timeline = timeline;
193 assertEquals(1, timeline.selection.length);
194 assertEquals(t1.sliceGroup.slices[0], timeline.selection[0].slice);
198 assertEquals(0, timeline.selection.length);
200 assertEquals(0, timeline.selection.length);