What steps will reproduce the problem?
1. run a test:
http://localhost/mxunit/tests/framework/AssertDecoratorTest.cfc?method=runtestremote&output=extjs
2. look at coldfusion debug info at bottom
you'll see this:
10:27:33.033 - Expression Exception - in
C:\Inetpub\wwwroot\mxunit\framework\Assert.cfc : line 66
Element ACCESS is undefined in OBJ.
10:27:33.033 - Expression Exception - in
C:\Inetpub\wwwroot\mxunit\framework\Assert.cfc : line 66
Element ACCESS is undefined in OBJ.
10:27:33.033 - Expression Exception - in
C:\Inetpub\wwwroot\mxunit\framework\Assert.cfc : line 66
Element ACCESS is undefined in OBJ.
10:27:33.033 - Expression Exception - in
C:\Inetpub\wwwroot\mxunit\framework\Assert.cfc : line 66
Element ACCESS is undefined in OBJ.
10:27:33.033 - Expression Exception - in
C:\Inetpub\wwwroot\mxunit\framework\Assert.cfc : line 66
Element ACCESS is undefined in OBJ.
10:27:33.033 - Expression Exception - in
C:\Inetpub\wwwroot\mxunit\framework\Assert.cfc : line 66
Element ACCESS is undefined in OBJ.
10:27:33.033 - Expression Exception - in
C:\Inetpub\wwwroot\mxunit\framework\Assert.cfc : line 66
Element ACCESS is undefined in OBJ.
10:27:33.033 - Expression Exception - in
C:\Inetpub\wwwroot\mxunit\framework\Assert.cfc : line 66
Element ACCESS is undefined in OBJ.
10:27:33.033 - mxunit.exception.AssertionFailedError - in
C:\Inetpub\wwwroot\mxunit\framework\Assert.cfc : line 118
assertBar() returned false
I believe that this should be remedied to not throw an error. probably it
should simply check for StructKeyExists("obj","access") or isDefined() or
whatever... but it definitely should not throw an error.
Owner: marc.esher
Cc: virtix