Skip to content

Commit c09181a

Browse files
committed
add simple test case
1 parent 00eef7e commit c09181a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/test/general/ClassLoading.cfc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
component extends="org.lucee.cfml.test.LuceeTestCase" labels="ec2" {
2+
function run( testResults , testBox ) {
3+
describe( title="test if i can load an instance of a class",body=function() {
4+
it(title="loading instance", skip=isNotSupported(), body = function( currentSpec ) {
5+
var obj=createObject("java","org.lucee.extension.aws.ec2.function.EC2DescribeInstances");
6+
getMetaData(obj)
7+
});
8+
});
9+
}
10+
}

0 commit comments

Comments
 (0)