summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-07-02 09:45:53 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-07-02 09:45:53 +0200
commitb1b59d5fe607049439fe14754b067a61c9cfa055 (patch)
treea8becd5dabdf471659b4bee324d57af84744c3e9 /tests
parent9c8a126f466f732c33482e14977fd3e537692a44 (diff)
Update README.org
Diffstat (limited to 'tests')
-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