Skip to content

LDEV-4867 test without changes #1252

LDEV-4867 test without changes

LDEV-4867 test without changes #1252

GitHub Actions / Lucee Test Results failed Jul 1, 2024 in 0s

3 errors, 3 fail, 194 skipped, 3 550 pass in 3m 31s

    1 files  1 443 suites   3m 31s ⏱️
3 750 tests 3 550 ✅ 194 💤 3 ❌ 3 🔥
3 871 runs  3 649 ✅ 215 💤 3 ❌ 4 🔥

Results for commit 9210e4d.

Annotations

Check warning on line 0 in test.tickets.LDEV4867

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

test query parsing, removing comments (test.tickets.LDEV4867) failed

test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
The needle [-- foo] was not found in [/* bar */ SELECT engine from qry where id = ?]

					[{Raw_Trace={system.assertion_cfc$cf.udfCall1(/testbox/system/Assertion.cfc:16)}, codePrintPlain={14: 	function fail( message="" ){
15: 		arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );
16: 		throw(type="TestBox.AssertionFailed", message=arguments.message);
17: 	}
18: 
}, column={0}, line={16}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={14: &nbsp;&nbsp;&nbsp;function&nbsp;fail(&nbsp;message=&quot;&quot;&nbsp;){<br>
15: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.message&nbsp;=&nbsp;(&nbsp;len(&nbsp;arguments.message&nbsp;)&nbsp;?&nbsp;arguments.message&nbsp;:&nbsp;&quot;A&nbsp;test&nbsp;failure&nbsp;occurred&quot;&nbsp;);<br>
<b>16: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw(type=&quot;TestBox.AssertionFailed&quot;,&nbsp;message=arguments.message);</b><br>
17: &nbsp;&nbsp;&nbsp;}<br>
18: <br>
}}, {Raw_Trace={system.assertion_cfc$cf.udfCall4(/testbox/system/Assertion.cfc:508)}, codePrintPlain={506: 		}
507: 
508: 		fail( arguments.message );
509: 	}
510: 
}, column={0}, line={508}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={506: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
507: <br>
<b>508: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fail(&nbsp;arguments.message&nbsp;);</b><br>
509: &nbsp;&nbsp;&nbsp;}<br>
510: <br>
}}, {Raw_Trace={system.expectation_cfc$cf.udfCall3(/testbox/system/Expectation.cfc:382)}, codePrintPlain={380: 			variables.assert.notIncludes( argumentCollection=arguments );
381: 		} else {
382: 			variables.assert.includes( argumentCollection=arguments );
383: 		}
384: 		return this;
}, column={0}, line={382}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Expectation.cfc}, id={??}, type={cfml}, codePrintHTML={380: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.assert.notIncludes(&nbsp;argumentCollection=arguments&nbsp;);<br>
381: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br>
<b>382: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.assert.includes(&nbsp;argumentCollection=arguments&nbsp;);</b><br>
383: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
384: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;this;<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:110)}, codePrintPlain={108: 		var db = doQuery( arguments.sql, arguments.whitespaceDesc, "" );
109: 		for ( var comment in arguments.comments ){
110: 			expect ( db.result.sql ).toInclude( comment );
111: 		}
112: 		expect( db.rs.engine ).toBe( "lucee" );
}, column={0}, line={110}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={108: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;db&nbsp;=&nbsp;doQuery(&nbsp;arguments.sql,&nbsp;arguments.whitespaceDesc,&nbsp;&quot;&quot;&nbsp;);<br>
109: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(&nbsp;var&nbsp;comment&nbsp;in&nbsp;arguments.comments&nbsp;){<br>
<b>110: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect&nbsp;(&nbsp;db.result.sql&nbsp;).toInclude(&nbsp;comment&nbsp;);</b><br>
111: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
112: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect(&nbsp;db.rs.engine&nbsp;).toBe(&nbsp;&quot;lucee&quot;&nbsp;);<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)}, codePrintPlain={88: 	private function executeTest( string sql, array comments, string seperatorWhitespace ){
89: 		_executeTest( arguments.sql, arguments.comments,
90: 			arguments.seperatorWhitespace & ", no extra" );
91: 		_executeTest( " " & chr( 10 ) & arguments.sql, arguments.comments,
92: 			arguments.seperatorWhitespace & ", leading SPACE LF" );
}, column={0}, line={90}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={88: &nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;executeTest(&nbsp;string&nbsp;sql,&nbsp;array&nbsp;comments,&nbsp;string&nbsp;seperatorWhitespace&nbsp;){<br>
89: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_executeTest(&nbsp;arguments.sql,&nbsp;arguments.comments,<br>
<b>90: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.seperatorWhitespace&nbsp;&amp;&nbsp;&quot;,&nbsp;no&nbsp;extra&quot;&nbsp;);</b><br>
91: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_executeTest(&nbsp;&quot;&nbsp;&quot;&nbsp;&amp;&nbsp;chr(&nbsp;10&nbsp;)&nbsp;&amp;&nbsp;arguments.sql,&nbsp;arguments.comments,<br>
92: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.seperatorWhitespace&nbsp;&amp;&nbsp;&quot;,&nbsp;leading&nbsp;SPACE&nbsp;LF&quot;&nbsp;);<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)}, codePrintPlain={65: 	private function doTest( array sql, array comments ){
66: 		var newlines = ArrayToList( arguments.sql, chr( 10 ) );
67: 		executeTest( newlines, comments, "[LF]" );
68: 
69: 		var paddedNewlines = ArrayToList( arguments.sql, " " & chr( 10 ) & " " );
}, column={0}, line={67}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={65: &nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;doTest(&nbsp;array&nbsp;sql,&nbsp;array&nbsp;comments&nbsp;){<br>
66: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;newlines&nbsp;=&nbsp;ArrayToList(&nbsp;arguments.sql,&nbsp;chr(&nbsp;10&nbsp;)&nbsp;);<br>
<b>67: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;executeTest(&nbsp;newlines,&nbsp;comments,&nbsp;&quot;[LF]&quot;&nbsp;);</b><br>
68: <br>
69: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;paddedNewlines&nbsp;=&nbsp;ArrayToList(&nbsp;arguments.sql,&nbsp;&quot;&nbsp;&quot;&nbsp;&amp;&nbsp;chr(&nbsp;10&nbsp;)&nbsp;&amp;&nbsp;&quot;&nbsp;&quot;&nbsp;);<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:25)}, codePrintPlain={23: 				doTest( ["-- foo", "/* bar */", "SELECT engine from qry where id = :id "]
24: 					,[ "-- foo" , "/* bar */" ]
25: 				);
26: 			});
27: 
}, column={0}, line={25}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={23: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;doTest(&nbsp;[&quot;--&nbsp;foo&quot;,&nbsp;&quot;/*&nbsp;bar&nbsp;*/&quot;,&nbsp;&quot;SELECT&nbsp;engine&nbsp;from&nbsp;qry&nbsp;where&nbsp;id&nbsp;=&nbsp;:id&nbsp;&quot;]<br>
24: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,[&nbsp;&quot;--&nbsp;foo&quot;&nbsp;,&nbsp;&quot;/*&nbsp;bar&nbsp;*/&quot;&nbsp;]<br>
<b>25: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</b><br>
26: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});<br>
27: <br>
}}, {Raw_Trace={system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)}, codePrintPlain={565: 					} else {
566: 						// Execute the Spec body
567: 						arguments.spec.body( data=arguments.spec.data );
568: 					}
569: 				} catch( any e ){
}, column={0}, line={567}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={565: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br>
566: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Execute&nbsp;the&nbsp;Spec&nbsp;body<br>
<b>567: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.spec.body(&nbsp;data=arguments.spec.data&nbsp;);</b><br>
568: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
569: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch(&nbsp;any&nbsp;e&nbsp;){<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)}, codePrintPlain={202: 						suiteStats=thread.suiteStats,
203: 						runner=this 
204: 					);
205: 
206: 					// verify call backs
}, column={0}, line={204}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={202: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;suiteStats=thread.suiteStats,<br>
203: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;runner=this&nbsp;<br>
<b>204: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</b><br>
205: <br>
206: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;verify&nbsp;call&nbsp;backs<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)}, codePrintPlain={73: 						testResults=arguments.testResults,
74: 						bundleStats=bundleStats,
75: 						callbacks=arguments.callbacks
76: 					);
77: 
}, column={0}, line={75}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={73: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults=arguments.testResults,<br>
74: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bundleStats=bundleStats,<br>
<b>75: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callbacks=arguments.callbacks</b><br>
76: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
77: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)}, codePrintPlain={362: 			// Run via BDD Style
363: 			new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )
364: 				.run( target, arguments.testResults, arguments.callbacks );
365: 		}
366: 		else{
}, column={0}, line={364}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={362: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Run&nbsp;via&nbsp;BDD&nbsp;Style<br>
363: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;testbox.system.runners.BDDRunner(&nbsp;options=variables.options,&nbsp;testbox=this&nbsp;)<br>
<b>364: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.run(&nbsp;target,&nbsp;arguments.testResults,&nbsp;arguments.callbacks&nbsp;);</b><br>
365: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
366: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else{<br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)}, codePrintPlain={168: 		for( var thisBundlePath in variables.bundles ){
169: 			// Execute Bundle
170: 			testBundle( bundlePath=thisBundlePath, testResults=results, callbacks=arguments.callbacks );
171: 		}
172: 
}, column={0}, line={170}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={168: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for(&nbsp;var&nbsp;thisBundlePath&nbsp;in&nbsp;variables.bundles&nbsp;){<br>
169: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Execute&nbsp;Bundle<br>
<b>170: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testBundle(&nbsp;bundlePath=thisBundlePath,&nbsp;testResults=results,&nbsp;callbacks=arguments.callbacks&nbsp;);</b><br>
171: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
172: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)}, codePrintPlain={96: 		if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }
97: 		// run it and get results
98: 		var results = runRaw( argumentCollection=arguments );
99: 		// store latest results
100:         variables.result = results;
}, column={0}, line={98}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={96: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;!isNull(&nbsp;arguments.reporter&nbsp;)&nbsp;){&nbsp;variables.reporter&nbsp;=&nbsp;arguments.reporter;&nbsp;}<br>
97: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;run&nbsp;it&nbsp;and&nbsp;get&nbsp;results<br>
<b>98: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;results&nbsp;=&nbsp;runRaw(&nbsp;argumentCollection=arguments&nbsp;);</b><br>
99: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;store&nbsp;latest&nbsp;results<br>
100: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.result&nbsp;=&nbsp;results;<br>
}}, {Raw_Trace={_testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)}, codePrintPlain={281: 	,onSpecEnd 		= function( bundle, testResults, suite, spec ){}*/
282: } // callbacks
283: 			); // report = tb.run
284: 
285: 	 		// get the result
}, column={0}, line={283}, template={/home/runner/work/Lucee/Lucee/test/_testRunner.cfc}, id={??}, type={cfml}, codePrintHTML={281: &nbsp;&nbsp;&nbsp;,onSpecEnd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;function(&nbsp;bundle,&nbsp;testResults,&nbsp;suite,&nbsp;spec&nbsp;){}*/<br>
282: }&nbsp;//&nbsp;callbacks<br>
<b>283: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);&nbsp;//&nbsp;report&nbsp;=&nbsp;tb.run</b><br>
284: <br>
285: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;get&nbsp;the&nbsp;result<br>
}}, {Raw_Trace={run_tests_cfm180$cf.call(/test/run-tests.cfm:284)}, codePrintPlain={282: 	systemOutput(NL & "-------------- Start Tests -----------", true);
283: 	silent {
284: 		testResults = new test._testRunner().runTests();
285: 	}
286: 
}, column={0}, line={284}, template={/home/runner/work/Lucee/Lucee/test/run-tests.cfm}, id={??}, type={cfml}, codePrintHTML={282: &nbsp;&nbsp;&nbsp;systemOutput(NL&nbsp;&amp;&nbsp;&quot;--------------&nbsp;Start&nbsp;Tests&nbsp;-----------&quot;,&nbsp;true);<br>
283: &nbsp;&nbsp;&nbsp;silent&nbsp;{<br>
<b>284: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults&nbsp;=&nbsp;new&nbsp;test._testRunner().runTests();</b><br>
285: &nbsp;&nbsp;&nbsp;}<br>
286: <br>
}}]

