|
From: Elijah I. <tm...@gm...> - 2009-05-27 15:59:39
|
SimpleTest is designed to work with php4, which does not have the same object model as php5. However, I see no reason for things like: $reporter = &new NoSkipsReporter($reporter); I would be much more apt to use/support SimpleTest if it's code was more standardized and extendable. @Ellery, I would recommend you taking a peak at PHPUnit, which is much more structured and documented (read: better) if you continue using SimpleTest I would recommend changing your error reporting to _only_ include errors/warnings. My 2 cents. -- Elijah On Wed, May 27, 2009 at 12:26 AM, Alucard <alu...@gm...> wrote: > Hi all. > > I am new at SimpleTest and I found one problem. > > When I tried to perform the tutorial posted in SimpleTest, I got a lot of > deprecated warnings as follow: > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\unit_tester.php* on line > *74* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\unit_tester.php* on line > *89* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\unit_tester.php* on line > *238* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\unit_tester.php* on line > *260* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\unit_tester.php* on line > *266* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\unit_tester.php* on line > *277* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\test_case.php* on line * > 110* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\test_case.php* on line * > 112* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\test_case.php* on line * > 466* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\test_case.php* on line * > 470* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\test_case.php* on line * > 529* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\test_case.php* on line * > 547* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\test_case.php* on line * > 594* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\expectation.php* on line > *78* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\simpletest.php* on line > * > 317* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\default_reporter.php* on > line *114* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\default_reporter.php* on > line *119* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\default_reporter.php* on > line *122* > > *Deprecated*: Assigning the return value of new by reference is deprecated > in *C:\nginx\html\apps\milio\lib\System\simpletest\default_reporter.php* on > line *127 > > > *I am using PHP 5.3rc2 and nginx. > > Of course I can suppress the deprecated warnings but, are there any other > solutions apart from doing this? > > Thank you in advance. > > > Ellery* > * > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Simpletest-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpletest-support > |