Skip to content

Update LDEV5034.cfc #1472

Update LDEV5034.cfc

Update LDEV5034.cfc #1472

GitHub Actions / Lucee Test Results failed Dec 27, 2024 in 0s

1 fail, 229 skipped, 3 735 pass in 3m 11s

    1 files  ±0  1 489 suites  ±0   3m 11s ⏱️ +20s
3 965 tests ±0  3 735 ✅ ±0  229 💤 ±0  1 ❌ ±0 
4 101 runs  ±0  3 835 ✅ ±0  265 💤 ±0  1 ❌ ±0 

Results for commit c367b09. ± Comparison against earlier commit f287ac7.

Annotations

Check warning on line 0 in test.tickets.LDEV5034

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

test extract preserves file and directory masks (test.tickets.LDEV5034) failed

test/reports/junit-test-results-6.2.0.264-SNAPSHOT.xml [took 0s]
Raw output
The key(s) [755] does not exist in the target object. Found keys are [[LDEV-5034-src, 743.txt, 644.txt, 043.txt, 400.txt]]

					[{Raw_Trace={system.assertion_cfc$cf$9.udfCall1(/testbox/system/Assertion.cfc:17)}, codePrintPlain={15: 	function fail( message = "", detail = "" ){
16: 		arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );
17: 		throw( type = "TestBox.AssertionFailed", message = arguments.message, detail = arguments.detail );
18: 	}
19: 
}, column={0}, line={17}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={15: &nbsp;&nbsp;&nbsp;function&nbsp;fail(&nbsp;message&nbsp;=&nbsp;&quot;&quot;,&nbsp;detail&nbsp;=&nbsp;&quot;&quot;&nbsp;){<br>
16: &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>17: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw(&nbsp;type&nbsp;=&nbsp;&quot;TestBox.AssertionFailed&quot;,&nbsp;message&nbsp;=&nbsp;arguments.message,&nbsp;detail&nbsp;=&nbsp;arguments.detail&nbsp;);</b><br>
18: &nbsp;&nbsp;&nbsp;}<br>
19: <br>
}}, {Raw_Trace={system.assertion_cfc$cf$9.udfCall2(/testbox/system/Assertion.cfc:342)}, codePrintPlain={340: 				.len() != listLen( arguments.key )
341: 		){
342: 			fail( arguments.message );
343: 		}
344: 		return this;
}, column={0}, line={342}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={340: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.len()&nbsp;!=&nbsp;listLen(&nbsp;arguments.key&nbsp;)<br>
341: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;){<br>
<b>342: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fail(&nbsp;arguments.message&nbsp;);</b><br>
343: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
344: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;this;<br>
}}, {Raw_Trace={system.expectation_cfc$cf$5.udfCall2(/testbox/system/Expectation.cfc:295)}, codePrintPlain={293: 			variables.assert.notKey( argumentCollection = arguments );
294: 		} else {
295: 			variables.assert.key( argumentCollection = arguments );
296: 		}
297: 		return this;
}, column={0}, line={295}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Expectation.cfc}, id={??}, type={cfml}, codePrintHTML={293: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.assert.notKey(&nbsp;argumentCollection&nbsp;=&nbsp;arguments&nbsp;);<br>
294: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br>
<b>295: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.assert.key(&nbsp;argumentCollection&nbsp;=&nbsp;arguments&nbsp;);</b><br>
296: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
297: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;this;<br>
}}, {Raw_Trace={tickets.ldev5034_cfc$cf$14o.udfCall(/test/tickets/LDEV5034.cfc:77)}, codePrintPlain={75: 					var key = mid( test.name, len( dir ) + 1 );
76: 					systemOutput( "key [#key#]", true );
77: 					expect( stExt ).toHaveKey( key );
78: 					systemOutput( stExt[ key ], true );
79: 					expect( stExt[ key ].mode ).toBe( test.mode , test.name );
}, column={0}, line={77}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV5034.cfc}, id={??}, type={cfml}, codePrintHTML={75: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;key&nbsp;=&nbsp;mid(&nbsp;test.name,&nbsp;len(&nbsp;dir&nbsp;)&nbsp;+&nbsp;1&nbsp;);<br>
76: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;systemOutput(&nbsp;&quot;key&nbsp;[#key#]&quot;,&nbsp;true&nbsp;);<br>
<b>77: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect(&nbsp;stExt&nbsp;).toHaveKey(&nbsp;key&nbsp;);</b><br>
78: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;systemOutput(&nbsp;stExt[&nbsp;key&nbsp;],&nbsp;true&nbsp;);<br>
79: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect(&nbsp;stExt[&nbsp;key&nbsp;].mode&nbsp;).toBe(&nbsp;test.mode&nbsp;,&nbsp;test.name&nbsp;);<br>
}}, {Raw_Trace={system.basespec_cfc$cf$4.udfCall7(/testbox/system/BaseSpec.cfc:1438)}, codePrintPlain={1436: 	// Around Stub
1437: 	function aroundStub( spec ){
1438: 		spec.body( spec.data );
1439: 	}
1440: 
}, column={0}, line={1438}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={1436: &nbsp;&nbsp;&nbsp;//&nbsp;Around&nbsp;Stub<br>
1437: &nbsp;&nbsp;&nbsp;function&nbsp;aroundStub(&nbsp;spec&nbsp;){<br>
<b>1438: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;spec.body(&nbsp;spec.data&nbsp;);</b><br>
1439: &nbsp;&nbsp;&nbsp;}<br>
1440: <br>
}}, {Raw_Trace={system.basespec_cfc$cf$4.udfCall5(/testbox/system/BaseSpec.cfc:1090)}, codePrintPlain={1088: 			return function(){
1089: 				// Execute the body of the spec
1090: 				nextClosure.body( spec = thread.spec, suite = thread.suite, data = nextClosure.data );
1091: 			};
1092: 		}
}, column={0}, line={1090}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={1088: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;function(){<br>
1089: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Execute&nbsp;the&nbsp;body&nbsp;of&nbsp;the&nbsp;spec<br>
<b>1090: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nextClosure.body(&nbsp;spec&nbsp;=&nbsp;thread.spec,&nbsp;suite&nbsp;=&nbsp;thread.suite,&nbsp;data&nbsp;=&nbsp;nextClosure.data&nbsp;);</b><br>
1091: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;};<br>
1092: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
}}, {Raw_Trace={system.basespec_cfc$cf$4.udfCall5(/testbox/system/BaseSpec.cfc:1061)}, codePrintPlain={1059: 		);
1060: 		// Run the specs
1061: 		specStack();
1062: 
1063: 		return this;
}, column={0}, line={1061}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={1059: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
1060: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Run&nbsp;the&nbsp;specs<br>
<b>1061: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;specStack();</b><br>
1062: <br>
1063: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;this;<br>
}}, {Raw_Trace={system.basespec_cfc$cf$4.udfCall4(/testbox/system/BaseSpec.cfc:908)}, codePrintPlain={906: 
907: 				try {
908: 					runAroundEachClosures( arguments.suite, arguments.spec );
909: 				} catch ( any e ) {
910: 					rethrow;
}, column={0}, line={908}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={906: <br>
907: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br>
<b>908: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;runAroundEachClosures(&nbsp;arguments.suite,&nbsp;arguments.spec&nbsp;);</b><br>
909: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(&nbsp;any&nbsp;e&nbsp;)&nbsp;{<br>
910: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rethrow;<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf$j.udfCall(/testbox/system/runners/BDDRunner.cfc:222)}, codePrintPlain={220: 						suiteStats=thread.suiteStats,
221: 						runner=this
222: 					);
223: 
224: 					// verify call backs
}, column={0}, line={222}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={220: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;suiteStats=thread.suiteStats,<br>
221: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;runner=this<br>
<b>222: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</b><br>
223: <br>
224: &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$j.udfCall(/testbox/system/runners/BDDRunner.cfc:84)}, codePrintPlain={82: 						testResults=arguments.testResults,
83: 						bundleStats=bundleStats,
84: 						callbacks=arguments.callbacks
85: 					);
86: 
}, column={0}, line={84}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={82: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults=arguments.testResults,<br>
83: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bundleStats=bundleStats,<br>
<b>84: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callbacks=arguments.callbacks</b><br>
85: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
86: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall2(/testbox/system/TestBox.cfc:474)}, codePrintPlain={472: 				// Run via BDD Style
473: 				new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )
474: 					.run( target, arguments.testResults, arguments.callbacks );
475: 			}
476: 			else{
}, column={0}, line={474}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={472: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Run&nbsp;via&nbsp;BDD&nbsp;Style<br>
473: &nbsp;&nbsp;&nbsp;&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>474: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.run(&nbsp;target,&nbsp;arguments.testResults,&nbsp;arguments.callbacks&nbsp;);</b><br>
475: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
476: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else{<br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:252)}, codePrintPlain={250: 				bundlePath  = thisBundlePath,
251: 				testResults = results,
252: 				callbacks   = arguments.callbacks
253: 			);
254: 
}, column={0}, line={252}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={250: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bundlePath&nbsp;&nbsp;=&nbsp;thisBundlePath,<br>
251: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults&nbsp;=&nbsp;results,<br>
<b>252: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callbacks&nbsp;&nbsp;&nbsp;=&nbsp;arguments.callbacks</b><br>
253: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
254: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:161)}, codePrintPlain={159: 		if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }
160: 		// run it and get results
161: 		var results = runRaw( argumentCollection=arguments );
162: 		// store latest results
163: 		variables.result = results;
}, column={0}, line={161}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={159: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;!isNull(&nbsp;arguments.reporter&nbsp;)&nbsp;){&nbsp;variables.reporter&nbsp;=&nbsp;arguments.reporter;&nbsp;}<br>
160: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;run&nbsp;it&nbsp;and&nbsp;get&nbsp;results<br>
<b>161: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;results&nbsp;=&nbsp;runRaw(&nbsp;argumentCollection=arguments&nbsp;);</b><br>
162: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;store&nbsp;latest&nbsp;results<br>
163: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.result&nbsp;=&nbsp;results;<br>
}}, {Raw_Trace={_testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:294)}, codePrintPlain={292: 	,onSpecEnd 		= function( bundle, testResults, suite, spec ){}*/
293: } // callbacks
294: 			); // report = tb.run
295: 
296: 	 		// get the result
}, column={0}, line={294}, template={/home/runner/work/Lucee/Lucee/test/_testRunner.cfc}, id={??}, type={cfml}, codePrintHTML={292: &nbsp;&nbsp;&nbsp;,onSpecEnd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;function(&nbsp;bundle,&nbsp;testResults,&nbsp;suite,&nbsp;spec&nbsp;){}*/<br>
293: }&nbsp;//&nbsp;callbacks<br>
<b>294: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);&nbsp;//&nbsp;report&nbsp;=&nbsp;tb.run</b><br>
295: <br>
296: &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>
}}]