Check failure on line 0 in test.tickets.LDEV4867

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

All 2 runs with error: test query parsing, with a ? in a comment (test.tickets.LDEV4867)

test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
there are more question marks in the SQL than params defined

					lucee.runtime.exp.ApplicationException: there are more question marks in the SQL than params defined
	at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:193)
	at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:73)
	at lucee.runtime.tag.Query._doEndTag(Query.java:589)
	at lucee.runtime.tag.Query.doEndTag(Query.java:562)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:126)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:108)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:31)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.EnvUDF.callWithNamedValues(EnvUDF.java:83)
	at lucee.runtime.type.util.StructSupport.callWithNamedValues(StructSupport.java:286)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)
	at system.basespec_cfc$cf.udfCall(/testbox/system/BaseSpec.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at _testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at run_tests_cfm180$cf.call(/test/run-tests.cfm:284)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1060)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:952)
	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:933)
	at 10abffm4osc5b.call(Unknown Source)
	at lucee.runtime.compiler.Renderer.tag(Renderer.java:107)
	at lucee.runtime.compiler.Renderer.script(Renderer.java:97)
	at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:65)
	at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:220)
	at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:154)
	at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:86)
	at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:54)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
	at org.apache.tools.ant.Main.runBuild(Main.java:818)
	at org.apache.tools.ant.Main.startAnt(Main.java:223)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

