Skip to content

Commit

Permalink
LDEV-5207 add tagbased cfc for executionLog tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Dec 17, 2024
1 parent b52a368 commit 3b336c7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/tickets/LDEV5206/ldev5206.cfc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
component {
this.name='LDEV-5206';
function sleep(){
function doSleep(){
sleep(5);
}
}
5 changes: 4 additions & 1 deletion test/tickets/LDEV5206/ldev5206.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
sleep(5);
echo("back from sleep");
cfc = new ldev5206();
cfc.sleep();
cfc.doSleep();
cfc = new ldev5206_tag();
cfc.doSleep();
</cfscript>
8 changes: 8 additions & 0 deletions test/tickets/LDEV5206/ldev5206_tag.cfc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<cfcomponent>
<cfset this.name='LDEV-5206'>
<cfscript>
function doSleep(){
sleep(5);
}
</cfscript>
</cfcomponent>

0 comments on commit 3b336c7

Please sign in to comment.