From: <vm...@us...> - 2009-05-21 13:22:17
|
Revision: 11227 http://swig.svn.sourceforge.net/swig/?rev=11227&view=rev Author: vmiklos Date: 2009-05-21 12:28:19 +0000 (Thu, 21 May 2009) Log Message: ----------- PHP: fix the evil_diamond_prop test PHP does not support multiple inheritance so don't expect it to work. Modified Paths: -------------- branches/gsoc2009-vmiklos/Examples/test-suite/php/evil_diamond_prop_runme.php Modified: branches/gsoc2009-vmiklos/Examples/test-suite/php/evil_diamond_prop_runme.php =================================================================== --- branches/gsoc2009-vmiklos/Examples/test-suite/php/evil_diamond_prop_runme.php 2009-05-20 20:13:43 UTC (rev 11226) +++ branches/gsoc2009-vmiklos/Examples/test-suite/php/evil_diamond_prop_runme.php 2009-05-21 12:28:19 UTC (rev 11227) @@ -31,7 +31,8 @@ check::is_a($spam,"spam"); check::equal(1,$spam->_foo,"1==spam->_foo"); check::equal(2,$spam->_bar,"2==spam->_bar"); -check::equal(3,$spam->_baz,"3==spam->_baz"); +// multiple inheritance not supported in PHP +check::equal(null,$spam->_baz,"null==spam->_baz"); check::equal(4,$spam->_spam,"4==spam->_spam"); check::done(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |