Yes, that's one of the implications of the new APIs and the type
routines/methods.  A lot of argument errors will get trapped before
the target is even called and will result in more specific errors than
the generic "Invalid call to routine" error 40.

Rick

On Thu, Jun 26, 2008 at 8:26 PM, Mark Miesfeld <[EMAIL PROTECTED]> wrote:
> There are 3 test cases in the BEEP.testGroup that now fail as below.
> The test cases were written at the time to expect the generic error
> 40, external routine failed.  Now the more specific syntax error is
> raised.
>
> I think this is an improvement and these better, more specific error
> codes are appropriate.  So, I'm going to update the 3.x test group to
> expect the proper code.
>
> Normally of course, you don't change the test to fit the behavior, so
> I wanted to be sure everyone understood the reason for the change.
>
>
> [error] [20080626 17:08:28.943000]
>  Test:  TEST_2
>  Class: BEEP.testGroup
>  File:  E:\work.ooRexx\ooRexxUnit\3.x\ooRexx\base\bif\BEEP.testGroup
>  Event: [SYNTAX 93.903] raised unexpectedly.
>    Missing argument in method; argument 1 is required
>    Program:
>    Line:    81
>    81 *-*     retc = beep()
>
> [error] [20080626 17:08:28.943000]
>  Test:  TEST_3
>  Class: BEEP.testGroup
>  File:  E:\work.ooRexx\ooRexxUnit\3.x\ooRexx\base\bif\BEEP.testGroup
>  Event: [SYNTAX 93.903] raised unexpectedly.
>    Missing argument in method; argument 1 is required
>    Program:
>    Line:    92
>    92 *-*     retc = beep( , 1)
>
> [error] [20080626 17:08:28.943000]
>  Test:  TEST_4
>  Class: BEEP.testGroup
>  File:  E:\work.ooRexx\ooRexxUnit\3.x\ooRexx\base\bif\BEEP.testGroup
>  Event: [SYNTAX 93.903] raised unexpectedly.
>    Missing argument in method; argument 2 is required
>    Program:
>    Line:    103
>   103 *-*     retc = beep(38, )
>
> --
> Mark Miesfeld
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to