On Thu, Feb 2, 2023 at 11:53 AM Rony G. Flatscher <rony.flatsc...@wu.ac.at>
wrote:

> While looking into what is needed to formulate native tests I found
>
> F:\work\svn\oorexx\test\trunk>grep -R LoadPackage
> ooRexx/API/oo/METHODPackage.cls:::method TestLoadPackage EXTERNAL "LIBRARY 
> orxmethod TestLoadPackage"
> ooRexx/API/oo/METHODPackage.cls:::method TestLoadPackageFromData EXTERNAL 
> "LIBRARY orxmethod TestLoadPackageFromData"
>
> F:\work\svn\oorexx\test\trunk>grep -Rl orxmethod *
> ooRexx/API/oo/CONVERSIONPackage.cls
> ooRexx/API/oo/METHODPackage.cls
>
> but lack the native (C++) files that would implement the test methods.
>
> Also have not been able to find any usage of TestLoadPackage[FromData] in
> any of the test units:
>
> F:\work\svn\oorexx\test\trunk>grep -Ri TestLoadPackage
> ooRexx/API/oo/METHODPackage.cls:::method TestLoadPackage EXTERNAL "LIBRARY 
> orxmethod TestLoadPackage"
> ooRexx/API/oo/METHODPackage.cls:::method TestLoadPackageFromData EXTERNAL 
> "LIBRARY orxmethod TestLoadPackageFromData"
>
> The native test code is not located under test/trunk, but rather in
> main/trunk/testbinaries. Why are these files not located under
> test/trunk/testbinaries? What is the reason for this?
>
They were moved there years ago so that they always get built as part of
the build rather than requiring a separate build step that was more
difficult to set up.



> Is there anything else one needs to be aware of (regarding locations of
> files belonging to the test framework)?
>
> How can one just run the native tests, how would one have to invoke them?
>
> ---rony
>
> P.S.: This is for creating tests for:
>
> Bugs
>
>  126: # 1625 NewRoutine() and LoadPackageFromData() raise error 13.1 on
> tokenized Rexx code
>              (entered by Rony G. Flatscher on 2019-04-06 -> 2019-07-16)
> ***TODO: [doc+test]
>
>  127: # 1624 .Routine~newFile(rexxc-program) raises error 13.1
>              (entered by Rony G. Flatscher on 2019-04-06 -> 2019-04-17)
> ***TODO: [doc+test]
>
> RFE
>
>   27: #  754 'rexxc' binary (compiled/tokenized) data: please encode as
> plain text (7-Bit-ASCII) to allow it to be read as a string (e.g. from Java
> java.io.Reader)
>              (entered by Rony G. Flatscher on 2019-04-07 -> 2020-03-08)
> ***TODO: [tests]
>
>
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to