From 3b336c7b360803bb6eb25293d9c5802e58f1ea8f Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Tue, 17 Dec 2024 16:51:31 +0100 Subject: [PATCH] LDEV-5207 add tagbased cfc for executionLog tests --- test/tickets/LDEV5206/ldev5206.cfc | 2 +- test/tickets/LDEV5206/ldev5206.cfm | 5 ++++- test/tickets/LDEV5206/ldev5206_tag.cfc | 8 ++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 test/tickets/LDEV5206/ldev5206_tag.cfc diff --git a/test/tickets/LDEV5206/ldev5206.cfc b/test/tickets/LDEV5206/ldev5206.cfc index 48815be1f6..c844af0c9f 100644 --- a/test/tickets/LDEV5206/ldev5206.cfc +++ b/test/tickets/LDEV5206/ldev5206.cfc @@ -1,6 +1,6 @@ component { this.name='LDEV-5206'; - function sleep(){ + function doSleep(){ sleep(5); } } diff --git a/test/tickets/LDEV5206/ldev5206.cfm b/test/tickets/LDEV5206/ldev5206.cfm index 2c6c87ca0a..029a3f8c53 100644 --- a/test/tickets/LDEV5206/ldev5206.cfm +++ b/test/tickets/LDEV5206/ldev5206.cfm @@ -2,5 +2,8 @@ sleep(5); echo("back from sleep"); cfc = new ldev5206(); - cfc.sleep(); + cfc.doSleep(); + + cfc = new ldev5206_tag(); + cfc.doSleep(); diff --git a/test/tickets/LDEV5206/ldev5206_tag.cfc b/test/tickets/LDEV5206/ldev5206_tag.cfc new file mode 100644 index 0000000000..d267c85bea --- /dev/null +++ b/test/tickets/LDEV5206/ldev5206_tag.cfc @@ -0,0 +1,8 @@ + + + + function doSleep(){ + sleep(5); + } + +