crash.software
Projects
Pull Requests
Issues
Builds
grype
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
grype
Files
🤬
Sign In
d74e8538
ROOT
/
cmd
/
event_loop_test.go
Search
History
457 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_
:
ui.UI
uiMock
t
:
*testing.T
finalEvent
:
partybus.Event
unsubscribe
:
func() error
mock.Mock
Test_eventLoop_gracefulExit
(t *testing.T)
Test_eventLoop_workerError
(t *testing.T)
Test_eventLoop_unsubscribeError
(t *testing.T)
Test_eventLoop_handlerError
(t *testing.T)
Test_eventLoop_signalsStopExecution
(t *testing.T)
Test_eventLoop_uiTeardownError
(t *testing.T)
testWithTimeout
(t *testing.T, timeout time.Duration, test func(*testing.T))
*uiMock
Setup
(unsubscribe func() error)
:
error
Handle
(event partybus.Event)
:
error
Teardown
(_ bool)
:
error
All occurrences
Please wait...
Page is in error, reload to recover