Commit Graph

608 Commits

Author SHA1 Message Date
Andrey Zelenkov a36babddef Tests: added keep-alive test. 2018-01-30 16:17:08 +03:00
Andrey Zelenkov afa0fd9a71 Tests: reworked TestUnitHTTP. 2018-01-30 16:17:01 +03:00
Andrey Zelenkov 9f48f2b3e7 Tests: added methods to manage unit configuration. 2018-01-30 16:16:52 +03:00
Andrey Zelenkov f115cb7032 Tests: small fixes. 2018-01-30 16:16:42 +03:00
Andrey Zelenkov cb80be00a5 Tests: fixed test for listener without port.
Broken after 879868522dbf.
2018-01-30 16:16:26 +03:00
Andrey Zelenkov 4b19848e4e Tests: ignore unexpected successes in return code. 2018-01-24 16:37:56 +03:00
Andrey Zelenkov 17e1a19063 Tests: added test for QUERY_STRING variable. 2018-01-24 15:45:39 +03:00
Andrey Zelenkov 955ba9d7dd Tests: added test with "Transfer-Encoding" header in 204 response. 2018-01-24 15:43:36 +03:00
Andrey Zelenkov 331514fcf7 Tests: using "expectedFailure" decorator instead of assertTry(). 2018-01-24 15:43:04 +03:00
Andrey Zelenkov a949c2f088 Tests: using LF line ending for test files. 2018-01-17 15:52:01 +03:00
Andrey Zelenkov 819b43fc2d Tests: use "data" parameter in Request() to send body. 2018-01-15 19:59:47 +03:00
Andrey Zelenkov 263741fb44 Tests: style. 2018-01-15 19:57:28 +03:00
Andrey Zelenkov 4c1c614099 Tests: exit with runner result. 2018-01-15 17:51:54 +03:00
Andrey Zelenkov d229549101 Tests: fixed arguments order in getattr() call. 2018-01-15 17:50:10 +03:00
Andrey Zelenkov 43e36d91e5 Tests: added test for 'atexit'. 2018-01-15 16:06:33 +03:00
Andrey Zelenkov b217a1e058 Tests: simple python application. 2018-01-15 16:06:26 +03:00
Andrey Zelenkov b12f1ea42d Tests: assertTry() function introduced. 2018-01-15 15:57:32 +03:00
Andrey Zelenkov 75af52fd65 Tests: check_version() function introduced. 2018-01-15 15:00:44 +03:00
Andrey Zelenkov 470948a0d6 Tests: style. 2018-01-10 20:35:22 +03:00
Andrey Zelenkov 8546d6d499 Tests: --no-daemon option used for unit. 2018-01-10 19:43:44 +03:00
Andrey Zelenkov 138727ec46 Tests: remove temporary folder when module not found. 2018-01-10 19:41:53 +03:00
Andrey Zelenkov b680e944d6 Tests: removed unused decorators. 2017-12-13 15:26:32 +03:00
Andrey Zelenkov d2bf066b1c Tests: http() function introduced. 2017-12-13 15:23:32 +03:00
Andrey Zelenkov f7c386ece3 Tests: fixed "negative workers" test. 2017-12-12 18:54:27 +03:00
Andrey Zelenkov 3b6d3151f1 Tests: added basic PHP tests. 2017-12-06 15:36:05 +03:00
Andrey Zelenkov 7ae5bef233 Tests: check_modules() function introduced. 2017-12-06 15:35:28 +03:00
Andrey Zelenkov 79b1d4f5ff Tests: port range changed to 7xxx. 2017-12-06 15:34:58 +03:00
Andrey Zelenkov 078d44ea71 Tests: removed extra parameter from range() call. 2017-12-06 15:34:06 +03:00
Andrey Zelenkov 487253754c Tests: waitforfiles() optimization. 2017-12-06 15:33:45 +03:00
Andrey Zelenkov 782fa1118d Tests: don't exceed 79 characters. 2017-12-06 15:32:09 +03:00
Andrey Zelenkov ec4ad8780e Tests: "verbose" mode introduced. 2017-11-29 15:23:22 +03:00
Andrey Zelenkov 75198f82b1 Tests: waitforfiles function introduced. 2017-11-29 15:23:09 +03:00
Andrey Zelenkov 4d772a9cd0 Tests: fixed port number in test_basic.t. 2017-11-28 21:59:31 +03:00
Andrey Zelenkov cf09ca655a Tests: changed shebang to the default. 2017-11-28 16:06:14 +03:00
Andrey Zelenkov 863377441b Tests: added basic infrastructure. 2017-11-21 20:51:21 +03:00
Andrey Zelenkov 78a77c3e38 Tests: move existing tests to "src" folder. 2017-11-21 18:55:28 +03:00
Valentin Bartenev 096562c0b1 Improved applications versions handling. 2017-10-05 16:46:18 +03:00
Sergey Kandaurov d57ec94a3f Initialized task in utf8 unit test, fixes segfault in debug build. 2017-09-04 17:32:29 +03:00
Igor Sysoev cdc7e4479f Lib unit tests have been renamed to tests. 2017-08-30 00:31:02 +03:00
Valentin Bartenev 6e444a7959 Removed unused structure. 2017-08-22 17:37:58 +03:00
Ruslan Ermilov ca3b1b898a Restored arc4random unit test after 59fc46dd5e1d. 2017-07-14 20:37:28 +03:00
Valentin Bartenev accb489492 HTTP parser: reduced memory consumption of header fields list. 2017-06-20 22:32:13 +03:00
Igor Sysoev 1a22195830 Fixed errors in the previous changeset. 2017-06-20 19:59:12 +03:00
Igor Sysoev f888a5310c Using new memory pool implementation. 2017-06-20 19:49:17 +03:00
Igor Sysoev b1b9f621a4 Memory pools refactoring. 2017-06-19 16:26:19 +03:00
Valentin Bartenev db6642f374 HTTP parser: decoupled header fields processing. 2017-06-13 20:11:29 +03:00
Valentin Bartenev f6e7c2b6a6 HTTP parser: fixed handling header fields with missing colon. 2017-06-09 21:49:51 +03:00
Max Romanov 952ec2e0ff Fixed building test on Solaris 2017-05-12 20:41:34 +03:00
Valentin Bartenev 9d16e1808b Added one more missing "fall through" comment in tests. 2017-05-10 19:26:56 +03:00
Igor Sysoev aa047be6b9 Zero size memory pool allocations have been disabled in unit test
becuase they are handled incorrectly with the -DNXT_DEBUG_MEMORY=1
option.
2017-03-14 19:00:32 +03:00