Home
last modified time | relevance | path

Searched refs:spy (Results 1 – 20 of 20) sorted by relevance

/development/tools/winscope/src/viewers/components/
Dtree_node_component_test.ts74 const spy = spyOn(component.treeNodeComponent.toggleTreeChange, 'emit'); constant
79 expect(spy).toHaveBeenCalled();
83 const spy = spyOn(component.treeNodeComponent.expandTreeChange, 'emit'); constant
88 expect(spy).toHaveBeenCalled();
97 const spy = spyOn(component.treeNodeComponent.pinNodeChange, 'emit'); constant
102 expect(spy).toHaveBeenCalledWith(component.node);
109 const spy = spyOn(component.treeNodeComponent.rectShowStateChange, 'emit'); constant
114 expect(spy).toHaveBeenCalled();
Dselect_with_filter_component_test.ts76 const spy = spyOn( constant
87 checkSelectValue(spy, ['0']);
95 checkSelectValue(spy, ['0', '2']);
101 checkSelectValue(spy, ['0', '1', '2']);
105 const spy = spyOn( constant
114 checkSelectValue(spy, ['0']);
117 checkSelectValue(spy, []);
191 function checkSelectValue(spy: jasmine.Spy, expected: string[]) {
192 expect(spy).toHaveBeenCalled();
193 expect(assertDefined(spy.calls.mostRecent().args[0]).value).toEqual(
Dtree_component_test.ts78 const spy = spyOn( constant
86 expect(spy).toHaveBeenCalled();
124 const spy = spyOn(treeNode, 'scrollIntoView').and.callThrough(); constant
127 expect(spy).toHaveBeenCalledTimes(1);
131 expect(spy).toHaveBeenCalledTimes(1);
Dcollapsible_section_title_component_test.ts51 const spy = spyOn(component.collapseButtonClicked, 'emit'); constant
57 expect(spy).toHaveBeenCalledTimes(1);
Dcollapsed_sections_component_test.ts82 const spy = spyOn(component.sectionChange, 'emit'); constant
88 expect(spy).toHaveBeenCalledOnceWith(CollapsibleSectionType.HIERARCHY);
Dproperties_component_test.ts166 const spy = spyOn(component.collapseButtonClicked, 'emit'); constant
172 expect(spy).toHaveBeenCalled();
Dhierarchy_component_test.ts205 const spy = spyOn(component.collapseButtonClicked, 'emit'); constant
211 expect(spy).toHaveBeenCalled();
/development/tools/winscope/src/viewers/components/rects/
Drects_component_test.ts208 const spy = spyOn(Canvas.prototype, 'draw').and.callThrough(); constant
212 expect(spy).toHaveBeenCalledTimes(2);
213 const sceneBefore = assertDefined(spy.calls.first().args.at(0));
214 const sceneAfter = assertDefined(spy.calls.mostRecent().args.at(0));
223 const spy = spyOn(Canvas.prototype, 'draw').and.callThrough(); constant
227 expect(spy).toHaveBeenCalledTimes(2);
228 const sceneBefore = assertDefined(spy.calls.first().args.at(0));
229 const sceneAfter = assertDefined(spy.calls.mostRecent().args.at(0));
238 const spy = spyOn(Canvas.prototype, 'draw').and.callThrough(); constant
244 expect(spy).toHaveBeenCalledTimes(3);
[all …]
/development/tools/winscope/src/app/components/
Dapp_component_test.ts190 const spy = spyOn(component, 'downloadTraces'); constant
193 expect(spy).toHaveBeenCalledTimes(1);
196 expect(spy).toHaveBeenCalledTimes(2);
202 const spy = spyOn(component, 'downloadTraces'); constant
206 expect(spy).toHaveBeenCalledTimes(1);
211 expect(spy).toHaveBeenCalledTimes(2);
236 const spy = spyOn(component, 'downloadTraces'); constant
240 expect(spy).not.toHaveBeenCalled();
247 const spy = spyOn(component, 'downloadTraces'); constant
251 expect(spy).toHaveBeenCalled();
[all …]
Dupload_traces_component_test.ts75 const spy = spyOn(component.filesUploaded, 'emit'); constant
82 expect(spy).toHaveBeenCalledWith(Array.from(dataTransfer.files));
103 const spy = spyOn(component, 'onOperationFinished'); constant
110 expect(spy).toHaveBeenCalled();
118 const spy = spyOn(component, 'onOperationFinished'); constant
125 expect(spy).toHaveBeenCalled();
134 const spy = spyOn(component, 'onOperationFinished'); constant
141 expect(spy).toHaveBeenCalled();
149 const spy = spyOn(component.viewTracesButtonClick, 'emit'); constant
155 expect(spy).toHaveBeenCalled();
Dadb_proxy_component_test.ts85 const spy = spyOn(window, 'open'); constant
92 expect(spy).toHaveBeenCalledWith(component.downloadProxyUrl, '_blank');
107 const spy = spyOn(component.addKey, 'emit'); constant
114 expect(spy).not.toHaveBeenCalled();
122 expect(spy).toHaveBeenCalled();
126 const spy = spyOn(component.proxyChange, 'emit'); constant
142 expect(spy).toHaveBeenCalled();
Dcollect_traces_component_test.ts221 const spy = spyOn(connect, 'startTrace'); constant
226 expect(spy).toHaveBeenCalled();
237 const spy = spyOn(connect, 'dumpState'); constant
242 expect(spy).toHaveBeenCalled();
253 const spy = spyOn(connect, 'resetLastDevice'); constant
258 expect(spy).toHaveBeenCalled();
274 const spy = spyOn(connect, 'restart').and.callThrough(); constant
279 expect(spy).toHaveBeenCalled();
308 const spy = spyOn(connect, 'endTrace'); constant
314 expect(spy).toHaveBeenCalled();
/development/tools/winscope/src/test/
Dutils.ts75 spy: jasmine.Spy,
81 spy.and.callThrough().and.callFake(() => {
/development/tools/winscope/src/app/components/timeline/expanded-timeline/
Ddefault_timeline_row_component_test.ts246 const spy = spyOn(component.onScrollEvent, 'emit'); constant
248 expect(spy).toHaveBeenCalled();
257 const spy = spyOn(component.onMouseXRatioUpdate, 'emit'); constant
266 expect(spy).toHaveBeenCalledWith(100 / canvas.offsetWidth);
271 expect(spy).toHaveBeenCalledWith(undefined);
Dtransition_timeline_component_test.ts531 const spy = spyOn(component.onScrollEvent, 'emit'); constant
533 expect(spy).toHaveBeenCalled();
541 const spy = spyOn(component.onMouseXRatioUpdate, 'emit'); constant
550 expect(spy).toHaveBeenCalledWith(100 / canvas.offsetWidth);
555 expect(spy).toHaveBeenCalledWith(undefined);
/development/tools/winscope/src/viewers/viewer_protolog/
Dviewer_protolog_component_test.ts171 const spy = spyOn( constant
176 expect(spy).toHaveBeenCalledWith(150);
195 const spy = spyOn( constant
200 expect(spy).not.toHaveBeenCalled();
/development/tools/winscope/src/app/components/timeline/mini-timeline/
Dmini_timeline_component_test.ts120 const spy = spyOn(assertDefined(miniTimelineComponent.drawer), 'draw'); constant
121 expect(spy).not.toHaveBeenCalled();
125 expect(spy).toHaveBeenCalled();
369 const spy = spyOn(miniTimelineComponent.onToggleBookmark, 'emit'); constant
381 expect(spy).toHaveBeenCalledWith({
393 const spy = spyOn(miniTimelineComponent.onToggleBookmark, 'emit'); constant
405 expect(spy).toHaveBeenCalledWith({
417 const spy = spyOn(miniTimelineComponent.onRemoveAllBookmarks, 'emit'); constant
429 expect(spy).toHaveBeenCalled();
/development/tools/winscope/src/viewers/viewer_transactions/
Dviewer_transactions_component_test.ts229 const spy = spyOn( constant
234 expect(spy).toHaveBeenCalledWith(1);
/development/tools/winscope/src/app/
Dmediator_test.ts582 spies.forEach((spy) => {
583 spy.calls.reset();
/development/tools/winscope/src/app/components/timeline/
Dtimeline_component_test.ts325 const spy = spyOn( constant
333 expect(spy).toHaveBeenCalled();