Skip to content

use Number instead of double for functions (will break things ;-) ) #7383

use Number instead of double for functions (will break things ;-) )

use Number instead of double for functions (will break things ;-) ) #7383

GitHub Actions / Lucee Test Results failed Sep 10, 2024 in 0s

3 fail, 190 skipped, 3 649 pass in 3m 22s

    1 files  ±0  1 461 suites  ±0   3m 22s ⏱️ -5s
3 842 tests ±0  3 649 ✅ +47  190 💤 ±0  3 ❌  - 3 
3 974 runs  ±0  3 761 ✅ +50  210 💤 ±0  3 ❌  - 3 

Results for commit 57cc79b. ± Comparison against earlier commit fe81f39.

Annotations

Check warning on line 0 in test.functions.Atn

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

Checking Atn() function (test.functions.Atn) failed

test/reports/junit-test-results-6.1.1.83-SNAPSHOT.xml [took 0s]
Raw output
Expected [0.291456794478] but received [0.2914567944778671]

					[{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.udfCall1(/testbox/system/Assertion.cfc:67)}, codePrintPlain={65: 			"Expected [#getStringName( arguments.expected )#] but received [#getStringName( arguments.actual )#]" );
66: 		// if we reach here, nothing is equal man!
67: 		fail( arguments.message );
68: 	}
69: 
}, column={0}, line={67}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={65: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Expected&nbsp;[#getStringName(&nbsp;arguments.expected&nbsp;)#]&nbsp;but&nbsp;received&nbsp;[#getStringName(&nbsp;arguments.actual&nbsp;)#]&quot;&nbsp;);<br>
66: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;if&nbsp;we&nbsp;reach&nbsp;here,&nbsp;nothing&nbsp;is&nbsp;equal&nbsp;man!<br>
<b>67: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fail(&nbsp;arguments.message&nbsp;);</b><br>
68: &nbsp;&nbsp;&nbsp;}<br>
69: <br>
}}, {Raw_Trace={system.compat.framework.testcase_cfc$cf.udfCall2(/testbox/system/compat/framework/TestCase.cfc:183)}, codePrintPlain={181: 	*/
182: 	function assertEquals( required any expected, required any actual, message="" ){
183: 		this.$assert.isEqual( arguments.expected, arguments.actual, arguments.message );
184: 	}
185: 
}, column={0}, line={183}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/compat/framework/TestCase.cfc}, id={??}, type={cfml}, codePrintHTML={181: &nbsp;&nbsp;&nbsp;*/<br>
182: &nbsp;&nbsp;&nbsp;function&nbsp;assertEquals(&nbsp;required&nbsp;any&nbsp;expected,&nbsp;required&nbsp;any&nbsp;actual,&nbsp;message=&quot;&quot;&nbsp;){<br>
<b>183: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.$assert.isEqual(&nbsp;arguments.expected,&nbsp;arguments.actual,&nbsp;arguments.message&nbsp;);</b><br>
184: &nbsp;&nbsp;&nbsp;}<br>
185: <br>
}}, {Raw_Trace={functions.atn_cfc$cf.udfCall(/test/functions/Atn.cfc:5)}, codePrintPlain={3: 		describe( title="Test suite for Atn()", body=function() {
4: 			it(title="Checking Atn() function", body = function( currentSpec ) {
5: 				assertEquals("0.291456794478",tostring(atn(0.3)));
6: 				assertEquals("0.915100700553",tostring(atn(1.3)));
7: 				assertEquals("-1.560796660108",tostring(atn(-100)));
}, column={0}, line={5}, template={/home/runner/work/Lucee/Lucee/test/functions/Atn.cfc}, id={??}, type={cfml}, codePrintHTML={3: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;describe(&nbsp;title=&quot;Test&nbsp;suite&nbsp;for&nbsp;Atn()&quot;,&nbsp;body=function()&nbsp;{<br>
4: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;it(title=&quot;Checking&nbsp;Atn()&nbsp;function&quot;,&nbsp;body&nbsp;=&nbsp;function(&nbsp;currentSpec&nbsp;)&nbsp;{<br>
<b>5: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assertEquals(&quot;0.291456794478&quot;,tostring(atn(0.3)));</b><br>
6: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assertEquals(&quot;0.915100700553&quot;,tostring(atn(1.3)));<br>
7: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assertEquals(&quot;-1.560796660108&quot;,tostring(atn(-100)));<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: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: &nbsp;&nbsp;&nbsp;systemOutput(NL&nbsp;&amp;&nbsp;&quot;--------------&nbsp;Start&nbsp;Tests&nbsp;-----------&quot;,&nbsp;true);<br>
347: &nbsp;&nbsp;&nbsp;silent&nbsp;{<br>
<b>348: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults&nbsp;=&nbsp;new&nbsp;test._testRunner().runTests();</b><br>
349: &nbsp;&nbsp;&nbsp;}<br>
350: <br>
}}]

Check warning on line 0 in test.functions.RandRange

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

Checking the randRange() function (test.functions.RandRange) failed

test/reports/junit-test-results-6.1.1.83-SNAPSHOT.xml [took 0s]
Raw output
The actual [51.9428293842868562] is not between [50] and [51]

					[{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.udfCall3(/testbox/system/Assertion.cfc:487)}, codePrintPlain={485: 		}
486: 
487: 		fail( arguments.message );
488: 	}
489: 
}, column={0}, line={487}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={485: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
486: <br>
<b>487: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fail(&nbsp;arguments.message&nbsp;);</b><br>
488: &nbsp;&nbsp;&nbsp;}<br>
489: <br>
}}, {Raw_Trace={system.expectation_cfc$cf.udfCall3(/testbox/system/Expectation.cfc:366)}, codePrintPlain={364: 			}
365: 		} else {
366: 			variables.assert.between( argumentCollection=arguments );
367: 		}
368: 		return this;
}, column={0}, line={366}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Expectation.cfc}, id={??}, type={cfml}, codePrintHTML={364: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
365: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br>
<b>366: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.assert.between(&nbsp;argumentCollection=arguments&nbsp;);</b><br>
367: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
368: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;this;<br>
}}, {Raw_Trace={functions.randrange_cfc$cf.udfCall(/test/functions/RandRange.cfc:5)}, codePrintPlain={3: 		describe(title="Testcase for randRange() function", body=function() {
4: 			it(title="Checking the randRange() function", body=function( currentSpec ) {
5: 				expect(randRange(50, 51)).toBeBetween(50, 51);
6: 				expect(randRange(25, 125, 'CFMX_COMPAT')).toBeBetween(25, 125);
7: 				expect(randRange(100, 500, 'SHA1PRNG')).toBeBetween(100, 500);
}, column={0}, line={5}, template={/home/runner/work/Lucee/Lucee/test/functions/RandRange.cfc}, id={??}, type={cfml}, codePrintHTML={3: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;describe(title=&quot;Testcase&nbsp;for&nbsp;randRange()&nbsp;function&quot;,&nbsp;body=function()&nbsp;{<br>
4: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;it(title=&quot;Checking&nbsp;the&nbsp;randRange()&nbsp;function&quot;,&nbsp;body=function(&nbsp;currentSpec&nbsp;)&nbsp;{<br>
<b>5: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect(randRange(50,&nbsp;51)).toBeBetween(50,&nbsp;51);</b><br>
6: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect(randRange(25,&nbsp;125,&nbsp;'CFMX_COMPAT')).toBeBetween(25,&nbsp;125);<br>
7: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect(randRange(100,&nbsp;500,&nbsp;'SHA1PRNG')).toBeBetween(100,&nbsp;500);<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: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: &nbsp;&nbsp;&nbsp;systemOutput(NL&nbsp;&amp;&nbsp;&quot;--------------&nbsp;Start&nbsp;Tests&nbsp;-----------&quot;,&nbsp;true);<br>
347: &nbsp;&nbsp;&nbsp;silent&nbsp;{<br>
<b>348: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults&nbsp;=&nbsp;new&nbsp;test._testRunner().runTests();</b><br>
349: &nbsp;&nbsp;&nbsp;}<br>
350: <br>
}}]

Check warning on line 0 in test.tickets.LDEV1824

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

checking Numeric member function (test.tickets.LDEV1824) failed

test/reports/junit-test-results-6.1.1.83-SNAPSHOT.xml [took 0s]
Raw output
Expected [-0.4480736161291702] but received [1491898561996736.8]

					[{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.udfCall1(/testbox/system/Assertion.cfc:67)}, codePrintPlain={65: 			"Expected [#getStringName( arguments.expected )#] but received [#getStringName( arguments.actual )#]" );
66: 		// if we reach here, nothing is equal man!
67: 		fail( arguments.message );
68: 	}
69: 
}, column={0}, line={67}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={65: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Expected&nbsp;[#getStringName(&nbsp;arguments.expected&nbsp;)#]&nbsp;but&nbsp;received&nbsp;[#getStringName(&nbsp;arguments.actual&nbsp;)#]&quot;&nbsp;);<br>
66: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;if&nbsp;we&nbsp;reach&nbsp;here,&nbsp;nothing&nbsp;is&nbsp;equal&nbsp;man!<br>
<b>67: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fail(&nbsp;arguments.message&nbsp;);</b><br>
68: &nbsp;&nbsp;&nbsp;}<br>
69: <br>
}}, {Raw_Trace={system.compat.framework.testcase_cfc$cf.udfCall2(/testbox/system/compat/framework/TestCase.cfc:183)}, codePrintPlain={181: 	*/
182: 	function assertEquals( required any expected, required any actual, message="" ){
183: 		this.$assert.isEqual( arguments.expected, arguments.actual, arguments.message );
184: 	}
185: 
}, column={0}, line={183}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/compat/framework/TestCase.cfc}, id={??}, type={cfml}, codePrintHTML={181: &nbsp;&nbsp;&nbsp;*/<br>
182: &nbsp;&nbsp;&nbsp;function&nbsp;assertEquals(&nbsp;required&nbsp;any&nbsp;expected,&nbsp;required&nbsp;any&nbsp;actual,&nbsp;message=&quot;&quot;&nbsp;){<br>
<b>183: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.$assert.isEqual(&nbsp;arguments.expected,&nbsp;arguments.actual,&nbsp;arguments.message&nbsp;);</b><br>
184: &nbsp;&nbsp;&nbsp;}<br>
185: <br>
}}, {Raw_Trace={tickets.ldev1824_cfc$cf.udfCall(/test/tickets/LDEV1824.cfc:23)}, codePrintPlain={21: 				assertEquals(250, z.bitXor(5));
22: 				assertEquals(1, y.ceiling());
23: 				assertEquals(-0.4480736161291702, k.cos());
24: 				//assertEquals(22026.465794806718, x.exp());
25: 				assertEquals(0 , y.fix());
}, column={0}, line={23}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV1824.cfc}, id={??}, type={cfml}, codePrintHTML={21: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assertEquals(250,&nbsp;z.bitXor(5));<br>
22: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assertEquals(1,&nbsp;y.ceiling());<br>
<b>23: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assertEquals(-0.4480736161291702,&nbsp;k.cos());</b><br>
24: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//assertEquals(22026.465794806718,&nbsp;x.exp());<br>
25: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assertEquals(0&nbsp;,&nbsp;y.fix());<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: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: &nbsp;&nbsp;&nbsp;systemOutput(NL&nbsp;&amp;&nbsp;&quot;--------------&nbsp;Start&nbsp;Tests&nbsp;-----------&quot;,&nbsp;true);<br>
347: &nbsp;&nbsp;&nbsp;silent&nbsp;{<br>
<b>348: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults&nbsp;=&nbsp;new&nbsp;test._testRunner().runTests();</b><br>
349: &nbsp;&nbsp;&nbsp;}<br>
350: <br>
}}]