Home
last modified time | relevance | path

Searched full:test (Results 1 – 25 of 226) sorted by relevance

12345678910

/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_selftest.c21 …DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: double union compares false (expected true)")…
27 …DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: double union compares true (expected false)")…
47 DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: duk_(u)int{8,16,32}_t size"); in duk__selftest_types()
52 DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: duk_(u)int64_t size"); in duk__selftest_types()
60 DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: duk_size_t is smaller than duk_uint_t"); in duk__selftest_types()
63 DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: duk_int_t is not 32 bits"); in duk__selftest_types()
74 …DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: packed duk_tval in use but sizeof(void *) > 4… in duk__selftest_packed_tval()
84 volatile int test; in duk__selftest_twos_complement() local
85 test = -1; in duk__selftest_twos_complement()
87 /* Note that byte order doesn't affect this test: all bytes in in duk__selftest_twos_complement()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_selftest.c21 …DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: double union compares false (expected true)")…
27 …DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: double union compares true (expected false)")…
47 DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: duk_(u)int{8,16,32}_t size"); in duk__selftest_types()
52 DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: duk_(u)int64_t size"); in duk__selftest_types()
60 DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: duk_size_t is smaller than duk_uint_t"); in duk__selftest_types()
63 DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: duk_int_t is not 32 bits"); in duk__selftest_types()
74 …DUK_PANIC(DUK_ERR_INTERNAL_ERROR, "self test failed: packed duk_tval in use but sizeof(void *) > 4… in duk__selftest_packed_tval()
84 volatile int test; in duk__selftest_twos_complement() local
85 test = -1; in duk__selftest_twos_complement()
87 /* Note that byte order doesn't affect this test: all bytes in in duk__selftest_twos_complement()
[all …]
/civetweb-2.7.6/unittest/
DCMakeLists.txt13 # ${CIVETWEB_THIRD_PARTY_DIR}/src/check-unit-test-framework/CMakeLists.txt
19 ExternalProject_Add(check-unit-test-framework
46 ExternalProject_Get_Property(check-unit-test-framework INSTALL_DIR)
83 add_dependencies(public-func-c-unit-tests check-unit-test-framework)
93 add_dependencies(public-server-c-unit-tests check-unit-test-framework)
100 add_dependencies(private-c-unit-tests check-unit-test-framework)
107 add_dependencies(timer-c-unit-tests check-unit-test-framework)
117 add_dependencies(exe-c-unit-tests check-unit-test-framework)
119 add_executable(main-c-unit-test main.c)
120 target_link_libraries(main-c-unit-test
[all …]
Dmain.c38 /* This unit test file uses the excellent Check unit testing library.
57 const char *const test_case_arg = "--test-case="; in main()
59 const char *const test_dir_arg = "--test-dir="; in main()
61 const char *const test_log_arg = "--test-log="; in main()
65 /* Test variables */ in main()
99 " --test-case='Test Case' Determines the test case to run\n" in main()
100 " --test-dir='folder/path' The location of the test directory " in main()
118 /* Write test logs to a file */ in main()
124 sprintf(test_log_name, "test-%03i.log", i); in main()
135 sprintf(test_xml_name, "test-%03i.xml", i); in main()
[all …]
Dpublic_server.c53 /* This unit test file uses the excellent Check unit testing library.
60 * functions, used only to prepare the test environment seems redundant.
61 * If they fail, the test fails anyway. */
77 * used in the different test in locate_path()
88 a_path); // TODO: fix path in CI test environment in locate_path()
187 exit(1); /* some path is not correct --> test will not work */ in START_TEST()
296 /* Give the server some time to start in the test VM */ in test_mg_start()
360 /* Test also tcp_nodelay - this option is not related in test_mg_start_stop_http_server_impl()
363 * the test duration shorter. in test_mg_start_stop_http_server_impl()
536 /* End test */ in test_mg_start_stop_http_server_impl()
[all …]
Dprivate_exe.c40 /* main is already used in the test suite,
48 /* This unit test file uses the excellent Check unit testing library.
55 const char *psrc = "test str"; in START_TEST()
58 /* test sdup */ in START_TEST()
/civetweb-2.7.6/test/
Dpage4.lua1 -- This test checks the Lua functions:
5 cookie_name = "CivetWeb-test-page4"
20 mg.write("<html>\r\n<head><title>CivetWeb Lua script test page 4</title></head>\r\n<body>\r\n")
21 mg.write("<p>Test of CivetWeb Lua Functions:</p>\r\n");
25 mg.write("get_var test (check query string):\r\n")
41 mg.write("MD5 test:\r\n")
52 mg.write(" MD5 of test string OK\r\n")
54 mg.write(" Error: MD5 of test string NOT OK\r\n")
59 mg.write("Cookie test:\r\n")
68 -- test 'require' of other Lua scripts
[all …]
DREADME.md9 test suites reflecting the public and internal API functions of civetweb.
16 * Test Cases which are there are multiple in
17 * Test Suites which are ran by the check framework by
19 `--test-case` arguments by
22 Each test suite and test case is ran individually by CTest so that it provides
24 new test case or suite will require the corresponding `add_test` driver to be
Dresource_script_demo.lua18 mg.write("<html><head><title>Civetweb Lua script resource handling test</title></head>\r\n")
33 mg.write("<html><head><title>Civetweb Lua script resource handling test</title></head>\r\n")
40 mg.write("<html><head><title>Civetweb Lua script resource handling test</title></head>\r\n")
57 mg.write("<html><head><title>Civetweb Lua script resource handling test</title></head>\r\n")
71 mg.write("<html><head><title>Civetweb Lua script resource handling test</title></head>\r\n")
88 mg.write("<html><head><title>Civetweb Lua script resource handling test</title></head>\r\n")
103 mg.write("<html><head><title>Civetweb Lua script resource handling test</title></head>\r\n")
111 mg.write("<html><head><title>Civetweb Lua script resource handling test</title></head>\r\n")
122 mg.write("<html><head><title>Civetweb Lua script resource handling test</title></head>\r\n")
Dpage_shared.lua15 -- Test with number
26 -- Test with name
39 -- Test with boolean
50 -- Test using "shared" as array
69 -- Test using "shared" as array
94 -- Test __inc/__dec functions
103 -- Test __add function
Dcors.reply.lua9 mg.write("This test page should not be used directly. Open cors.html instead.")
15 -- Note: This is a test example showing how a script could handle
58 <head><title>CORS dynamic GET test reply - test OK</title></head>
75 <head><title>CORS dynamic PUT test reply - test OK</title></head>
DMakefileTest.mk6 #This makefile is used to test the other Makefiles
13 all: test
15 test: buildoptions buildlibs buildinstall
16 test: buildexamples threaded
19 test: dmg
22 test: clean
Dcors.html4 <title>CORS test</title>
58 el.innerHTML = "Test CORS from " + document.URL + " to http://localhost:8080/cors.reply.*";
60 …alert("This CORS test is only meaningful, if you open this site with a different url than \'localh…
67 <h1>Cross-origin resource sharing test</h1>
68 <p id="from">*** Error: Javascript is not activated. This test will not work. ***</p>
Dtest.pl2 # This script is used to test Civetweb web server
19 my $root = 'test';
159 o("GET /test/hello.txt HTTP/1.0\n\n", 'HTTP/1.1 200 OK', 'Loading config file');
170 '-put_delete_auth_file test/passfile ' .
217 # Test HTTP version parsing
249 "SCRIPT_FILENAME=$cwd/test/test_dir/x/index.cgi", 'SCRIPT_FILENAME');
301 # Test directory sorting. Sleep between file creation for 1.1 seconds,
339 # Test various funky things in an authentication header.
401 'ssi_begin.+Unit test.+ssi_end', 'SSI #include virtual=');
410 'ssi_begin.+Unit test.+ssi_end', 'SSI #include "..."');
[all …]
Dpage3.lua1 -- This test checks if a query string has been given.
10 mg.write("<html><head><title>CivetWeb Lua script test page 3</title></head>\r\n")
17 mg.write("<html><head><title>CivetWeb Lua script test page 3</title></head>\r\n")
26 mg.write("<html>\r\n<head><title>CivetWeb Lua script test page 3</title></head>\r\n")
/civetweb-2.7.6/
D.travis.yml104 CTEST_OUTPUT_ON_FAILURE=1 make all test;
108 - echo "Show all test logs:"
110 for f in unittest/test-*.log; do printf "\n$f:\n"; cat $f; done;
111 for f in unittest/test-*.xml; do printf "\n$f:\n"; cat $f; done;
113 - echo "Build and test script DONE"
173 - ubuntu-toolchain-r-test
207 - ubuntu-toolchain-r-test
242 - ubuntu-toolchain-r-test
276 - ubuntu-toolchain-r-test
311 - ubuntu-toolchain-r-test
[all …]
Dappveyor.yml124 # Test shared and debug build
329 - if "%compiler_name%"=="gcc" (set "test=mingw32-make test")
348 - if "%compiler_name%"=="msvc" (set "test=msbuild %msbuild_opts% RUN_TESTS.vcxproj")
400 - appveyor AddMessage -Category Information "Test command '%build%'"
402 - cmd /c "%test%" & set "test_ret=%ERRORLEVEL%"
403 - echo "Test returned %test_ret%"
405 - echo "Show all test logs:"
406 - for /r %%i in ("%source_path%\output\build\unittest\test-*.log") do (
410 - for /r %%i in ("%source_path%\output\build\unittest\test-*.xml") do (
420 - echo "Test script DONE"
/civetweb-2.7.6/examples/_obsolete/docroot/
Djquery.js19 …1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test
22 …;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a…
28 …(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\…
29 a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){…
32 …version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*…
34 …("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")===…
35 …a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.…
46test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value…
47 …==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.
48 …eturn(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeNa…
[all …]
/civetweb-2.7.6/test/ajax/
Dtest.html4 <title>Test</title>
31 document.getElementById('start').innerHTML = 'Test: ' + pushCount;
104 <div id="start">Test not started.</div>
126 …ype="button" onclick="autoTest=!autoTest; javascript:runAutoTest()" value="automatic test"></input>
152 <tr><th>Test</th><th>Result</th></tr>
164 <div id="resTotal">Push [Test] to start.</div>
Djquery.js2test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c…
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/debug-trans-dvalue/
DMakefile13 test: test.c duk_trans_dvalue.c duk_trans_dvalue.h target
15 gcc -O0 -g -ggdb -Wall -Wextra -std=c99 -o test -I$(DUKTAPE_SRC) -I. \
17 $(DUKTAPE_SRC)/duktape.c duk_trans_dvalue.c test.c -lm
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/debug-trans-dvalue/
DMakefile13 test: test.c duk_trans_dvalue.c duk_trans_dvalue.h target
15 gcc -O0 -g -ggdb -Wall -Wextra -std=c99 -o test -I$(DUKTAPE_SRC) -I. \
17 $(DUKTAPE_SRC)/duktape.c duk_trans_dvalue.c test.c -lm
/civetweb-2.7.6/ci/test/
DREADME.md14 * Start the test script
16 === test/ci_tests/01_basic/basic_spec.lua
18 On the initial checkin, there is only one test which demonstrates:
22 * using libcurl via lua to test that files in the specified docroot are available
/civetweb-2.7.6/src/third_party/duktape-1.5.2/debugger/
DREADME.rst58 $ ../../duk --debugger test-dev-mandel2-func.js
118 $ ../../duk --debugger test-dev-mandel2-func.js
132 {"notify":"Status","command":1,"args":[1,"test-dev-mandel2-func.js","global",58,0]}
162 …5Z INF Proxy: PROXY --> CLIENT: {"notify":"Status","command":1,"args":[1,"test-dev-mandel2-func.js…
202 $ ../../duk --debugger test-dev-mandel2-func.js
214 <-- {"notify":"Status","command":1,"args":[1,"test-dev-mandel2-func.js","global",58,0]}
222 <-- {"notify":"Status","command":1,"args":[0,"test-dev-mandel2-func.js","global",58,0]}
223 <-- {"notify":"Status","command":1,"args":[0,"test-dev-mandel2-func.js","global",58,0]}
/civetweb-2.7.6/src/third_party/duktape-1.8.0/debugger/
DREADME.rst58 $ ../../duk --debugger test-dev-mandel2-func.js
118 $ ../../duk --debugger test-dev-mandel2-func.js
132 {"notify":"Status","command":1,"args":[1,"test-dev-mandel2-func.js","global",58,0]}
162 …5Z INF Proxy: PROXY --> CLIENT: {"notify":"Status","command":1,"args":[1,"test-dev-mandel2-func.js…
202 $ ../../duk --debugger test-dev-mandel2-func.js
214 <-- {"notify":"Status","command":1,"args":[1,"test-dev-mandel2-func.js","global",58,0]}
222 <-- {"notify":"Status","command":1,"args":[0,"test-dev-mandel2-func.js","global",58,0]}
223 <-- {"notify":"Status","command":1,"args":[0,"test-dev-mandel2-func.js","global",58,0]}

12345678910