Check failure on line 0 in test.tickets.LDEV4867

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

test query parsing, with a ? in a /* */ comment (test.tickets.LDEV4867) with error

test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
there are more question marks in the SQL than params defined

					lucee.runtime.exp.ApplicationException: there are more question marks in the SQL than params defined
	at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:193)
	at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:73)
	at lucee.runtime.tag.Query._doEndTag(Query.java:589)
	at lucee.runtime.tag.Query.doEndTag(Query.java:562)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:126)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:108)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:36)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.EnvUDF.callWithNamedValues(EnvUDF.java:83)
	at lucee.runtime.type.util.StructSupport.callWithNamedValues(StructSupport.java:286)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)
	at system.basespec_cfc$cf.udfCall(/testbox/system/BaseSpec.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at _testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at run_tests_cfm180$cf.call(/test/run-tests.cfm:284)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1060)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:952)
	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:933)
	at 10abffm4osc5b.call(Unknown Source)
	at lucee.runtime.compiler.Renderer.tag(Renderer.java:107)
	at lucee.runtime.compiler.Renderer.script(Renderer.java:97)
	at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:65)
	at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:220)
	at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:154)
	at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:86)
	at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:54)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
	at org.apache.tools.ant.Main.runBuild(Main.java:818)
	at org.apache.tools.ant.Main.startAnt(Main.java:223)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

