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