FWIW, all of the individual groups of tests seem to run just fine** (although a 
few groups claim to have no tests so you have to  click individual CFCs to run 
them).

**Just fine == they don’t throw this exception. Only Execute All Tests and 
Execute script Tests seem to throw this exception.

Sean

On Apr 22, 2015, at 6:57 PM, Sean Corfield <[email protected]> wrote:
> Latest OpenBD built from source, deployed as ROOT webapp on Tomcat.
> 
> Copied in openbdtests and mxunit from openbd-core/webapp
> 
> Hit the openbdtests/index.cfm page, clicked Execute All Tests. It churned 
> away for a while and then produced the following exception… kinda odd since 
> that handleCaughtException() function is right there as a private function in 
> TestSuiteRunner.cfc (call on line 111, definition on line 172).
> 
> Aside from the exception, I noticed in the dump that 11 tests (so far) had 
> failed and 3 had errors. Hence my question as to whether the test suite 
> should run clean on the latest OpenBD source from GitHub?
> 
> testRuns      228
> testFailures  11
> testErrors    3
> testSuccesses 213
> 
> Stack trace from exception:
> 
> 
> CFML Runtime Error
> Need some help? Visit our manual http://openbd.org/manual/
> No such function exists - handlecaughtexception.
> Request       /openbdtest/run.cfm
> File Trace    /Developer/apache-tomcat-7.0.42/webapps/ROOT/openbdtest/run.cfm
> |
> +-- 
> /Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/runner/DirectoryTestSuite.cfc
>    |
>    +-- 
> /Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuite.cfc
>        |
>        +-- 
> /Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc
> Type  Expression
> Function(s)   run 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/runner/DirectoryTestSuite.cfc,
>  Line=7, Column=2)
> |
> +--run 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuite.cfc, 
> Line=112, Column=2)
>    |
>    +--run 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=22, Column=2)
>        |
>        +--runTestMethod 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=71, Column=2)
> Detail        Error at line 1, column 1
> Tag Context   CFSET 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=111, Column=5)
> |
> +-- CFCATCH 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=109, Column=4)
>    |
>    +-- CFTRY 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=83, Column=3)
>        |
>        +-- CFFUNCTION 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=71, Column=2)
>            |
>            +-- CFSET 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=49, Column=6)
>                |
>                +-- CFLOOP 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=48, Column=5)
>                    |
>                    +-- CFELSE 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=47, Column=4)
>                        |
>                        +-- CFIF 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=45, Column=4)
>                            |
>                            +-- CFLOOP 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=32, Column=3)
>                                |
>                                +-- CFFUNCTION 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuiteRunner.cfc,
>  Line=22, Column=2)
>                                    |
>                                    +-- CFRETURN 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuite.cfc, 
> Line=125, Column=3)
>                                        |
>                                        +-- CFFUNCTION 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/framework/TestSuite.cfc, 
> Line=112, Column=2)
>                                            |
>                                            +-- CFSET 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/runner/DirectoryTestSuite.cfc,
>  Line=37, Column=3)
>                                                |
>                                                +-- CFFUNCTION 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/mxunit/runner/DirectoryTestSuite.cfc,
>  Line=7, Column=2)
>                                                    |
>                                                    +-- CFSCRIPT 
> (/Developer/apache-tomcat-7.0.42/webapps/ROOT/openbdtest/run.cfm, Line=5, 
> Column=1)
> Source        
> 108: 
> 109:       <cfcatch type="any">
> 110:         <cflog text="inside cfcatch. #cfcatch.message# #cfcatch.detail#  
>  #testCase.getExpectedExceptionType()#, 
> #testCase.getexpectedExceptionMessage()# ">
> 
> 111:         <cfset handleCaughtException(rootOfException(cfcatch), 
> testCase.getExpectedExceptionType(), testCase.getExpectedExceptionMessage(), 
> results, outputOfTest, testCase, cfcatch)>
> 
> 112:       </cfcatch>
> 
> ^ Snippet from underlying CFML source
> 
> locals        
> struct
> arguments     
> struct
> currentTestSuiteName  openbdtest.script.udfTest
> methodName    testReturnTypeBoolean
> results       
> component mxunit.framework.TestResult [long version]
> testRuns      228
> testFailures  11
> testErrors    3
> testSuccesses 213
> totalExecutionTime    126381
> package       mxunit.testresults
> 
> Sean Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> 
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)
> 

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to