aboutsummaryrefslogtreecommitdiffstats
path: root/AssertionChecker
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-11-10 13:36:50 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-11-10 13:36:50 +0100
commitce3a6b9abb7c9cd283ad3f67e6a84382f5e3290d (patch)
tree5842c17d5b90b1ee0fdd75d74707a15c76692644 /AssertionChecker
parent60a23361a624fc7a06a5806df2fd2e456c616e63 (diff)
downloadPraspel-ce3a6b9abb7c9cd283ad3f67e6a84382f5e3290d.zip
Praspel-ce3a6b9abb7c9cd283ad3f67e6a84382f5e3290d.tar.gz
Praspel-ce3a6b9abb7c9cd283ad3f67e6a84382f5e3290d.tar.bz2
Use Hoa\Praspel\Exception\AssertionChecker…
… instead of Hoa\Praspel\Exception\Generic.
Diffstat (limited to 'AssertionChecker')
-rw-r--r--AssertionChecker/Runtime.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/AssertionChecker/Runtime.php b/AssertionChecker/Runtime.php
index fce105b..348aafd 100644
--- a/AssertionChecker/Runtime.php
+++ b/AssertionChecker/Runtime.php
@@ -39,9 +39,9 @@ namespace {
from('Hoa')
/**
- * \Hoa\Praspel\Exception\Generic
+ * \Hoa\Praspel\Exception\AssertionChecker
*/
--> import('Praspel.Exception.Generic')
+-> import('Praspel.Exception.AssertionChecker')
/**
* \Hoa\Praspel\Exception\Group
@@ -109,7 +109,7 @@ class Runtime extends AssertionChecker {
* @access public
* @param \Hoa\Praspel\Trace $trace Trace.
* @return bool
- * @throw \Hoa\Praspel\Exception\Generic
+ * @throw \Hoa\Praspel\Exception\AssertionChecker
* @throw \Hoa\Praspel\Exception\Group
*/
public function evaluate ( &$trace = false ) {
@@ -144,7 +144,7 @@ class Runtime extends AssertionChecker {
if(true === $this->canGenerateData())
$data = $this->generateData();
else
- throw new \Hoa\Praspel\Exception\Generic(
+ throw new \Hoa\Praspel\Exception\AssertionChecker(
'No data were given. The System Under Test %s needs data ' .
'to be executed.', 1, $callable);