Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37203 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35718 invoked from network); 23 Apr 2008 13:52:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Apr 2008 13:52:20 -0000 Authentication-Results: pb1.pair.com header.from=news@ger.gmane.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.2 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from [80.91.229.2] ([80.91.229.2:58577] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 25/F7-29761-C0F3F084 for ; Wed, 23 Apr 2008 09:52:14 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JofOL-0000Yb-7S for internals@lists.php.net; Wed, 23 Apr 2008 13:52:09 +0000 Received: from p5088cb03.dip.t-dialin.net ([80.136.203.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Apr 2008 13:52:09 +0000 Received: from sb by p5088cb03.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Apr 2008 13:52:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Wed, 23 Apr 2008 15:52:05 +0200 Lines: 11 Message-ID: References: <299f97600804230435o6bbf8eb2l9ca760458b949dd6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: p5088cb03.dip.t-dialin.net User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: Sender: news Subject: Re: [PHP-DEV] Unable to unit test code containing *_uploaded_file() From: sb@sebastian-bergmann.de (Sebastian Bergmann) Pierre Joye schrieb: > However, as far as I remember phpunit does not "fork" php and uses the > current instance and that will not allow you to use the phpt method. > If it is not the case, then it should be relatively easy to port the > phpt system to phpunit (or use phpt :). PHPUnit_Extensions_PhptTestCase should support this. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69