summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/README.org19
1 files changed, 13 insertions, 6 deletions
diff --git a/tests/README.org b/tests/README.org
index ba1e5d3..ae648fe 100644
--- a/tests/README.org
+++ b/tests/README.org
@@ -11,15 +11,22 @@ Tests folders names convention:
- [X] Logs are performed in order
* api_read_clock_2n [1/1]
- [X] Read the current simulated time
-* api_read_eth0_ncom_2s1r [3/4]
+* api_read_eth0_ncom_2s1r [3/3]
- [X] No communication should return 0
-- [ ] If a communication starts while read to ncom is performed, it should return 0 (deterministic rule)
- [X] Work with 1 communication
- [X] Work with 2 communications
-* api_read_order_ncom_1s2r
-* api_read_wlan0_ncom_2s1r
-* api_receivet0_eth0_1s1r
-* api_receivet_eth0_1s1r
+* 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