Re: cvs: php-src /ext/standard/tests/strings setlocale_basic1.phpt setlocale_basic2.phpt setlocale_basic3.phpt setlocale_error.phpt
setlocale_variation1.phpt setlocale_variation2.phpt setlocale_variation3.phpt setlocale_variation4.phpt setl
| From: | Raghubansh | Date: | Mon, 08 Oct 2007 12:36:58 +0000 |
| Subject: | Re: cvs: php-src /ext/standard/tests/strings setlocale_basic1.phpt setlocale_basic2.phpt setlocale_basic3.phpt setlocale_error.phpt setlocale_variation1.phpt setlocale_variation2.phpt setlocale_variation3.phpt setlocale_variation4.phpt setl |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-46531@lists.php.net to get a copy of this message | ||
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 <tony@daylessday.org> 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