/development/tools/winscope/src/viewers/components/ |
D | tree_node_component_test.ts | 74 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();
|
D | select_with_filter_component_test.ts | 76 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(
|
D | tree_component_test.ts | 78 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);
|
D | collapsible_section_title_component_test.ts | 51 const spy = spyOn(component.collapseButtonClicked, 'emit'); constant 57 expect(spy).toHaveBeenCalledTimes(1);
|
D | collapsed_sections_component_test.ts | 82 const spy = spyOn(component.sectionChange, 'emit'); constant 88 expect(spy).toHaveBeenCalledOnceWith(CollapsibleSectionType.HIERARCHY);
|
D | properties_component_test.ts | 166 const spy = spyOn(component.collapseButtonClicked, 'emit'); constant 172 expect(spy).toHaveBeenCalled();
|
D | hierarchy_component_test.ts | 205 const spy = spyOn(component.collapseButtonClicked, 'emit'); constant 211 expect(spy).toHaveBeenCalled();
|
/development/tools/winscope/src/viewers/components/rects/ |
D | rects_component_test.ts | 208 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/ |
D | app_component_test.ts | 190 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 …]
|
D | upload_traces_component_test.ts | 75 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();
|
D | adb_proxy_component_test.ts | 85 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();
|
D | collect_traces_component_test.ts | 221 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/ |
D | utils.ts | 75 spy: jasmine.Spy, 81 spy.and.callThrough().and.callFake(() => {
|
/development/tools/winscope/src/app/components/timeline/expanded-timeline/ |
D | default_timeline_row_component_test.ts | 246 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);
|
D | transition_timeline_component_test.ts | 531 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/ |
D | viewer_protolog_component_test.ts | 171 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/ |
D | mini_timeline_component_test.ts | 120 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/ |
D | viewer_transactions_component_test.ts | 229 const spy = spyOn( constant 234 expect(spy).toHaveBeenCalledWith(1);
|
/development/tools/winscope/src/app/ |
D | mediator_test.ts | 582 spies.forEach((spy) => { 583 spy.calls.reset();
|
/development/tools/winscope/src/app/components/timeline/ |
D | timeline_component_test.ts | 325 const spy = spyOn( constant 333 expect(spy).toHaveBeenCalled();
|