Commit Graph

721 Commits

Author SHA1 Message Date
Andreas Fischer
862bc5d6dc [coverage-html] Use PHP version number in folder name. 2013-01-16 23:18:30 +01:00
Andreas Fischer
9758ab1688 [coverage-html] Generate HTML code coverage report and rsync it out of travis. 2013-01-16 18:59:35 +01:00
Andreas Fischer
93d7bf4444 [constant-trickery] Also test without OpenSSL. 2013-01-13 19:15:35 +01:00
Andreas Fischer
6d24b92b11 [constant-trickery] Better name for constant redefine method. 2013-01-13 19:08:20 +01:00
Andreas Fischer
f62a9114b3 [constant-trickery] Reimport class definition to clear static variables. 2013-01-12 21:38:38 +01:00
Andreas Fischer
3c75fa1ad4 [constant-trickery] Also skip tests when required extension is missing. 2013-01-12 03:07:41 +01:00
Andreas Fischer
306f0711ed [constant-trickery] Try to use runkit to redefine mode constants. 2013-01-12 03:03:29 +01:00
Andreas Fischer
b83ca10246 [constant-trickery] Add extra test cases for BCMath and GMP. 2013-01-12 02:57:21 +01:00
Andreas Fischer
2ad6f71002 [constant-trickery] Provide infrastructure for setting mode constants. 2013-01-12 02:48:19 +01:00
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