Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tests: Use one struct for data and buffer | Olivier Crête | 2014-01-31 | 1 | -4/+3 | |
| | ||||||
* | configure: Verify that the compiler understands warning cflags | Olivier Crête | 2013-12-26 | 1 | -1/+1 | |
| | | | | Older compilers don't understand all of the flags | |||||
* | Fix a minor bug in the dribble mode test | Rohan Garg | 2012-09-20 | 1 | -0/+15 | |
| | | | | | | If for some reason the opening of the socket is delayed, or simply takes too much time, the test will fail. This patch ensures that the test will only proceed once the socket is open. | |||||
* | Also free the GCond and the GMutex | Rohan Garg | 2012-06-30 | 1 | -0/+4 | |
| | ||||||
* | Allocate memory to stun_mutex_ptr and stun_signal_ptr | Rohan Garg | 2012-06-22 | 1 | -0/+2 | |
| | ||||||
* | Multiple fixes for new test | Rohan Garg | 2012-05-08 | 1 | -27/+42 | |
| | | | | | | | | | | * Make STUN thread drop STUN packets using a global variable * Completely refactor the way the STUN thread exits - Now exit by setting exit_stun_thread as TRUE and sending dummy data - Remove the old signal mechanism * Don't set unnecessary socket options * Lock stun_mutex_ptr before signalling STUN response | |||||
* | Fixes to dribble mode test as per suggestions | Rohan Garg | 2012-05-04 | 1 | -25/+24 | |
| | | | | | | | | - Use LEFT_AGENT and RIGHT_AGENT instead of calling GINT_TO_POINTER everytime - Add padding (0's in our case) before the actual payload and make sure the reciever checks for this padding. This ensures no STUN packets got through - Free GSList's properly in cb_agent_new_candidate - Use proper calls to g_signal_handlers_disconnect_by_func | |||||
* | Minor bug fixes and enhancements to the test | Rohan Garg | 2012-05-03 | 1 | -55/+71 | |
| | ||||||
* | Fix test-dribble | Rohan Garg | 2012-05-01 | 1 | -1/+1 | |
| | | | | The ragent state can be either NICE_COMPONENT_CONNECTED or NICE_COMPONENT_READY | |||||
* | Added new tests for dribble mode in libnice | Rohan Garg | 2012-05-01 | 2 | -1/+676 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | Properly ifdef windows headers in order to get compiles working on linux again | Rohan Garg | 2012-03-12 | 2 | -0/+4 | |
| | ||||||
* | unistd.h is not present on Visual Studio. Replaced usleep with g_usleep to ↵ | Filippo Della Betta | 2012-03-05 | 1 | -2/+10 | |
| | | | | support win32 platform as well. Added WSAStartup/WSACleanup on win32 | |||||
* | Fixed mingw/msys compilation. Definition for intptr_t was missing. Added ↵ | Filippo Della Betta | 2012-03-05 | 1 | -1/+9 | |
| | | | | WSAStartup/WSACleanup on win32 | |||||
* | Fixed mingw/msys compilation. Definition for intptr_t was missing. Added ↵ | Filippo Della Betta | 2012-03-05 | 1 | -1/+9 | |
| | | | | WSAStartup/WSACleanup on win32 | |||||
* | Added WSAStartup/WSACleanup on win32 | Filippo Della Betta | 2012-03-05 | 1 | -1/+7 | |
| | ||||||
* | Fix test-bsd by calling g_type_init | Youness Alaoui | 2012-03-01 | 1 | -1/+1 | |
| | ||||||
* | Remove redundant code from tests | Rohan Garg | 2012-02-20 | 1 | -8/+0 | |
| | ||||||
* | WSAStartup/WSACleanup added on WIN32 platform | Filippo Della Betta | 2012-02-20 | 3 | -1/+26 | |
| | ||||||
* | Replaced __func__ macro with G_STRFUNC in the unit tests | Filippo Della Betta | 2012-02-15 | 5 | -17/+17 | |
| | ||||||
* | Fix missing semicolon from previous commit in test-restart | Youness Alaoui | 2012-02-02 | 1 | -1/+1 | |
| | ||||||
* | Fix builds for systems using glib 2.3.81 and above | Rohan Garg | 2012-01-16 | 8 | -8/+39 | |
| | ||||||
* | test-fullmode: if upnp is disabled, then disable it in both agents | Youness Alaoui | 2012-01-12 | 1 | -0/+1 | |
| | ||||||
* | Add support for windows's compilation through MinGW | Nader Morshed | 2011-11-30 | 1 | -2/+0 | |
| | ||||||
* | Fix a (possible) memory leak in nice_turn_socket_new and in a test | Timothy Redaelli | 2011-03-31 | 1 | -1/+3 | |
| | ||||||
* | Use #!/bin/sh instead of #!/bin/bash | Timothy Redaelli | 2011-03-31 | 1 | -1/+1 | |
| | ||||||
* | Remove some "set but not used" variables since GCC 4.6 emit a warning about that | Timothy Redaelli | 2011-03-31 | 1 | -2/+1 | |
| | ||||||
* | test-fullmode: add some debug output to track down a weird bug.. | Youness Alaoui | 2011-03-23 | 1 | -2/+10 | |
| | ||||||
* | Add some testing for the nice_agent_set_port_range API | Youness Alaoui | 2011-01-20 | 1 | -2/+55 | |
| | ||||||
* | test-fullmode: disable checking for the expected selected-pair signal when ↵ | Youness Alaoui | 2011-01-13 | 1 | -2/+26 | |
| | | | | using TURN because that value is unpredictable | |||||
* | test-fullmode: better support for TURN testing, some tests can't work with ↵ | Youness Alaoui | 2011-01-13 | 1 | -25/+24 | |
| | | | | turn by nature | |||||
* | test-fullmode: Add a USE_RELIABLE option to enable/disable reliable mode | Youness Alaoui | 2010-12-23 | 1 | -4/+15 | |
| | ||||||
* | test-fullmode: Clean the credentials exchange by using a single function | Youness Alaoui | 2010-12-22 | 1 | -69/+20 | |
| | ||||||
* | test-fullmode: remove the old code that sets candidates from one agent to ↵ | Youness Alaoui | 2010-12-22 | 1 | -209/+38 | |
| | | | | another and do it properly | |||||
* | Add a USE_UPNP option to test-fullmode | Youness Alaoui | 2010-12-22 | 1 | -0/+2 | |
| | ||||||
* | Add a USE_PROXY option to test-fullmode | Youness Alaoui | 2010-12-22 | 1 | -1/+6 | |
| | ||||||
* | Revert changes to fullmode test | Marcus Lundblad | 2010-12-14 | 1 | -7/+5 | |
| | ||||||
* | Remaining changes for RFC 5766 | Marcus Lundblad | 2010-12-14 | 1 | -5/+7 | |
| | ||||||
* | Change the compatibility modes from DRAFT19 to RFC5245 | Youness Alaoui | 2010-05-19 | 6 | -8/+8 | |
| | ||||||
* | remove some warnings from test-thread | Youness Alaoui | 2010-02-16 | 1 | -3/+0 | |
| | ||||||
* | return FALSE on g_error timers because new gcc refuses to compile without a ↵ | Youness Alaoui | 2010-02-16 | 3 | -0/+6 | |
| | | | | return value from these functions | |||||
* | Get rid of NiceSocket from the candidate, and make it into an obscure ↵ | Youness Alaoui | 2010-02-16 | 1 | -0/+1 | |
| | | | | gpointer.. then cast it (only twice) inside the code. This allows us to get rid of all those socket layer .h files from installation which were not needed to be public | |||||
* | enable debug message for test-pseudotcp | Youness Alaoui | 2010-02-16 | 1 | -0/+3 | |
| | ||||||
* | Fix copyright headers for all files | Youness Alaoui | 2010-02-16 | 1 | -1/+0 | |
| | ||||||
* | Fix test-pseudotcp to not fail randomly, use strncmp instead of strcmp | Youness Alaoui | 2010-02-16 | 1 | -1/+2 | |
| | ||||||
* | Make test-fullmode do the test over the pseudotcp reliable transport | Youness Alaoui | 2010-02-16 | 1 | -6/+41 | |
| | ||||||
* | Add pseudotcp docs and fix a bit the API and test | Youness Alaoui | 2010-02-16 | 1 | -3/+13 | |
| | ||||||
* | Adding test suite for pseudotcp | Youness Alaoui | 2010-02-16 | 3 | -1/+277 | |
| | ||||||
* | Use GPOINTER_TO_UINT and GUINT_TO_POINTER to avoid an error when casting on ↵ | Youness Alaoui | 2009-12-04 | 1 | -8/+8 | |
| | | | | kfreebsd | |||||
* | Add a SOFTWARE attribute in test-fullmode test | Youness Alaoui | 2009-11-04 | 1 | -0/+2 | |
| | ||||||
* | properly set remote candidates for delayed answer test, also include the ↵ | Youness Alaoui | 2009-06-02 | 1 | -10/+13 | |
| | | | | delayed answer test in the google mode testing |