Yep, I see the problem.  I forgot that the default value is that
determined by the NOVALUE handler, which uses the provided name.
Needed to tweak things a little.

Rick

On Sun, Oct 10, 2010 at 5:33 PM, Mark Miesfeld <[email protected]> wrote:
> Rick,
>
> In trunk (and in the 4.1.0 branch) there are the below 2 test
> failures.  Really the same error I'm sure.  Since you just did that
> bug fix for NOVALUE condition can report wrong compound variable name,
> I thought maybe you would know the problem right off the bat:
>
> C:\work\ooTest\4.x>testOORexx.rex -p FUNCTION -p METHOD
> Searching for test containers..
> Executing automated test suite..
>
> ooTest Framework - Automated Test of the ooRexx Interpreter
>
> Interpreter:     REXX-ooRexx_4.2.0(MT) 6.04 10 Oct 2010
> Addressing Mode: 32
> ooRexxUnit:      2.0.0_3.2.0    ooTest: 1.0.0_4.0.0
>
> Tests ran:           398
> Assertions:          1485
> Failures:            2
> Errors:              0
> Skipped files:       0
>
> [failure] [20101010 14:23:11.321000]
>  svn:    r4248   Change date: 2009-03-02 16:17:10 -0800
>  Test:   TESTSETVARIABLE01
>  Class:  FUNCTION.testGroup
>  File:   C:\work\ooTest\4.x\ooRexx\API\oo\FUNCTION.testGroup
>  Line:   812
>  Failed: assertSame
>    Expected: [[FOOBAR.1], identityHash="266583864"]
>    Actual:   [[SETSTEM.1], identityHash="266709002"]
>
> [failure] [20101010 14:23:11.368000]
>  svn:    r4248   Change date: 2009-03-02 16:17:10 -0800
>  Test:   TESTSETOBJECTVARIABLE01
>  Class:  METHOD.testGroup
>  File:   C:\work\ooTest\4.x\ooRexx\API\oo\METHOD.testGroup
>  Line:   1045
>  Failed: assertSame
>    Expected: [[FOOBAR.1], identityHash="266773381"]
>    Actual:   [[SETSTEM.1], identityHash="266469998"]
>
> File search:        00:00:00.344000
> Suite construction: 00:00:00.032000
> Test execution:     00:00:00.109000
> Total time:         00:00:01.032000
>
> The FUNCTION.testGroup looks like:
>
>  x = TestSetContextVariable('setStem.', .stem~new("FOOBAR."))
>  self~assertSame("FOOBAR.", setStem.[])
>  self~assertSame("FOOBAR.1", setStem.1)
>
> and the METHOD.testGroup looks like:
>
>  self~TestSetObjectVariable('setStem.', .stem~new("FOOBAR."))
>  testGroup~assertSame("FOOBAR.", setStem.[])
>  testGroup~assertSame("FOOBAR.1", setStem.1)
>
> --
> Mark Miesfeld
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to