blob: ae648fe708fadab06411466cc5e92abcc3f0a952 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#+TITLE: Test Description
#+AUTHOR: Loic Guegan
Tests folders names convention:
- m senders and n receivers is written "<m>s<n>r" (ex: "1s5r")
- n nodes is written "<n>n" (ex: "5n")
- Tests names follow the following format "<title>_<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
* api_send_4interfaces_1s2r
* api_send_eth0_1s1r
* api_send_eth0_2s1r
* api_send_eth0_3s1r
* api_sendt_eth0_1s1r
* api_sendt_wlan0_1s2r
* api_send_wlan0_1s2r
* api_send_wlan0_2s1r
* api_wait_2n
* api_wait_end_3n
* breakpoints_auto_1n
* breakpoints_manual_1n
* breakpoints_manual_no_callback_1n
* hidden_node_2s1r
* mobility_eth0_bandwidth_1s1r
* mobility_eth0_bandwidth_2s1r
* mobility_eth0_latency_1s1r
* mobility_eth0_latency_2s1r
* mobility_wlan0_bandwidth_1s1r
* mobility_wlan0_latency_1s1r
|