Check failure on line 0 in test.tickets.LDEV4867

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

test query parsing, with a ? and : in a comment (test.tickets.LDEV4867) with error

test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
there are more question marks in the SQL than params defined

					lucee.runtime.exp.ApplicationException: there are more question marks in the SQL than params defined
	at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:193)
	at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:73)
	at lucee.runtime.tag.Query._doEndTag(Query.java:589)
	at lucee.runtime.tag.Query.doEndTag(Query.java:562)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:126)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:108)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:42)
	at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.EnvUDF.callWithNamedValues(EnvUDF.java:83)
	at lucee.runtime.type.util.StructSupport.callWithNamedValues(StructSupport.java:286)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)
	at system.basespec_cfc$cf.udfCall(/testbox/system/BaseSpec.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
	at _testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
	at run_tests_cfm180$cf.call(/test/run-tests.cfm:284)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1060)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:952)
	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:933)
	at 10abffm4osc5b.call(Unknown Source)
	at lucee.runtime.compiler.Renderer.tag(Renderer.java:107)
	at lucee.runtime.compiler.Renderer.script(Renderer.java:97)
	at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:65)
	at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:220)
	at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:154)
	at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:86)
	at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:54)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
	at org.apache.tools.ant.Main.runBuild(Main.java:818)
	at org.apache.tools.ant.Main.startAnt(Main.java:223)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

Check warning on line 0 in test.tickets.LDEV4867

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

test query parsing, with a ? in a trailing line comment (test.tickets.LDEV4867) failed

