#+TITLE: Test Description #+AUTHOR: Loic Guegan Tests folders names convention: - m senders and n receivers is written "sr" (ex: "1s5r") - n nodes is written "n" (ex: "5n") - Tests names follow the following format "_<m>s<n>r" or "<title>_<n>n" (ex: "simple_send_rcv_1s5r", "ping_pong_2n") - Tests that test elementary API functions should start with the "api" keyword * api_log_5n [1/1] - [X] Logs are performed in order * api_read_clock_2n [1/1] - [X] Read the current simulated time * api_read_eth0_ncom_2s1r [3/3] - [X] No communication should return 0 - [X] Work with 1 communication - [X] Work with 2 communications * api_read_order_ncom_1s2r [2/2] - [X] Check that order of node instanciation (sender before receiver in simulator.py) do not matter on the results if a communication starts while read to ncom is performed - [X] If a communication starts while read to ncom is performed, it should return 0 (deterministic rule) * api_read_wlan0_ncom_2s1r [1/1] - [X] Ensure similar behavior wlan0/eth0 for ncom reads * api_receivet0_eth0_1s1r [1/1] - [X] receivet() with a timeout of 0 should receive the data while not modifying simulated time * api_receivet_eth0_1s1r [3/3] - [X] If timeout not expire receivet() should receive the data in the queue - [X] If timeout expire receivet() should return -1 - [X] If data received when timeout expire (same simulated time), data should be received * api_send0_eth0_1s1r [1/1] - [X] Whatever the simulated time, instantaneous send() works as expected * api_send_4interfaces_1s2r [1/1] - [X] Perform send with 4 interfaces: 2 wireless and 2 wired * api_send_eth0_1s1r [3/3] - [X] Proper duration for 1 communication with latency=0 - [X] No data receive on eth0 when receiver is turned off - [X] Communications on eth0 is created and performed (simulated time increase) even if receiver is turned off * api_send_eth0_2s1r [1/1] - [X] Check send on 2 receivers works * api_send_eth0_3s1r * api_sendt_eth0_1s1r [3/3] - [X] sendt() works if timeout > transmission duration - [X] sendt() works if timeout = transmission duration - [X] sendt() do not work if timeout < transmission duration * api_sendt_wlan0_1s2r [2/2] - [X] Transmission work if timeout do not expire - [X] Transmission does not work if timeout expire * api_send_wlan0_1s2r [3/3] - [X] All reachable receivers get the data - [X] If receiver turned off data is not received - [X] If receiver turned off at least one time during communication it must not receive the data * api_send_wlan0_2s1r [1/1] - [X] If 2 receivers send at the same time to the same receiver, interference should happend on the receiver * api_wait_2n [1/1] - [X] Wait works as expected on 2 nodes * api_wait_end_3n [2/2] - [X] Wait for 0s works as expected - [X] wait_end() works as expected * breakpoints_auto_1n [1/1] - [X] Simulation is interrupted every 3.3s during a transmission * breakpoints_manual_1n [1/1] - [X] Simulation breaks at 1,2,3 and 10s * breakpoints_manual_no_callback_1n [1/1] - [X] Breakpoints work if no callback specified * hidden_node_2s1r [2/2] - [X] Bandwidth is 0 between 2 nodes means unreachable - [X] Interferences occur on the node in between (hidden node problem) * mobility_eth0_bandwidth_1s1r * mobility_eth0_bandwidth_2s1r * mobility_eth0_latency_1s1r * mobility_eth0_latency_2s1r * mobility_wlan0_bandwidth_1s1r * mobility_wlan0_latency_1s1r