LDEV-5207 add tagbased cfc for executionLog tests #1442
GitHub Actions / Lucee Test Results
failed
Dec 17, 2024 in 0s
1 fail, 228 skipped, 3 730 pass in 8m 6s
Annotations
Check warning on line 0 in test.tickets.LDEV0407
github-actions / Lucee Test Results
checking cfhttp tag with timeout attribute on request (test.tickets.LDEV0407) failed
test/reports/junit-test-results-6.2.0.223-SNAPSHOT.xml [took 0s]
Raw output
Expected [408 Request Time-out] but received [502 Bad Gateway]
[{Raw_Trace={system.assertion_cfc$cf$1ap.udfCall1(/testbox/system/Assertion.cfc:17)}, codePrintPlain={15: function fail( message = "", detail = "" ){
16: arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );
17: throw( type = "TestBox.AssertionFailed", message = arguments.message, detail = arguments.detail );
18: }
19:
}, column={0}, line={17}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={15: function fail( message = "", detail = "" ){<br>
16: arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );<br>
<b>17: throw( type = "TestBox.AssertionFailed", message = arguments.message, detail = arguments.detail );</b><br>
18: }<br>
19: <br>
}}, {Raw_Trace={system.assertion_cfc$cf$1ap.udfCall1(/testbox/system/Assertion.cfc:70)}, codePrintPlain={68: );
69: // if we reach here, nothing is equal man!
70: fail( arguments.message );
71: }
72:
}, column={0}, line={70}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={68: );<br>
69: // if we reach here, nothing is equal man!<br>
<b>70: fail( arguments.message );</b><br>
71: }<br>
72: <br>
}}, {Raw_Trace={system.expectation_cfc$cf$1ak.udfCall1(/testbox/system/Expectation.cfc:164)}, codePrintPlain={162: variables.assert.isNotEqual( argumentCollection = arguments );
163: } else {
164: variables.assert.isEqual( argumentCollection = arguments );
165: }
166: return this;
}, column={0}, line={164}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Expectation.cfc}, id={??}, type={cfml}, codePrintHTML={162: variables.assert.isNotEqual( argumentCollection = arguments );<br>
163: } else {<br>
<b>164: variables.assert.isEqual( argumentCollection = arguments );</b><br>
165: }<br>
166: return this;<br>
}}, {Raw_Trace={tickets.ldev0407_cfc$cf$2gg.udfCall(/test/tickets/LDEV0407.cfc:22)}, codePrintPlain={20: it(title="checking cfhttp tag with timeout attribute on request", body = function( currentSpec ) {
21: var httpResponse = cfhttptag();
22: expect(httpResponse).toBe("408 Request Time-out");
23: });
24: });
}, column={0}, line={22}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV0407.cfc}, id={??}, type={cfml}, codePrintHTML={20: it(title="checking cfhttp tag with timeout attribute on request", body = function( currentSpec ) {<br>
21: var httpResponse = cfhttptag();<br>
<b>22: expect(httpResponse).toBe("408 Request Time-out");</b><br>
23: });<br>
24: });<br>
}}, {Raw_Trace={system.basespec_cfc$cf$1aj.udfCall7(/testbox/system/BaseSpec.cfc:1438)}, codePrintPlain={1436: // Around Stub
1437: function aroundStub( spec ){
1438: spec.body( spec.data );
1439: }
1440:
}, column={0}, line={1438}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={1436: // Around Stub<br>
1437: function aroundStub( spec ){<br>
<b>1438: spec.body( spec.data );</b><br>
1439: }<br>
1440: <br>
}}, {Raw_Trace={system.basespec_cfc$cf$1aj.udfCall5(/testbox/system/BaseSpec.cfc:1090)}, codePrintPlain={1088: return function(){
1089: // Execute the body of the spec
1090: nextClosure.body( spec = thread.spec, suite = thread.suite, data = nextClosure.data );
1091: };
1092: }
}, column={0}, line={1090}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={1088: return function(){<br>
1089: // Execute the body of the spec<br>
<b>1090: nextClosure.body( spec = thread.spec, suite = thread.suite, data = nextClosure.data );</b><br>
1091: };<br>
1092: }<br>
}}, {Raw_Trace={system.basespec_cfc$cf$1aj.udfCall5(/testbox/system/BaseSpec.cfc:1061)}, codePrintPlain={1059: );
1060: // Run the specs
1061: specStack();
1062:
1063: return this;
}, column={0}, line={1061}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={1059: );<br>
1060: // Run the specs<br>
<b>1061: specStack();</b><br>
1062: <br>
1063: return this;<br>
}}, {Raw_Trace={system.basespec_cfc$cf$1aj.udfCall4(/testbox/system/BaseSpec.cfc:908)}, codePrintPlain={906:
907: try {
908: runAroundEachClosures( arguments.suite, arguments.spec );
909: } catch ( any e ) {
910: rethrow;
}, column={0}, line={908}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={906: <br>
907: try {<br>
<b>908: runAroundEachClosures( arguments.suite, arguments.spec );</b><br>
909: } catch ( any e ) {<br>
910: rethrow;<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf$1b1.udfCall(/testbox/system/runners/BDDRunner.cfc:222)}, codePrintPlain={220: suiteStats=thread.suiteStats,
221: runner=this
222: );
223:
224: // verify call backs
}, column={0}, line={222}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={220: suiteStats=thread.suiteStats,<br>
221: runner=this<br>
<b>222: );</b><br>
223: <br>
224: // verify call backs<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf$1b1.udfCall(/testbox/system/runners/BDDRunner.cfc:84)}, codePrintPlain={82: testResults=arguments.testResults,
83: bundleStats=bundleStats,
84: callbacks=arguments.callbacks
85: );
86:
}, column={0}, line={84}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={82: testResults=arguments.testResults,<br>
83: bundleStats=bundleStats,<br>
<b>84: callbacks=arguments.callbacks</b><br>
85: );<br>
86: <br>
}}, {Raw_Trace={system.testbox_cfc$cf$19u.udfCall2(/testbox/system/TestBox.cfc:474)}, codePrintPlain={472: // Run via BDD Style
473: new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )
474: .run( target, arguments.testResults, arguments.callbacks );
475: }
476: else{
}, column={0}, line={474}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={472: // Run via BDD Style<br>
473: new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )<br>
<b>474: .run( target, arguments.testResults, arguments.callbacks );</b><br>
475: }<br>
476: else{<br>
}}, {Raw_Trace={system.testbox_cfc$cf$19u.udfCall1(/testbox/system/TestBox.cfc:252)}, codePrintPlain={250: bundlePath = thisBundlePath,
251: testResults = results,
252: callbacks = arguments.callbacks
253: );
254:
}, column={0}, line={252}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={250: bundlePath = thisBundlePath,<br>
251: testResults = results,<br>
<b>252: callbacks = arguments.callbacks</b><br>
253: );<br>
254: <br>
}}, {Raw_Trace={system.testbox_cfc$cf$19u.udfCall1(/testbox/system/TestBox.cfc:161)}, codePrintPlain={159: if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }
160: // run it and get results
161: var results = runRaw( argumentCollection=arguments );
162: // store latest results
163: variables.result = results;
}, column={0}, line={161}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={159: if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }<br>
160: // run it and get results<br>
<b>161: var results = runRaw( argumentCollection=arguments );</b><br>
162: // store latest results<br>
163: variables.result = results;<br>
}}, {Raw_Trace={_testrunner_cfc$cf$5.udfCall(/test/_testRunner.cfc:294)}, codePrintPlain={292: ,onSpecEnd = function( bundle, testResults, suite, spec ){}*/
293: } // callbacks
294: ); // report = tb.run
295:
296: // get the result
}, column={0}, line={294}, template={/home/runner/work/Lucee/Lucee/test/_testRunner.cfc}, id={??}, type={cfml}, codePrintHTML={292: ,onSpecEnd = function( bundle, testResults, suite, spec ){}*/<br>
293: } // callbacks<br>
<b>294: ); // report = tb.run</b><br>
295: <br>
296: // get the result<br>
}}, {Raw_Trace={run_tests_cfm180$cf$1.call(/test/run-tests.cfm:348)}, codePrintPlain={346: systemOutput(NL & "-------------- Start Tests -----------", true);
347: silent {
348: testResults = new test._testRunner().runTests();
349: }
350:
}, column={0}, line={348}, template={/home/runner/work/Lucee/Lucee/test/run-tests.cfm}, id={??}, type={cfml}, codePrintHTML={346: systemOutput(NL & "-------------- Start Tests -----------", true);<br>
347: silent {<br>
<b>348: testResults = new test._testRunner().runTests();</b><br>
349: }<br>
350: <br>
}}]
Loading