Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47188 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55332 invoked from network); 12 Mar 2010 19:31:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Mar 2010 19:31:59 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.220 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.219.220 mail-ew0-f220.google.com Received: from [209.85.219.220] ([209.85.219.220:46075] helo=mail-ew0-f220.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/60-13686-EA69A9B4 for ; Fri, 12 Mar 2010 14:31:59 -0500 Received: by ewy20 with SMTP id 20so565382ewy.1 for ; Fri, 12 Mar 2010 11:31:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=AToe/CsTG33zW1wXxog/XLZNelvFqyj0Vg8I7zgKS3w=; b=x4/DR2ko/vaVvHQdf8fxVQC9zey3m7weEgxL0XRXH4Jnmk3ySNUt2M6H8E5kHOjkvK s1Wv9oSfDcegOVUbaMFBqUxvjTHnvKoQoEFiEB4Q/s9LrwFnqigeG3QCAoPVP5UTdYEp vWhdgfPCp/xm+7dbcKRnF4zrEo8XDg5u2Lg8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=SUcatlLGfwaz3zy42R+O/8oZFX7CCsBRJtlk1CwMRYlyTYPpIEDVOBOSRcxDHWA1ZT YgN6B/RF8sXpcBFG8qEjVOgYYlJobNs3U9Lodxi1HAhYz3CJ+8B4mpzTr/C14VGPrXA4 H8PbJbMfokUoJH4pg+4wGTYBtDuEGUeVFDaL0= Received: by 10.213.2.75 with SMTP id 11mr613072ebi.14.1268422315673; Fri, 12 Mar 2010 11:31:55 -0800 (PST) Received: from nirvana.lan ([93.185.190.227]) by mx.google.com with ESMTPS id 14sm1123022ewy.10.2010.03.12.11.31.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 12 Mar 2010 11:31:54 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii In-Reply-To: <4B9A93EE.7080403@zend.com> Date: Fri, 12 Mar 2010 22:31:51 +0300 Cc: Pierre Joye , jani.taskinen@iki.fi, internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <1418253B-84A3-4CA6-965B-A2501A5D432F@gmail.com> References: <4B9926E8.4080202@lerdorf.com> <4B995F83.1000605@prohost.org> <4B99639B.9030405@oracle.com> <4B996FC6.7040102@zend.com> <4B997381.1050300@oracle.com> <4B9A14FF.6000703@iki.fi> <4B9A833A.8040402@zend.com> <4B9A848C.3080701@iki.fi> <4B9A93EE.7080403@zend.com> To: Stanislav Malyshev X-Mailer: Apple Mail (2.1077) Subject: Re: [PHP-DEV] Tests repository From: indeyets@gmail.com (Alexey Zakhlestin) On 12.03.2010, at 22:20, Stanislav Malyshev wrote: > Hi! >=20 >> Well, these tests should just be removed/rewritten. >> Php-tests should test php, not libraries >=20 > That's easy to say - but how exactly you're going to test = functionality of, say. ext/intl without testing the underlying ICU = library? Well, here's the way I see it: Extensions (including ext/intl) declare their API and tests are made = againt this API. No more and no less. If, for example, some error-text comes directly from underlying library = and extension doesn't have control over it it shouldn't be part of API. In this case we can test that "some error-text was returned" but we = shouldn't test for exact text-match=