mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
btest/plugin: Test for PublishEventHook()
This commit is contained in:
parent
53236a184a
commit
0bf3417d4c
5 changed files with 142 additions and 0 deletions
9
testing/btest/Baseline/plugins.publish-event-hook/output
Normal file
9
testing/btest/Baseline/plugins.publish-event-hook/output
Normal file
|
@ -0,0 +1,9 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
0.000000 InitPostScript
|
||||
0.000000 MetaHookPre PublishEvent(<cluster backend Broker>, /test/topic, <cluster event App::test_event, 1 argument>)
|
||||
0.000000 HookPublishEvent backend=Broker topic=/test/topic event=App::test_event
|
||||
0.000000 HookPublishEvent /test/topic(App::test_event)
|
||||
0.000000 MetaHookPost PublishEvent(<cluster backend Broker>, /test/topic, <cluster event App::test_event, 1 argument>) -> true
|
||||
0.000000 MetaHookPre PublishEvent(<cluster backend Broker>, /do/not/publish, <cluster event App::test_event, 1 argument>)
|
||||
0.000000 HookPublishEvent backend=Broker topic=/do/not/publish event=App::test_event
|
||||
0.000000 MetaHookPost PublishEvent(<cluster backend Broker>, /do/not/publish, <cluster event App::test_event, 1 argument>) -> false
|
Loading…
Add table
Add a link
Reference in a new issue