summaryrefslogtreecommitdiff
path: root/tests/autobahn
Commit message (Collapse)AuthorAgeFilesLines
* Fix issues found by scan-buildPatrick Griffis2022-10-061-6/+7
|
* autobahn-test.c: Implement timeout in main loopautobahn-integration-newDiego Pino Garcia2021-04-132-15/+56
|
* autobahn-test.c: Define env variables AUTOBAHN_NUM_CASES and AUTOBAHN_NUM_CASEDiego Pino Garcia2021-04-131-2/+10
| | | | | | | AUTOBAHN_NUM_CASES can be used to set the number of total cases to run. AUTOBAHN_NUM_CASE can be used to run a specific test. autobahn-test.c: Define AUTOBAHN_NUM_CASE env variable that allows to run a specific test
* autobahn-test.c: Autobahn tests go from 1 to num_casesDiego Pino Garcia2021-04-131-1/+1
|
* autobahn-server.sh: Search configuration file if could not be found in ↵Diego Pino Garcia2021-04-131-1/+8
| | | | working dir
* autobanh-test.c: Set autobahn-server.sh path if path to file could not be foundDiego Pino Garcia2021-04-131-3/+11
| | | | Also fix wrong indenting and one string message formatting.
* autobahn: Various improvements:Patrick Griffis2021-04-136-342/+286
| | | | | | | | | | | | | - build: change autobahn into a auto-detected feature - build: Remove duplication from existing test build file - Avoid using __FILE__ and use GLibs test file utils - Change indentation to be consistent with project - Remove duplicate args to list number of tests or run specific tests glib provides this already - In each test case run mainloop to completion to properly track case status - Generate a report every run - Output reports into the meson-logs directory, not the CWD of source - Actually run the server until it is listening rather than sleep()
* autobahn: Remove duplicate debug argPatrick Griffis2021-04-131-10/+4
| | | | This is already handled by test-utils
* meson.build: Link test-utilsDiego Pino Garcia2021-04-131-2/+20
|
* tests: replace fprintf for debug_printfDiego Pino Garcia2021-04-131-9/+9
|
* tests: Use GLib test frameworkDiego Pino Garcia2021-04-131-17/+48
|
* ci: add step to run autobahn testsDiego Pino Garcia2021-04-131-1/+3
|
* tests: start autobahn serverDiego Pino Garcia2021-04-131-0/+46
|
* autobahn-server.sh: refactor codeDiego Pino Garcia2021-04-131-7/+54
| | | | | | | | * Use Autobahn virtualenv (default). * Check port before starting server, and kill running process if necessary. * Expects arguments '--start' and '--stop' to start and stop the server.
* tests: add full license in tests/autobahn/soup-autobahn-test-client.cDiego Pino Garcia2021-04-131-1/+18
|
* tests: fix function callDiego Pino Garcia2021-04-131-1/+1
|
* tests: add a autobahn test clientClaudio Saavedra2021-04-134-0/+244
Autobahn is a WebSockets test suite that allows us to test libsoup's implementation. With the files added it should be possible to start running WebSocket tests in the CI in gitlab, but it will probably still need some further work to integrate it nicely. autobahn-server.sh will start a docker container that runs the Autobahn fuzzing server. It uses fuzzingserver.json for the server settings. soup-autobahn-test-client is a simple client that can run Autobahn tests by connecting to said server.