high-level test function More...
Go to the source code of this file.
Data Structures | |
struct | TestRunContext |
Context information for test run. More... | |
Functions | |
static void | run (void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *config) |
Main run function. More... | |
int | GNUNET_TESTBED_test_run (const char *testname, const char *cfg_filename, unsigned int num_peers, uint64_t event_mask, GNUNET_TESTBED_ControllerCallback cc, void *cc_cls, GNUNET_TESTBED_TestMaster test_master, void *test_master_cls) |
Convenience method for running a "simple" test on the local system with a single call from 'main'. More... | |
high-level test function
Definition in file testbed_api_test.c.
|
static |
Main run function.
cls | NULL |
args | arguments passed to GNUNET_PROGRAM_run |
cfgfile | the path to configuration file |
config | the configuration file handle |
Definition at line 79 of file testbed_api_test.c.
References TestRunContext::cc, TestRunContext::cc_cls, config, TestRunContext::event_mask, GNUNET_TESTBED_run(), TestRunContext::num_peers, TestRunContext::test_master, and TestRunContext::test_master_cls.
Referenced by GNUNET_TESTBED_test_run().