reset all in ConfigImport (not final implmentation) #7825
GitHub Actions / Lucee Test Results
failed
Nov 19, 2024 in 0s
1 fail, 192 skipped, 3 742 pass in 3m 37s
Annotations
Check warning on line 0 in test.components.Administrator
github-actions / Lucee Test Results
checking updateCacheConnection() (test.components.Administrator) failed
test/reports/junit-test-results-7.0.0.49-SNAPSHOT.xml [took 0s]
Raw output
Expected [false] but received [true]
[{Raw_Trace={system.assertion_cfc$cf$1_v.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$1_v.udfCall1(/testbox/system/Assertion.cfc:70)}, codePrintPlain={68: );
69: // if we reach here, nothing is equal man!
70: fail( arguments.message );
71: }
72:
}, column={0}, line={70}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={68: );<br>
69: // if we reach here, nothing is equal man!<br>
<b>70: fail( arguments.message );</b><br>
71: }<br>
72: <br>
}}, {Raw_Trace={system.compat.framework.testcase_cfc$cf$1_n.udfCall2(/testbox/system/compat/framework/TestCase.cfc:186)}, codePrintPlain={184: */
185: function assertEquals( required any expected, required any actual, message="" ){
186: this.$assert.isEqual( arguments.expected, arguments.actual, arguments.message );
187: }
188:
}, column={0}, line={186}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/compat/framework/TestCase.cfc}, id={??}, type={cfml}, codePrintHTML={184: */<br>
185: function assertEquals( required any expected, required any actual, message="" ){<br>
<b>186: this.$assert.isEqual( arguments.expected, arguments.actual, arguments.message );</b><br>
187: }<br>
188: <br>
}}, {Raw_Trace={components.administrator_cfc$cf$1_s.udfCall7(/test/components/Administrator.cfc:698)}, codePrintPlain={696: var getCacheConnection = adminWeb.getCacheConnection('testCache');
697: assertEquals(isstruct(getCacheConnection) ,true);
698: assertEquals(getCacheConnection.default EQ 'query' ,true);
699: });
700:
}, column={0}, line={698}, template={/home/runner/work/Lucee/Lucee/test/components/Administrator.cfc}, id={??}, type={cfml}, codePrintHTML={696: var getCacheConnection = adminWeb.getCacheConnection('testCache');<br>
697: assertEquals(isstruct(getCacheConnection) ,true);<br>
<b>698: assertEquals(getCacheConnection.default EQ 'query' ,true);</b><br>
699: });<br>
700: <br>
}}, {Raw_Trace={system.basespec_cfc$cf$1_r.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$1_r.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$1_r.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$1_r.udfCall5(/testbox/system/BaseSpec.cfc:1113)}, codePrintPlain={1111: },
1112: suite = thread.suite,
1113: data = nextClosure.data
1114: );
1115: };
}, column={0}, line={1113}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={1111: },<br>
1112: suite = thread.suite,<br>
<b>1113: data = nextClosure.data</b><br>
1114: );<br>
1115: };<br>
}}, {Raw_Trace={system.basespec_cfc$cf$1_r.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$1_r.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$1_19o.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$1_19o.udfCall(/testbox/system/runners/BDDRunner.cfc:244)}, codePrintPlain={242: bundleStats=arguments.bundleStats,
243: parentStats=suiteStats,
244: callbacks=arguments.callbacks
245: );
246:
}, column={0}, line={244}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={242: bundleStats=arguments.bundleStats,<br>
243: parentStats=suiteStats,<br>
<b>244: callbacks=arguments.callbacks</b><br>
245: );<br>
246: <br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf$1_19o.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$1_19f.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$1_19f.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$1_19f.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$1_3.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$1y2p0ij32e8e7.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