zeek/testing/btest/doc/broxygen/func-params.bro
Daniel Thayer 7b3bad635b Disable broxygen when running unit tests
Disable broxygen when running unit tests (except for the tests that use
broxygen).  On my dual-core MacBook Pro, this change results in the
unit tests taking about 13% less time to finish running.
2018-06-19 16:30:40 -05:00

24 lines
606 B
Text

# @TEST-EXEC: unset BRO_DISABLE_BROXYGEN; bro -b -X broxygen.config %INPUT
# @TEST-EXEC: btest-diff autogen-reST-func-params.rst
@TEST-START-FILE broxygen.config
identifier test_func_params* autogen-reST-func-params.rst
@TEST-END-FILE
## This is a global function declaration.
##
## i: First param.
## j: Second param.
##
## Returns: A string.
global test_func_params_func: function(i: int, j: int): string;
type test_func_params_rec: record {
## This is a record field function.
##
## i: First param.
## j: Second param.
##
## Returns: A string.
field_func: function(i: int, j: int): string;
};