From 36065bc0bb7b49ae3a810a643e218b060b78cea0 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Wed, 21 Dec 2011 14:53:36 -0600 Subject: [PATCH] Added general test case class. --- test/TestCase.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 test/TestCase.php diff --git a/test/TestCase.php b/test/TestCase.php new file mode 100644 index 0000000..b68c7a2 --- /dev/null +++ b/test/TestCase.php @@ -0,0 +1,28 @@ +setTestNamespace('Tests\Units'); + if (file_exists('test/settings.ini')) { + $this->settings = parse_ini_file('test/settings.ini'); + } + else { + throw new Exception('Could not access test/settings.ini'); + } + + parent::__construct($score, $locale, $adapter); + } +}