Commit Graph

7 Commits

Author SHA1 Message Date
Andreas Fischer
fd65c55720 phpseclib_is_includable() -> phpseclib_resolve_include_path() 2014-06-19 14:57:09 +02:00
Andreas Fischer
9c90beaf82 Replace stream_resolve_include_path with phpseclib_is_includable. 2014-06-17 14:38:24 +02:00
Andreas Fischer
ef528ea879 Apply coding guidelines (with exceptions) to the tests directory. 2014-02-15 20:05:30 +01:00
Andreas Fischer
fccf3e8c8a Set the default timezone in tests bootstrap file. 2013-11-29 09:22:08 +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
8571aa0bad [feature/phpunit] Use SPL autoloading instead of manual loading. 2012-06-06 13:08:04 +02:00
Andreas Fischer
d707975426 [feature/phpunit] Add phpunit configuration and bootstrapping. 2012-06-06 13:07:36 +02:00