From 887fa73477bc568ccf0a297ebfb2de6886c3c574 Mon Sep 17 00:00:00 2001 From: Marius Orcsik Date: Mon, 27 Apr 2009 18:19:17 +0200 Subject: [PATCH] * yay, tests work again --- _res/_libs/models/fooentitya.class.php | 1 - _res/_libs/models/footdoa.class.php | 2 +- _tests/models/fooTdoATest.php | 1 - run-tests.php | 6 ++++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_res/_libs/models/fooentitya.class.php b/_res/_libs/models/fooentitya.class.php index e55b112..bca079e 100644 --- a/_res/_libs/models/fooentitya.class.php +++ b/_res/_libs/models/fooentitya.class.php @@ -7,7 +7,6 @@ * @author Marius Orcsik * @date 09.02.26 */ -usingPackage ('coreexecptions'); abstract class fooEntityA { protected $_name; private $_alias; diff --git a/_res/_libs/models/footdoa.class.php b/_res/_libs/models/footdoa.class.php index f7fb8d2..7ddf48f 100644 --- a/_res/_libs/models/footdoa.class.php +++ b/_res/_libs/models/footdoa.class.php @@ -5,7 +5,7 @@ * @author Marius Orcsik * @version 0.0.1 */ - +//import ('coreexceptions'); abstract class fooTdoA { /** * @var fooSqlDriverA diff --git a/_tests/models/fooTdoATest.php b/_tests/models/fooTdoATest.php index be4db52..070dc9c 100644 --- a/_tests/models/fooTdoATest.php +++ b/_tests/models/fooTdoATest.php @@ -10,7 +10,6 @@ define ('DB_NAME', 'b'); usingPackage ('models'); usingPackage ('models/sqldrivers'); -//usingPackage ('coreexceptions'); /** * mock object for testing the abstract fooTdoA */ diff --git a/run-tests.php b/run-tests.php index e0dd1fb..9cc81ed 100755 --- a/run-tests.php +++ b/run-tests.php @@ -23,11 +23,13 @@ try { $result = tsUnitTest::execute ($_SERVER['argc'], $_SERVER['argv']); } catch (tsExceptionPackageImport $e) { // could not import the tests package - echo $e->getMessage(); + echo $e->getMessage() . "\n"; + echo $e->getFile() . ' - ' .$e->getLine () ."\n"; + echo $e->getTraceAsString(); exit (1); } catch (tsExceptionAutoload $e) { // could not load the tsUnitTest class - echo $e->getMessage(); + echo $e->getMessage() . "\n"; exit (1); } -- 2.11.4.GIT