Ah, yes, yes, that's where I've seen it! Thanks!!
I'm using your prototype regex instead of the old regexp since some time.
I've found some typos (in replace() code, for which there's no tests yet)
and I've also enhanced replace() to accept back references to capture
groups ($n and ${name}) like Java does. I'll check-in my changes as I can
find time.
The regex class should really become part of the new version, if everyone
agrees.
Erich
On Fri, Oct 23, 2015 at 7:24 PM, Rick McGuire <[email protected]> wrote:
> That was something I did in the tests I wrote for the regex prototype in
> the incubator. This was done by having a method that created the test
> target, then creating a second subclass in the same file with a method
> override that changed to type of the value being tested.
>
> see incubator/regex/regex.testGroup in the svn repository.
>
> This could be done for for string/mutable buffer tests where the test is
> not altering the mutable buffer contents, so it could easily be done for
> things like substr(), match(), etc.
>
> On Fri, Oct 23, 2015 at 1:16 PM, Erich Steinböck <
> [email protected]> wrote:
>
>> Rick, I believe I've seen some magic in rexxootest, so that some tests
>> would be run both for String and MutableBuffer without having to duplicate
>> the test.
>>
>> Am I remembering correctly? Do you have a pointer?
>>
>> Maybe this could be even further extend to cover not only
>> String/MutableBuffer, but also caseless/normal from within a single test.
>>
>> Erich
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Oorexx-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel