Hi Tony,

setlocale_variation2.phpt tests setlocale() by suppliying different locale
that
are found on the system. In other testcases we only try n work with the
known
locales for the fact that we cannot have the proper expected out if locales
are
unknown.

I agree that similar call to setlocale() is being made in other testcases
but we only have limited
number of locales. In this testcase i have tried to call setlocale() with
all possible locales
that are found on the system to see how well this function behaves. Since
there are no known
locales, expected output is in terms of how many success, in case of failure
the code prints
out the failing locale if any.

Let me know what could be the best we could with this testcase.

with Regards,
Raghubansh

On 10/7/07, Antony Dovgal <[EMAIL PROTECTED]> wrote:
>
> Raghubansh, what is the point of
> ext/standard/tests/strings/setlocale_variation2.phpt?
> We're testing PHP, not libc, aren't we?
>
> On 05.10.2007 23:35, Raghubansh Kumar wrote:
> > kraghuba              Fri Oct  5 19:35:45 2007 UTC
> >
> >   Modified files:
> >     /php-src/ext/standard/tests/strings       setlocale_variation1.phpt
> >                                               setlocale_variation2.phpt
> >                                               setlocale_variation3.phpt
> >                                               setlocale_variation4.phpt
> >                                               setlocale_variation5.phpt
> >                                               setlocale_basic1.phpt
> >                                               setlocale_basic2.phpt
> >                                               setlocale_basic3.phpt
> >                                               setlocale_error.phpt
> >   Log:
> >   New testcases for setlocale() function
> >
> >
>
>
>
> --
> Wbr,
> Antony Dovgal
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
with Regards,
Raghubansh

Reply via email to