test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
The needle [-- foo ? :do] was not found in [SELECT engine  from qry where id = ? ]

					[{Raw_Trace={system.assertion_cfc$cf.udfCall1(/testbox/system/Assertion.cfc:16)}, codePrintPlain={14: 	function fail( message="" ){
15: 		arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );
16: 		throw(type="TestBox.AssertionFailed", message=arguments.message);
17: 	}
18: 
}, column={0}, line={16}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={14: &nbsp;&nbsp;&nbsp;function&nbsp;fail(&nbsp;message=&quot;&quot;&nbsp;){<br>
15: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.message&nbsp;=&nbsp;(&nbsp;len(&nbsp;arguments.message&nbsp;)&nbsp;?&nbsp;arguments.message&nbsp;:&nbsp;&quot;A&nbsp;test&nbsp;failure&nbsp;occurred&quot;&nbsp;);<br>
<b>16: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw(type=&quot;TestBox.AssertionFailed&quot;,&nbsp;message=arguments.message);</b><br>
17: &nbsp;&nbsp;&nbsp;}<br>
18: <br>
}}, {Raw_Trace={system.assertion_cfc$cf.udfCall4(/testbox/system/Assertion.cfc:508)}, codePrintPlain={506: 		}
507: 
508: 		fail( arguments.message );
509: 	}
510: 
}, column={0}, line={508}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={506: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
507: <br>
<b>508: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fail(&nbsp;arguments.message&nbsp;);</b><br>
509: &nbsp;&nbsp;&nbsp;}<br>
510: <br>
}}, {Raw_Trace={system.expectation_cfc$cf.udfCall3(/testbox/system/Expectation.cfc:382)}, codePrintPlain={380: 			variables.assert.notIncludes( argumentCollection=arguments );
381: 		} else {
382: 			variables.assert.includes( argumentCollection=arguments );
383: 		}
384: 		return this;
}, column={0}, line={382}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Expectation.cfc}, id={??}, type={cfml}, codePrintHTML={380: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.assert.notIncludes(&nbsp;argumentCollection=arguments&nbsp;);<br>
381: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br>
<b>382: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.assert.includes(&nbsp;argumentCollection=arguments&nbsp;);</b><br>
383: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
384: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;this;<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:110)}, codePrintPlain={108: 		var db = doQuery( arguments.sql, arguments.whitespaceDesc, "" );
109: 		for ( var comment in arguments.comments ){
110: 			expect ( db.result.sql ).toInclude( comment );
111: 		}
112: 		expect( db.rs.engine ).toBe( "lucee" );
}, column={0}, line={110}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={108: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;db&nbsp;=&nbsp;doQuery(&nbsp;arguments.sql,&nbsp;arguments.whitespaceDesc,&nbsp;&quot;&quot;&nbsp;);<br>
109: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(&nbsp;var&nbsp;comment&nbsp;in&nbsp;arguments.comments&nbsp;){<br>
<b>110: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect&nbsp;(&nbsp;db.result.sql&nbsp;).toInclude(&nbsp;comment&nbsp;);</b><br>
111: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
112: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect(&nbsp;db.rs.engine&nbsp;).toBe(&nbsp;&quot;lucee&quot;&nbsp;);<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)}, codePrintPlain={88: 	private function executeTest( string sql, array comments, string seperatorWhitespace ){
89: 		_executeTest( arguments.sql, arguments.comments,
90: 			arguments.seperatorWhitespace & ", no extra" );
91: 		_executeTest( " " & chr( 10 ) & arguments.sql, arguments.comments,
92: 			arguments.seperatorWhitespace & ", leading SPACE LF" );
}, column={0}, line={90}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={88: &nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;executeTest(&nbsp;string&nbsp;sql,&nbsp;array&nbsp;comments,&nbsp;string&nbsp;seperatorWhitespace&nbsp;){<br>
89: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_executeTest(&nbsp;arguments.sql,&nbsp;arguments.comments,<br>
<b>90: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.seperatorWhitespace&nbsp;&amp;&nbsp;&quot;,&nbsp;no&nbsp;extra&quot;&nbsp;);</b><br>
91: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_executeTest(&nbsp;&quot;&nbsp;&quot;&nbsp;&amp;&nbsp;chr(&nbsp;10&nbsp;)&nbsp;&amp;&nbsp;arguments.sql,&nbsp;arguments.comments,<br>
92: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.seperatorWhitespace&nbsp;&amp;&nbsp;&quot;,&nbsp;leading&nbsp;SPACE&nbsp;LF&quot;&nbsp;);<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)}, codePrintPlain={65: 	private function doTest( array sql, array comments ){
66: 		var newlines = ArrayToList( arguments.sql, chr( 10 ) );
67: 		executeTest( newlines, comments, "[LF]" );
68: 
69: 		var paddedNewlines = ArrayToList( arguments.sql, " " & chr( 10 ) & " " );
}, column={0}, line={67}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={65: &nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;doTest(&nbsp;array&nbsp;sql,&nbsp;array&nbsp;comments&nbsp;){<br>
66: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;newlines&nbsp;=&nbsp;ArrayToList(&nbsp;arguments.sql,&nbsp;chr(&nbsp;10&nbsp;)&nbsp;);<br>
<b>67: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;executeTest(&nbsp;newlines,&nbsp;comments,&nbsp;&quot;[LF]&quot;&nbsp;);</b><br>
68: <br>
69: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;paddedNewlines&nbsp;=&nbsp;ArrayToList(&nbsp;arguments.sql,&nbsp;&quot;&nbsp;&quot;&nbsp;&amp;&nbsp;chr(&nbsp;10&nbsp;)&nbsp;&amp;&nbsp;&quot;&nbsp;&quot;&nbsp;);<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:54)}, codePrintPlain={52: 				doTest( [ "SELECT engine"," from qry", "where id = :id",  "-- foo ? :do" ],
53: 					[ "-- foo ? :do" ]
54: 				);
55: 			});
56: 
}, column={0}, line={54}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={52: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;doTest(&nbsp;[&nbsp;&quot;SELECT&nbsp;engine&quot;,&quot;&nbsp;from&nbsp;qry&quot;,&nbsp;&quot;where&nbsp;id&nbsp;=&nbsp;:id&quot;,&nbsp;&nbsp;&quot;--&nbsp;foo&nbsp;?&nbsp;:do&quot;&nbsp;],<br>
53: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;&quot;--&nbsp;foo&nbsp;?&nbsp;:do&quot;&nbsp;]<br>
<b>54: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</b><br>
55: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});<br>
56: <br>
}}, {Raw_Trace={system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)}, codePrintPlain={565: 					} else {
566: 						// Execute the Spec body
567: 						arguments.spec.body( data=arguments.spec.data );
568: 					}
569: 				} catch( any e ){
}, column={0}, line={567}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={565: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br>
566: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Execute&nbsp;the&nbsp;Spec&nbsp;body<br>
<b>567: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.spec.body(&nbsp;data=arguments.spec.data&nbsp;);</b><br>
568: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
569: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch(&nbsp;any&nbsp;e&nbsp;){<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)}, codePrintPlain={202: 						suiteStats=thread.suiteStats,
203: 						runner=this 
204: 					);
205: 
206: 					// verify call backs
}, column={0}, line={204}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={202: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;suiteStats=thread.suiteStats,<br>
203: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;runner=this&nbsp;<br>
<b>204: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</b><br>
205: <br>
206: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;verify&nbsp;call&nbsp;backs<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)}, codePrintPlain={73: 						testResults=arguments.testResults,
74: 						bundleStats=bundleStats,
75: 						callbacks=arguments.callbacks
76: 					);
77: 
}, column={0}, line={75}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={73: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults=arguments.testResults,<br>
74: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bundleStats=bundleStats,<br>
<b>75: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callbacks=arguments.callbacks</b><br>
76: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
77: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)}, codePrintPlain={362: 			// Run via BDD Style
363: 			new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )
364: 				.run( target, arguments.testResults, arguments.callbacks );
365: 		}
366: 		else{
}, column={0}, line={364}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={362: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Run&nbsp;via&nbsp;BDD&nbsp;Style<br>
363: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;testbox.system.runners.BDDRunner(&nbsp;options=variables.options,&nbsp;testbox=this&nbsp;)<br>
<b>364: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.run(&nbsp;target,&nbsp;arguments.testResults,&nbsp;arguments.callbacks&nbsp;);</b><br>
365: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
366: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else{<br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)}, codePrintPlain={168: 		for( var thisBundlePath in variables.bundles ){
169: 			// Execute Bundle
170: 			testBundle( bundlePath=thisBundlePath, testResults=results, callbacks=arguments.callbacks );
171: 		}
172: 
}, column={0}, line={170}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={168: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for(&nbsp;var&nbsp;thisBundlePath&nbsp;in&nbsp;variables.bundles&nbsp;){<br>
169: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Execute&nbsp;Bundle<br>
<b>170: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testBundle(&nbsp;bundlePath=thisBundlePath,&nbsp;testResults=results,&nbsp;callbacks=arguments.callbacks&nbsp;);</b><br>
171: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
172: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)}, codePrintPlain={96: 		if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }
97: 		// run it and get results
98: 		var results = runRaw( argumentCollection=arguments );
99: 		// store latest results
100:         variables.result = results;
}, column={0}, line={98}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={96: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;!isNull(&nbsp;arguments.reporter&nbsp;)&nbsp;){&nbsp;variables.reporter&nbsp;=&nbsp;arguments.reporter;&nbsp;}<br>
97: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;run&nbsp;it&nbsp;and&nbsp;get&nbsp;results<br>
<b>98: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;results&nbsp;=&nbsp;runRaw(&nbsp;argumentCollection=arguments&nbsp;);</b><br>
99: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;store&nbsp;latest&nbsp;results<br>
100: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.result&nbsp;=&nbsp;results;<br>
}}, {Raw_Trace={_testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)}, codePrintPlain={281: 	,onSpecEnd 		= function( bundle, testResults, suite, spec ){}*/
282: } // callbacks
283: 			); // report = tb.run
284: 
285: 	 		// get the result
}, column={0}, line={283}, template={/home/runner/work/Lucee/Lucee/test/_testRunner.cfc}, id={??}, type={cfml}, codePrintHTML={281: &nbsp;&nbsp;&nbsp;,onSpecEnd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;function(&nbsp;bundle,&nbsp;testResults,&nbsp;suite,&nbsp;spec&nbsp;){}*/<br>
282: }&nbsp;//&nbsp;callbacks<br>
<b>283: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);&nbsp;//&nbsp;report&nbsp;=&nbsp;tb.run</b><br>
284: <br>
285: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;get&nbsp;the&nbsp;result<br>
}}, {Raw_Trace={run_tests_cfm180$cf.call(/test/run-tests.cfm:284)}, codePrintPlain={282: 	systemOutput(NL & "-------------- Start Tests -----------", true);
283: 	silent {
284: 		testResults = new test._testRunner().runTests();
285: 	}
286: 
}, column={0}, line={284}, template={/home/runner/work/Lucee/Lucee/test/run-tests.cfm}, id={??}, type={cfml}, codePrintHTML={282: &nbsp;&nbsp;&nbsp;systemOutput(NL&nbsp;&amp;&nbsp;&quot;--------------&nbsp;Start&nbsp;Tests&nbsp;-----------&quot;,&nbsp;true);<br>
283: &nbsp;&nbsp;&nbsp;silent&nbsp;{<br>
<b>284: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults&nbsp;=&nbsp;new&nbsp;test._testRunner().runTests();</b><br>
285: &nbsp;&nbsp;&nbsp;}<br>
286: <br>
}}]

