Skip to content

Commit

Permalink
LDEV-5116 - add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Oct 21, 2024
1 parent 7950a03 commit 76c4d05
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/tickets/LDEV5116.cfc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// this is simply crappy code, and will never be supported by lucee, WONT FIX
component extends="org.lucee.cfml.test.LuceeTestCase" labels="qoq" {
function run( testResults , testBox ) {
describe( "test suite for LDEV-5116", function() {
it(title = "", body = function( currentSpec ) {
var BundleProvider=createObject("java","lucee.runtime.config.s3.BundleProvider");
var BundleDefinition=createObject("java","lucee.runtime.osgi.OSGiUtil$BundleDefinition");
var bd=BundleDefinition.init("com.mysql.cj",nullValue());
var uri=BundleProvider.getInstance().getBundleAsURL(bd, true);
expect( fileExists( uri.toString() ) ).tobeTrue();
});
});
}
}

0 comments on commit 76c4d05

Please sign in to comment.