mirror of
https://github.com/lammertb/libhttp.git
synced 2025-08-13 12:42:25 +03:00
Append plain Lua scripts to the test
This commit is contained in:
@@ -19,6 +19,12 @@
|
|||||||
var autoTest = false;
|
var autoTest = false;
|
||||||
var testType = "cgi";
|
var testType = "cgi";
|
||||||
|
|
||||||
|
function NextTestType() {
|
||||||
|
if (testType == "cgi") testType = "lp";
|
||||||
|
else if (testType == "lp") testType = "lua";
|
||||||
|
else testType = "cgi";
|
||||||
|
}
|
||||||
|
|
||||||
function runTest(method, isAsync) {
|
function runTest(method, isAsync) {
|
||||||
|
|
||||||
++pushCount;
|
++pushCount;
|
||||||
@@ -120,7 +126,7 @@
|
|||||||
<input id="testButton5" type="button" onclick="autoTest=!autoTest; javascript:runAutoTest()" value="automatic test"></input>
|
<input id="testButton5" type="button" onclick="autoTest=!autoTest; javascript:runAutoTest()" value="automatic test"></input>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input id="testButton6" type="button" onclick="testType = (testType=='cgi') ? 'lp' : 'cgi'; this.value=testType" value='cgi'></input>
|
<input id="testButton6" type="button" onclick="NextTestType(); this.value=testType" value='cgi'></input>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user