Check warning on line 0 in test.tickets.LDEV4867

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

test query parsing, with a ? in a trailing comment block (test.tickets.LDEV4867) failed

test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
The needle [/* foo ? :do */] was not found in [SELECT engine  from qry where id = ? ]

					[{Raw_Trace={system.assertion_cfc$cf.udfCall1(/testbox/system/Assertion.cfc:16)}, codePrintPlain={14: 	function fail( message="" ){
15: 		arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );
16: 		throw(type="TestBox.AssertionFailed", message=arguments.message);
17: 	}
18: 
}, column={0}, line={16}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={14: &nbsp;&nbsp;&nbsp;function&nbsp;fail(&nbsp;message=&quot;&quot;&nbsp;){<br>
15: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.message&nbsp;=&nbsp;(&nbsp;len(&nbsp;arguments.message&nbsp;)&nbsp;?&nbsp;arguments.message&nbsp;:&nbsp;&quot;A&nbsp;test&nbsp;failure&nbsp;occurred&quot;&nbsp;);<br>
<b>16: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw(type=&quot;TestBox.AssertionFailed&quot;,&nbsp;message=arguments.message);</b><br>
17: &nbsp;&nbsp;&nbsp;}<br>
18: <br>
}}, {Raw_Trace={system.assertion_cfc$cf.udfCall4(/testbox/system/Assertion.cfc:508)}, codePrintPlain={506: 		}
507: 
508: 		fail( arguments.message );
509: 	}
510: 
}, column={0}, line={508}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={506: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
507: <br>
<b>508: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fail(&nbsp;arguments.message&nbsp;);</b><br>
509: &nbsp;&nbsp;&nbsp;}<br>
510: <br>
}}, {Raw_Trace={system.expectation_cfc$cf.udfCall3(/testbox/system/Expectation.cfc:382)}, codePrintPlain={380: 			variables.assert.notIncludes( argumentCollection=arguments );
381: 		} else {
382: 			variables.assert.includes( argumentCollection=arguments );
383: 		}
384: 		return this;
}, column={0}, line={382}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Expectation.cfc}, id={??}, type={cfml}, codePrintHTML={380: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.assert.notIncludes(&nbsp;argumentCollection=arguments&nbsp;);<br>
381: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br>
<b>382: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.assert.includes(&nbsp;argumentCollection=arguments&nbsp;);</b><br>
383: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
384: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;this;<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:110)}, codePrintPlain={108: 		var db = doQuery( arguments.sql, arguments.whitespaceDesc, "" );
109: 		for ( var comment in arguments.comments ){
110: 			expect ( db.result.sql ).toInclude( comment );
111: 		}
112: 		expect( db.rs.engine ).toBe( "lucee" );
}, column={0}, line={110}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={108: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;db&nbsp;=&nbsp;doQuery(&nbsp;arguments.sql,&nbsp;arguments.whitespaceDesc,&nbsp;&quot;&quot;&nbsp;);<br>
109: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(&nbsp;var&nbsp;comment&nbsp;in&nbsp;arguments.comments&nbsp;){<br>
<b>110: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect&nbsp;(&nbsp;db.result.sql&nbsp;).toInclude(&nbsp;comment&nbsp;);</b><br>
111: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
112: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect(&nbsp;db.rs.engine&nbsp;).toBe(&nbsp;&quot;lucee&quot;&nbsp;);<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)}, codePrintPlain={88: 	private function executeTest( string sql, array comments, string seperatorWhitespace ){
89: 		_executeTest( arguments.sql, arguments.comments,
90: 			arguments.seperatorWhitespace & ", no extra" );
91: 		_executeTest( " " & chr( 10 ) & arguments.sql, arguments.comments,
92: 			arguments.seperatorWhitespace & ", leading SPACE LF" );
}, column={0}, line={90}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={88: &nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;executeTest(&nbsp;string&nbsp;sql,&nbsp;array&nbsp;comments,&nbsp;string&nbsp;seperatorWhitespace&nbsp;){<br>
89: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_executeTest(&nbsp;arguments.sql,&nbsp;arguments.comments,<br>
<b>90: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.seperatorWhitespace&nbsp;&amp;&nbsp;&quot;,&nbsp;no&nbsp;extra&quot;&nbsp;);</b><br>
91: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_executeTest(&nbsp;&quot;&nbsp;&quot;&nbsp;&amp;&nbsp;chr(&nbsp;10&nbsp;)&nbsp;&amp;&nbsp;arguments.sql,&nbsp;arguments.comments,<br>
92: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.seperatorWhitespace&nbsp;&amp;&nbsp;&quot;,&nbsp;leading&nbsp;SPACE&nbsp;LF&quot;&nbsp;);<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)}, codePrintPlain={65: 	private function doTest( array sql, array comments ){
66: 		var newlines = ArrayToList( arguments.sql, chr( 10 ) );
67: 		executeTest( newlines, comments, "[LF]" );
68: 
69: 		var paddedNewlines = ArrayToList( arguments.sql, " " & chr( 10 ) & " " );
}, column={0}, line={67}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={65: &nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;doTest(&nbsp;array&nbsp;sql,&nbsp;array&nbsp;comments&nbsp;){<br>
66: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;newlines&nbsp;=&nbsp;ArrayToList(&nbsp;arguments.sql,&nbsp;chr(&nbsp;10&nbsp;)&nbsp;);<br>
<b>67: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;executeTest(&nbsp;newlines,&nbsp;comments,&nbsp;&quot;[LF]&quot;&nbsp;);</b><br>
68: <br>
69: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;paddedNewlines&nbsp;=&nbsp;ArrayToList(&nbsp;arguments.sql,&nbsp;&quot;&nbsp;&quot;&nbsp;&amp;&nbsp;chr(&nbsp;10&nbsp;)&nbsp;&amp;&nbsp;&quot;&nbsp;&quot;&nbsp;);<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:60)}, codePrintPlain={58: 				doTest( [ "SELECT engine"," from qry", "where id = :id",  "/* foo ? :do */" ],
59: 					[ "/* foo ? :do */" ]
60: 				);
61: 			});
62: 		}); 
}, column={0}, line={60}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={58: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;doTest(&nbsp;[&nbsp;&quot;SELECT&nbsp;engine&quot;,&quot;&nbsp;from&nbsp;qry&quot;,&nbsp;&quot;where&nbsp;id&nbsp;=&nbsp;:id&quot;,&nbsp;&nbsp;&quot;/*&nbsp;foo&nbsp;?&nbsp;:do&nbsp;*/&quot;&nbsp;],<br>
59: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;&quot;/*&nbsp;foo&nbsp;?&nbsp;:do&nbsp;*/&quot;&nbsp;]<br>
<b>60: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</b><br>
61: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});<br>
62: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});&nbsp;<br>
}}, {Raw_Trace={system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)}, codePrintPlain={565: 					} else {
566: 						// Execute the Spec body
567: 						arguments.spec.body( data=arguments.spec.data );
568: 					}
569: 				} catch( any e ){
}, column={0}, line={567}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={565: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br>
566: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Execute&nbsp;the&nbsp;Spec&nbsp;body<br>
<b>567: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.spec.body(&nbsp;data=arguments.spec.data&nbsp;);</b><br>
568: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
569: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch(&nbsp;any&nbsp;e&nbsp;){<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)}, codePrintPlain={202: 						suiteStats=thread.suiteStats,
203: 						runner=this 
204: 					);
205: 
206: 					// verify call backs
}, column={0}, line={204}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={202: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;suiteStats=thread.suiteStats,<br>
203: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;runner=this&nbsp;<br>
<b>204: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</b><br>
205: <br>
206: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;verify&nbsp;call&nbsp;backs<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)}, codePrintPlain={73: 						testResults=arguments.testResults,
74: 						bundleStats=bundleStats,
75: 						callbacks=arguments.callbacks
76: 					);
77: 
}, column={0}, line={75}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={73: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults=arguments.testResults,<br>
74: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bundleStats=bundleStats,<br>
<b>75: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callbacks=arguments.callbacks</b><br>
76: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
77: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)}, codePrintPlain={362: 			// Run via BDD Style
363: 			new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )
364: 				.run( target, arguments.testResults, arguments.callbacks );
365: 		}
366: 		else{
}, column={0}, line={364}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={362: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Run&nbsp;via&nbsp;BDD&nbsp;Style<br>
363: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;testbox.system.runners.BDDRunner(&nbsp;options=variables.options,&nbsp;testbox=this&nbsp;)<br>
<b>364: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.run(&nbsp;target,&nbsp;arguments.testResults,&nbsp;arguments.callbacks&nbsp;);</b><br>
365: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
366: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else{<br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)}, codePrintPlain={168: 		for( var thisBundlePath in variables.bundles ){
169: 			// Execute Bundle
170: 			testBundle( bundlePath=thisBundlePath, testResults=results, callbacks=arguments.callbacks );
171: 		}
172: 
}, column={0}, line={170}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={168: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for(&nbsp;var&nbsp;thisBundlePath&nbsp;in&nbsp;variables.bundles&nbsp;){<br>
169: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Execute&nbsp;Bundle<br>
<b>170: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testBundle(&nbsp;bundlePath=thisBundlePath,&nbsp;testResults=results,&nbsp;callbacks=arguments.callbacks&nbsp;);</b><br>
171: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
172: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)}, codePrintPlain={96: 		if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }
97: 		// run it and get results
98: 		var results = runRaw( argumentCollection=arguments );
99: 		// store latest results
100:         variables.result = results;
}, column={0}, line={98}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={96: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;!isNull(&nbsp;arguments.reporter&nbsp;)&nbsp;){&nbsp;variables.reporter&nbsp;=&nbsp;arguments.reporter;&nbsp;}<br>
97: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;run&nbsp;it&nbsp;and&nbsp;get&nbsp;results<br>
<b>98: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;results&nbsp;=&nbsp;runRaw(&nbsp;argumentCollection=arguments&nbsp;);</b><br>
99: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;store&nbsp;latest&nbsp;results<br>
100: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.result&nbsp;=&nbsp;results;<br>
}}, {Raw_Trace={_testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)}, codePrintPlain={281: 	,onSpecEnd 		= function( bundle, testResults, suite, spec ){}*/
282: } // callbacks
283: 			); // report = tb.run
284: 
285: 	 		// get the result
}, column={0}, line={283}, template={/home/runner/work/Lucee/Lucee/test/_testRunner.cfc}, id={??}, type={cfml}, codePrintHTML={281: &nbsp;&nbsp;&nbsp;,onSpecEnd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;function(&nbsp;bundle,&nbsp;testResults,&nbsp;suite,&nbsp;spec&nbsp;){}*/<br>
282: }&nbsp;//&nbsp;callbacks<br>
<b>283: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);&nbsp;//&nbsp;report&nbsp;=&nbsp;tb.run</b><br>
284: <br>
285: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;get&nbsp;the&nbsp;result<br>
}}, {Raw_Trace={run_tests_cfm180$cf.call(/test/run-tests.cfm:284)}, codePrintPlain={282: 	systemOutput(NL & "-------------- Start Tests -----------", true);
283: 	silent {
284: 		testResults = new test._testRunner().runTests();
285: 	}
286: 
}, column={0}, line={284}, template={/home/runner/work/Lucee/Lucee/test/run-tests.cfm}, id={??}, type={cfml}, codePrintHTML={282: &nbsp;&nbsp;&nbsp;systemOutput(NL&nbsp;&amp;&nbsp;&quot;--------------&nbsp;Start&nbsp;Tests&nbsp;-----------&quot;,&nbsp;true);<br>
283: &nbsp;&nbsp;&nbsp;silent&nbsp;{<br>
<b>284: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults&nbsp;=&nbsp;new&nbsp;test._testRunner().runTests();</b><br>
285: &nbsp;&nbsp;&nbsp;}<br>
286: <br>
}}]