Commit 13ed6c46 authored by Rohan Garg's avatar Rohan Garg
Browse files

Added new tests for dribble mode in libnice

4 tests in total :

  * Common to all :
    - Gather lagent and ragent candidates
    - Delay STUN response for lagent
    - Make sure connchecks succeed and data is sent across
      to lagent

  * standard_test :
    - Set remote candidates for lagent while lagent is still
      gathering it's own candidates

  * bad_credentials_test :
    - Set incorrect credentials for both lagent and ragent
    - Make sure connchecks fail
    - Signal STUN response and set correct credentials

  * bad_candidate_test :
    - Set a bad remote candidate for lagent
    - Make sure connchecks fail
    - Signal STUN response and set correct remote candidates

  * new_candidate_test :
    - As soon as a new local candidate is found set it as
      the remote candidate for the other agent
parent ce745d25
......@@ -32,7 +32,8 @@ check_PROGRAMS = \
test-restart \
test-fallback \
test-thread \
test-dribble
test-dribble \
test-new-dribble
dist_check_SCRIPTS = \
check-test-fullmode-with-stun.sh \
......@@ -64,6 +65,8 @@ test_fallback_LDADD = $(COMMON_LDADD)
test_dribble_LDADD = $(COMMON_LDADD)
test_new_dribble_LDADD = $(COMMON_LDADD)
all-local:
chmod a+x $(srcdir)/check-test-fullmode-with-stun.sh
chmod a+x $(srcdir)/test-pseudotcp-random.sh
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment