https://src.bluestatic.org
/
isso.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0380144
)
Add testLoadBadModule()
author
Robert Sesek <rsesek@bluestatic.org>
Wed, 16 Aug 2006 03:29:57 +0000
(
03:29
+0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Wed, 16 Aug 2006 03:29:57 +0000
(
03:29
+0000)
UnitTest/LoaderTest.php
patch
|
blob
|
history
diff --git
a/UnitTest/LoaderTest.php
b/UnitTest/LoaderTest.php
index a3f2f62be81e100d4bd5e3da5af2ec18ec5713ef..2c36418fc215e5ba65561a25c6a4029b8c399074 100644
(file)
--- a/
UnitTest/LoaderTest.php
+++ b/
UnitTest/LoaderTest.php
@@
-49,6
+49,12
@@
class LoaderTest extends UnitTestCase
{
$this->assertEqual(get_class(BSLoader::LoadModule('Input')), 'BSInput');
}
+
+ public function testLoadBadModule()
+ {
+ BSLoader::LoadModule('nonExistentModule');
+ $this->assertError();
+ }
}
?>
\ No newline at end of file