detached e98349c

chore: regenerate mocks to add PrewarmAsync to MockWebViewPool

commit
e98349c9ea4237cacfcb7ce0632c2407c8ef9635
author
brice · · 2026-03-18 05:19 UTC
parent
ad1fde7
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
1 file · +46 -0
M internal/application/port/mocks/mocks.go +46 -0
@@ -12745,6 +12745,52 @@ func (_c *MockWebViewPool_Prewarm_Call) RunAndReturn(run func(count int)) *MockW
1274512745 return _c
1274612746 }
1274712747
12748+// PrewarmAsync provides a mock function for the type MockWebViewPool
12749+func (_mock *MockWebViewPool) PrewarmAsync(ctx context.Context, count int) {
12750+ _mock.Called(ctx, count)
12751+ return
12752+}
12753+
12754+// MockWebViewPool_PrewarmAsync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrewarmAsync'
12755+type MockWebViewPool_PrewarmAsync_Call struct {
12756+ *mock.Call
12757+}
12758+
12759+// PrewarmAsync is a helper method to define mock.On call
12760+// - ctx context.Context
12761+// - count int
12762+func (_e *MockWebViewPool_Expecter) PrewarmAsync(ctx interface{}, count interface{}) *MockWebViewPool_PrewarmAsync_Call {
12763+ return &MockWebViewPool_PrewarmAsync_Call{Call: _e.mock.On("PrewarmAsync", ctx, count)}
12764+}
12765+
12766+func (_c *MockWebViewPool_PrewarmAsync_Call) Run(run func(ctx context.Context, count int)) *MockWebViewPool_PrewarmAsync_Call {
12767+ _c.Call.Run(func(args mock.Arguments) {
12768+ var arg0 context.Context
12769+ if args[0] != nil {
12770+ arg0 = args[0].(context.Context)
12771+ }
12772+ var arg1 int
12773+ if args[1] != nil {
12774+ arg1 = args[1].(int)
12775+ }
12776+ run(
12777+ arg0,
12778+ arg1,
12779+ )
12780+ })
12781+ return _c
12782+}
12783+
12784+func (_c *MockWebViewPool_PrewarmAsync_Call) Return() *MockWebViewPool_PrewarmAsync_Call {
12785+ _c.Call.Return()
12786+ return _c
12787+}
12788+
12789+func (_c *MockWebViewPool_PrewarmAsync_Call) RunAndReturn(run func(ctx context.Context, count int)) *MockWebViewPool_PrewarmAsync_Call {
12790+ _c.Run(run)
12791+ return _c
12792+}
12793+
1274812794 // Release provides a mock function for the type MockWebViewPool
1274912795 func (_mock *MockWebViewPool) Release(wv port.WebView) {
1275012796 _mock.Called(wv)
@@ -12745,6 +12745,52 @@ func (_c *MockWebViewPool_Prewarm_Call) RunAndReturn(run func(count int)) *MockW
12745 return _c12745 return _c
12746 }12746 }
12747 12747
12748+// PrewarmAsync provides a mock function for the type MockWebViewPool
12749+func (_mock *MockWebViewPool) PrewarmAsync(ctx context.Context, count int) {
12750+ _mock.Called(ctx, count)
12751+ return
12752+}
12753+
12754+// MockWebViewPool_PrewarmAsync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrewarmAsync'
12755+type MockWebViewPool_PrewarmAsync_Call struct {
12756+ *mock.Call
12757+}
12758+
12759+// PrewarmAsync is a helper method to define mock.On call
12760+// - ctx context.Context
12761+// - count int
12762+func (_e *MockWebViewPool_Expecter) PrewarmAsync(ctx interface{}, count interface{}) *MockWebViewPool_PrewarmAsync_Call {
12763+ return &MockWebViewPool_PrewarmAsync_Call{Call: _e.mock.On("PrewarmAsync", ctx, count)}
12764+}
12765+
12766+func (_c *MockWebViewPool_PrewarmAsync_Call) Run(run func(ctx context.Context, count int)) *MockWebViewPool_PrewarmAsync_Call {
12767+ _c.Call.Run(func(args mock.Arguments) {
12768+ var arg0 context.Context
12769+ if args[0] != nil {
12770+ arg0 = args[0].(context.Context)
12771+ }
12772+ var arg1 int
12773+ if args[1] != nil {
12774+ arg1 = args[1].(int)
12775+ }
12776+ run(
12777+ arg0,
12778+ arg1,
12779+ )
12780+ })
12781+ return _c
12782+}
12783+
12784+func (_c *MockWebViewPool_PrewarmAsync_Call) Return() *MockWebViewPool_PrewarmAsync_Call {
12785+ _c.Call.Return()
12786+ return _c
12787+}
12788+
12789+func (_c *MockWebViewPool_PrewarmAsync_Call) RunAndReturn(run func(ctx context.Context, count int)) *MockWebViewPool_PrewarmAsync_Call {
12790+ _c.Run(run)
12791+ return _c
12792+}
12793+
12748 // Release provides a mock function for the type MockWebViewPool12794 // Release provides a mock function for the type MockWebViewPool
12749 func (_mock *MockWebViewPool) Release(wv port.WebView) {12795 func (_mock *MockWebViewPool) Release(wv port.WebView) {
12750 _mock.Called(wv)12796 _mock.Called(wv)

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close