projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04471f6
)
Complete coverage.
author
Gunnar Wrobel
<p@rdus.de>
Thu, 11 Feb 2010 13:52:26 +0000
(14:52 +0100)
committer
Gunnar Wrobel
<p@rdus.de>
Thu, 11 Feb 2010 13:52:26 +0000
(14:52 +0100)
framework/Exception/test/Horde/Exception/ExceptionTest.php
patch
|
blob
|
history
diff --git
a/framework/Exception/test/Horde/Exception/ExceptionTest.php
b/framework/Exception/test/Horde/Exception/ExceptionTest.php
index
ae0dcf6
..
0868872
100644
(file)
--- a/
framework/Exception/test/Horde/Exception/ExceptionTest.php
+++ b/
framework/Exception/test/Horde/Exception/ExceptionTest.php
@@
-105,6
+105,12
@@
class Horde_Exception_ExceptionTest extends PHPUnit_Framework_TestCase
// LastError Exception Testing
+ public function testConstructionOfLastErrorYieldsStandardException()
+ {
+ $e = new Horde_Exception_LastError();
+ $this->assertSame('', $e->getMessage());
+ }
+
public function testConstructionWithGetlasterrorarrayYieldsMessageFromArray()
{
$e = new Horde_Exception_LastError(null, $this->_getLastError());