diff options
author | t3sserakt <t3ss@posteo.de> | 2021-10-07 13:07:30 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2021-10-07 13:07:30 +0200 |
commit | d7fa0579995790840199ec86cb4d518f9d372fcd (patch) | |
tree | b41accedea6cd0fb78d75afee61911b94a1099fb /src/include/gnunet_testing_plugin.h | |
parent | 658bceab7ba3aab5121e8874d8508264d3f63ce3 (diff) | |
download | gnunet-d7fa0579995790840199ec86cb4d518f9d372fcd.tar.gz gnunet-d7fa0579995790840199ec86cb4d518f9d372fcd.zip |
- add generic topology configuration by file
- cmd simple send using file configuration from file
- added cmd to check the logs for backchannel encapsulation
- added cmd which notifies the master loop of local loop being prepared to finish
- added logging to helper.c
- moved code from connecting peers cmd into global functions
- added parameters given to the connecting peers cmd
- added assertion when notifying the transport service about a new queue, if the communicator has no intial capacity
- added optional valgrind cmd to test script
- added flag für queues with unlimited length
- added check for queues with higher priority
- added attribute queue_capacity to struct Queue
- bug fixing worker task for kce generation and transport notification about available queue in udp communicator
- change value for unlimited queue length from 0 to UINT16_MAX in tcp communicator and service
- added loop to stop the test system for the globally known peers in stop testsystem cmd
- refactored endless growing array to handle further messages from the local loops, and added logic to handle the local test prepare msg
- added utility methods in testing.c
- added forwarding of all tests prepared msg in gnunet-cmds-helper.c
- added cmd to end loop without shutdown
- added without shutdown cmd to simple send testcase
- added backchannel check, without shutdown and prepared cmd to udp backchannel testcase.
Diffstat (limited to 'src/include/gnunet_testing_plugin.h')
-rw-r--r-- | src/include/gnunet_testing_plugin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_plugin.h b/src/include/gnunet_testing_plugin.h index 151827d4b..4a6a9368e 100644 --- a/src/include/gnunet_testing_plugin.h +++ b/src/include/gnunet_testing_plugin.h | |||
@@ -48,9 +48,15 @@ typedef void | |||
48 | char *m, | 48 | char *m, |
49 | char *local_m); | 49 | char *local_m); |
50 | 50 | ||
51 | |||
51 | typedef void | 52 | typedef void |
52 | (*GNUNET_TESTING_PLUGIN_ALL_PEERS_STARTED) (); | 53 | (*GNUNET_TESTING_PLUGIN_ALL_PEERS_STARTED) (); |
53 | 54 | ||
55 | |||
56 | typedef void | ||
57 | (*GNUNET_TESTING_PLUGIN_ALL_LOCAL_TESTS_PREPARED) (); | ||
58 | |||
59 | |||
54 | struct GNUNET_TESTING_PluginFunctions | 60 | struct GNUNET_TESTING_PluginFunctions |
55 | { | 61 | { |
56 | /** | 62 | /** |
@@ -61,6 +67,8 @@ struct GNUNET_TESTING_PluginFunctions | |||
61 | GNUNET_TESTING_PLUGIN_StartTestCase start_testcase; | 67 | GNUNET_TESTING_PLUGIN_StartTestCase start_testcase; |
62 | 68 | ||
63 | GNUNET_TESTING_PLUGIN_ALL_PEERS_STARTED all_peers_started; | 69 | GNUNET_TESTING_PLUGIN_ALL_PEERS_STARTED all_peers_started; |
70 | |||
71 | GNUNET_TESTING_PLUGIN_ALL_LOCAL_TESTS_PREPARED all_local_tests_prepared; | ||
64 | }; | 72 | }; |
65 | 73 | ||
66 | #if 0 /* keep Emacsens' auto-indent happy */ | 74 | #if 0 /* keep Emacsens' auto-indent happy */ |