Asper Header  1.0.14
The header injector extension
Loading...
Searching...
No Matches
MockWebviewPanel Class Reference

Mock implementation of VS Code webview panel for testing. More...

Collaboration diagram for MockWebviewPanel:
Collaboration graph

Public Member Functions

 constructor (public viewType:string, public title:string, public showOptions:vscode.ViewColumn, public options:vscode.WebviewPanelOptions &vscode.WebviewOptions)
 Constructs a new mock webview panel with specified configuration.
 
 constructor (public viewType:string, public title:string, public showOptions:vscode.ViewColumn, public options:vscode.WebviewPanelOptions &vscode.WebviewOptions)
 Constructs a new mock webview panel with specified configuration.
 

Data Fields

webview : MockWebview
 

Detailed Description

Mock implementation of VS Code webview panel for testing.

Definition at line 92 of file randomLogo.test.ts.

Member Function Documentation

◆ constructor() [1/2]

MockWebviewPanel::constructor ( public viewType:string,
public title:string,
public showOptions:vscode. ViewColumn,
public options:vscode.WebviewPanelOptions &vscode. WebviewOptions )
inline

Constructs a new mock webview panel with specified configuration.

Parameters
viewTypeThe type identifier for the webview panel
titleThe display title of the webview panel
showOptionsThe column where the panel should be shown
optionsConfiguration options for the webview panel

Definition at line 102 of file randomLogo.test.ts.

◆ constructor() [2/2]

MockWebviewPanel::constructor ( public viewType:string,
public title:string,
public showOptions:vscode. ViewColumn,
public options:vscode.WebviewPanelOptions &vscode. WebviewOptions )
inline

Constructs a new mock webview panel with specified configuration.

Parameters
viewTypeThe type identifier for the webview panel
titleThe display title of the webview panel
showOptionsThe column where the panel should be shown
optionsConfiguration options for the webview panel

Definition at line 114 of file watermark.test.ts.

Field Documentation

◆ __pad0__

webview MockWebviewPanel::__pad0__

Definition at line 93 of file randomLogo.test.ts.


The documentation for this class was generated from the following files: