Commit Graph

212 Commits

Author SHA1 Message Date
Andreas Fischer
2c3b165556 [constant-trickery] Add PhpseclibTestCase. No longer use PHPUnit directly. 2013-01-12 02:34:46 +01:00
Andreas Fischer
f897e36e96 [constant-trickery] Turn existing BigIntegerTest into an abstract TestCase. 2013-01-12 02:21:51 +01:00
Andreas Fischer
6e597bfe25 [issue/39] Extend tests to cover other modes. Also IVs, keys, etc. 2013-01-05 21:11:57 +01:00
Andreas Fischer
f15bc38520 [issue/39] Test case for Github ContinuousBuffer issue 39. 2013-01-05 21:11:57 +01:00
Andreas Fischer
318ac0bd86 [issue/39] Abstract test case for Crypt_AES. 2013-01-05 21:11:57 +01:00
Andreas Fischer
bbb47168da [task/fix-test-autoloader] Fix autoloader to support failing/erroring tests.
Before showing error output PHPUnit 3.7.x calls class_exists() on some PHPUnit
Extension class names that may not exist. Calling class_exists() already
triggers the autoload function in which require() then obviously fails.

We now check whether a file is includable by simply looping over all possible
include directories.
2013-01-03 18:51:15 +01:00
Andreas Fischer
f631785365 [feature/hash-tests] Tests for the MD5 hash algorithm. 2012-08-20 13:55:03 +02:00
Andreas Fischer
99bfab11a6 [feature/hash-tests] Some infrastructure for testing the hash implementations. 2012-08-20 13:55:03 +02:00
Andreas Fischer
dadbddb97c [feature/phpunit] Change test class name to reflect the path it is in. 2012-06-06 13:08:11 +02:00
Andreas Fischer
8571aa0bad [feature/phpunit] Use SPL autoloading instead of manual loading. 2012-06-06 13:08:04 +02:00
Andreas Fischer
2da655a783 [feature/phpunit] Add some basic tests for the Math_BigInteger class. 2012-06-06 13:07:47 +02:00
Andreas Fischer
d707975426 [feature/phpunit] Add phpunit configuration and bootstrapping. 2012-06-06 13:07:36 +02:00