From f897e36e9695296a05dce114bad4fb61cbdbe429 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sat, 12 Jan 2013 02:18:41 +0100 Subject: [PATCH] [constant-trickery] Turn existing BigIntegerTest into an abstract TestCase. --- tests/Math/BigInteger/BigIntegerTest.php | 11 +++++++++++ .../{BigIntegerTest.php => BigInteger/TestCase.php} | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 tests/Math/BigInteger/BigIntegerTest.php rename tests/Math/{BigIntegerTest.php => BigInteger/TestCase.php} (98%) diff --git a/tests/Math/BigInteger/BigIntegerTest.php b/tests/Math/BigInteger/BigIntegerTest.php new file mode 100644 index 00000000..e13fd22d --- /dev/null +++ b/tests/Math/BigInteger/BigIntegerTest.php @@ -0,0 +1,11 @@ + + * @copyright MMXIII Andreas Fischer + * @license http://www.opensource.org/licenses/mit-license.html MIT License + */ + +class Math_BigInteger_BigIntegerTest extends Math_BigInteger_TestCase +{ + +} diff --git a/tests/Math/BigIntegerTest.php b/tests/Math/BigInteger/TestCase.php similarity index 98% rename from tests/Math/BigIntegerTest.php rename to tests/Math/BigInteger/TestCase.php index 1317609f..793b32b7 100644 --- a/tests/Math/BigIntegerTest.php +++ b/tests/Math/BigInteger/TestCase.php @@ -5,7 +5,7 @@ * @license http://www.opensource.org/licenses/mit-license.html MIT License */ -class Math_BigIntegerTest extends PHPUnit_Framework_TestCase +abstract class Math_BigInteger_TestCase extends PHPUnit_Framework_TestCase { public function getInstance($x = 0, $base = 10) {