|
| 1 | +diff --git a/tests/resources/app/coldbox/system/testing/VirtualApp.cfc b/tests/resources/app/coldbox/system/testing/VirtualApp.cfc |
| 2 | +--- a/tests/resources/app/coldbox/system/testing/VirtualApp.cfc |
| 3 | ++++ b/tests/resources/app/coldbox/system/testing/VirtualApp.cfc |
| 4 | +@@ -94 +94 @@ |
| 5 | +- return !isNull( application.cbController ); |
| 6 | ++ return application.keyExists( "cbController" ) && !isNull( application.cbController ); |
| 7 | +@@ -112 +112 @@ |
| 8 | +- if ( !isNull( application.cbController ) ) { |
| 9 | ++ if ( application.keyExists( "cbController" ) && !isNull( application.cbController ) ) { |
| 10 | +diff --git a/tests/resources/app/coldbox/system/logging/config/LogBoxConfig.cfc b/tests/resources/app/coldbox/system/logging/config/LogBoxConfig.cfc |
| 11 | +--- a/tests/resources/app/coldbox/system/logging/config/LogBoxConfig.cfc |
| 12 | ++++ b/tests/resources/app/coldbox/system/logging/config/LogBoxConfig.cfc |
| 13 | +@@ -64 +64 @@ |
| 14 | +- if ( isNull( variables.utility ) ) { |
| 15 | ++ if ( !variables.keyExists( "utility" ) || isNull( variables.utility ) ) { |
| 16 | +diff --git a/tests/resources/app/coldbox/system/core/util/Util.cfc b/tests/resources/app/coldbox/system/core/util/Util.cfc |
| 17 | +--- a/tests/resources/app/coldbox/system/core/util/Util.cfc |
| 18 | ++++ b/tests/resources/app/coldbox/system/core/util/Util.cfc |
| 19 | +@@ -296 +296 @@ |
| 20 | +- if ( isNull( variables.mixerUtil ) ) { |
| 21 | ++ if ( !variables.keyExists( "mixerUtil" ) || isNull( variables.mixerUtil ) ) { |
| 22 | +diff --git a/tests/resources/app/coldbox/system/logging/Logger.cfc b/tests/resources/app/coldbox/system/logging/Logger.cfc |
| 23 | +--- a/tests/resources/app/coldbox/system/logging/Logger.cfc |
| 24 | ++++ b/tests/resources/app/coldbox/system/logging/Logger.cfc |
| 25 | +@@ -399 +399 @@ |
| 26 | +- if ( isNull( local.logEvent ) ) { |
| 27 | ++ if ( !local.keyExists( "logEvent" ) || isNull( local.logEvent ) ) { |
| 28 | +diff --git a/tests/resources/app/coldbox/system/core/delegates/Env.cfc b/tests/resources/app/coldbox/system/core/delegates/Env.cfc |
| 29 | +--- a/tests/resources/app/coldbox/system/core/delegates/Env.cfc |
| 30 | ++++ b/tests/resources/app/coldbox/system/core/delegates/Env.cfc |
| 31 | +@@ -87 +87 @@ |
| 32 | +- if ( isNull( variables.javaSystem ) ) { |
| 33 | ++ if ( !variables.keyExists( "javaSystem" ) || isNull( variables.javaSystem ) ) { |
| 34 | +diff --git a/tests/resources/app/coldbox/system/web/services/InterceptorService.cfc b/tests/resources/app/coldbox/system/web/services/InterceptorService.cfc |
| 35 | +--- a/tests/resources/app/coldbox/system/web/services/InterceptorService.cfc |
| 36 | ++++ b/tests/resources/app/coldbox/system/web/services/InterceptorService.cfc |
| 37 | +@@ -194 +194 @@ |
| 38 | +- if ( !isNull( arguments.interceptData ) ) { |
| 39 | ++ if ( arguments.keyExists( "interceptData" ) && !isNull( arguments.interceptData ) ) { |
| 40 | +diff --git a/tests/resources/app/coldbox/system/testing/BaseTestCase.cfc b/tests/resources/app/coldbox/system/testing/BaseTestCase.cfc |
| 41 | +--- a/tests/resources/app/coldbox/system/testing/BaseTestCase.cfc |
| 42 | ++++ b/tests/resources/app/coldbox/system/testing/BaseTestCase.cfc |
| 43 | +@@ -162 +162 @@ |
| 44 | +- if ( isNull( variables._ranBeforeAll ) ) { |
| 45 | ++ if ( !variables.keyExists( "_ranBeforeAll" ) || isNull( variables._ranBeforeAll ) ) { |
| 46 | +@@ -172 +172 @@ |
| 47 | +- if ( isNull( variables._ranAfterAll ) ) { |
| 48 | ++ if ( !variables.keyExists( "_ranAfterAll" ) || isNull( variables._ranAfterAll ) ) { |
| 49 | +@@ -784 +784 @@ |
| 50 | +- if ( !isNull( arguments.interceptData ) ) { |
| 51 | ++ if ( arguments.keyExists( "interceptData" ) && !isNull( arguments.interceptData ) ) { |
| 52 | +@@ -847 +847 @@ |
| 53 | +- if ( isNull( variables.cbUtil ) ) { |
| 54 | ++ if ( !variables.keyExists( "cbUtil" ) || isNull( variables.cbUtil ) ) { |
| 55 | +@@ -859 +859 @@ |
| 56 | +- if ( isNull( variables.env ) ) { |
| 57 | ++ if ( !variables.keyExists( "env" ) || isNull( variables.env ) ) { |
| 58 | +diff --git a/tests/resources/app/coldbox/system/ioc/Builder.cfc b/tests/resources/app/coldbox/system/ioc/Builder.cfc |
| 59 | +--- a/tests/resources/app/coldbox/system/ioc/Builder.cfc |
| 60 | ++++ b/tests/resources/app/coldbox/system/ioc/Builder.cfc |
| 61 | +@@ -82 +82 @@ |
| 62 | +- if ( isNull( variables.coldboxDSL ) ) { |
| 63 | ++ if ( !variables.keyExists( "coldboxDSL" ) || isNull( variables.coldboxDSL ) ) { |
| 64 | +@@ -94 +94 @@ |
| 65 | +- if ( isNull( variables.cacheBoxDSL ) ) { |
| 66 | ++ if ( !variables.keyExists( "cacheBoxDSL" ) || isNull( variables.cacheBoxDSL ) ) { |
| 67 | +@@ -106 +106 @@ |
| 68 | +- if ( isNull( variables.logBoxDSL ) ) { |
| 69 | ++ if ( !variables.keyExists( "logBoxDSL" ) || isNull( variables.logBoxDSL ) ) { |
| 70 | +diff --git a/tests/resources/app/coldbox/system/cache/store/ConcurrentStore.cfc b/tests/resources/app/coldbox/system/cache/store/ConcurrentStore.cfc |
| 71 | +--- a/tests/resources/app/coldbox/system/cache/store/ConcurrentStore.cfc |
| 72 | ++++ b/tests/resources/app/coldbox/system/cache/store/ConcurrentStore.cfc |
| 73 | +@@ -261 +261 @@ |
| 74 | +- if ( isNull( variables.collections ) ) { |
| 75 | ++ if ( !variables.keyExists( "collections" ) || isNull( variables.collections ) ) { |
| 76 | +diff --git a/tests/resources/app/coldbox/system/FrameworkSupertype.cfc b/tests/resources/app/coldbox/system/FrameworkSupertype.cfc |
| 77 | +--- a/tests/resources/app/coldbox/system/FrameworkSupertype.cfc |
| 78 | ++++ b/tests/resources/app/coldbox/system/FrameworkSupertype.cfc |
| 79 | +@@ -621 +621 @@ |
| 80 | +- if ( isNull( variables.asyncManager ) ) { |
| 81 | ++ if ( !variables.keyExists( "asyncManager" ) || isNull( variables.asyncManager ) ) { |
| 82 | +@@ -755 +755 @@ |
| 83 | +- if ( isNull( variables.cbDateTimeHelper ) ) { |
| 84 | ++ if ( !variables.keyExists( "cbDateTimeHelper" ) || isNull( variables.cbDateTimeHelper ) ) { |
| 85 | +diff --git a/tests/resources/app/coldbox/system/core/util/Util.cfc b/tests/resources/app/coldbox/system/core/util/Util.cfc |
| 86 | +--- a/tests/resources/app/coldbox/system/core/util/Util.cfc |
| 87 | ++++ b/tests/resources/app/coldbox/system/core/util/Util.cfc |
| 88 | +@@ -124 +124 @@ |
| 89 | +- if ( isNull( variables.inetAddress ) ) { |
| 90 | ++ if ( !variables.keyExists( "inetAddress" ) || isNull( variables.inetAddress ) ) { |
| 91 | +diff --git a/tests/resources/app/coldbox/system/cache/config/CacheBoxConfig.cfc b/tests/resources/app/coldbox/system/cache/config/CacheBoxConfig.cfc |
| 92 | +--- a/tests/resources/app/coldbox/system/cache/config/CacheBoxConfig.cfc |
| 93 | ++++ b/tests/resources/app/coldbox/system/cache/config/CacheBoxConfig.cfc |
| 94 | +@@ -107 +107 @@ |
| 95 | +- if ( !isNull( cacheBoxDSL.logBoxConfig ) ) { |
| 96 | ++ if ( structKeyExists( cacheBoxDSL, "logBoxConfig" ) && !isNull( cacheBoxDSL.logBoxConfig ) ) { |
| 97 | +@@ -112 +112 @@ |
| 98 | +- if ( !isNull( cacheBoxDSL.scopeRegistration ) ) { |
| 99 | ++ if ( structKeyExists( cacheBoxDSL, "scopeRegistration" ) && !isNull( cacheBoxDSL.scopeRegistration ) ) { |
| 100 | +@@ -117 +117 @@ |
| 101 | +- if ( !isNull( cacheBoxDSL.caches ) ) { |
| 102 | ++ if ( structKeyExists( cacheBoxDSL, "caches" ) && !isNull( cacheBoxDSL.caches ) ) { |
| 103 | +@@ -125 +125 @@ |
| 104 | +- if ( !isNull( cacheBoxDSL.listeners ) ) { |
| 105 | ++ if ( structKeyExists( cacheBoxDSL, "listeners" ) && !isNull( cacheBoxDSL.listeners ) ) { |
0 commit comments