Author: Tobias Schlitt Date: 2007-04-11 23:35:32 +0200 (Wed, 11 Apr 2007) New Revision: 4860
Log: - Added another test. Modified: trunk/ConsoleTools/tests/table_cell_test.php Modified: trunk/ConsoleTools/tests/table_cell_test.php =================================================================== --- trunk/ConsoleTools/tests/table_cell_test.php 2007-04-11 21:30:56 UTC (rev 4859) +++ trunk/ConsoleTools/tests/table_cell_test.php 2007-04-11 21:35:32 UTC (rev 4860) @@ -134,6 +134,17 @@ $exceptionThrown = true; } $this->assertTrue( $exceptionThrown, "No exception thrown on invalid value for ezcConsoleTableCell->align." ); + + $exceptionThrown = false; + try + { + $cell->foo = "nonExistent"; + } + catch ( ezcBasePropertyNotFoundException $e ) + { + $exceptionThrown = true; + } + $this->assertTrue( $exceptionThrown, "No exception thrown on set access of invalid property ezcConsoleTableCell->foo." ); } public function testIssetAccess() -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components