[FIXED] Fails alot of tests
Posted: Wed Feb 28, 2007 10:31 pm
I have installed SimpleTest 1.0.1beta and Swift 3.0.1.
I tried running the tests with the following results, I am not sure why I am getting so many errors, and why nobody else is getting the same errors.
All Swift Authenticator Tests
6/6 test cases complete: 30 passes, 0 fails and 0 exceptions.
All Swift MIME Tests
10/10 test cases complete: 973 passes, 0 fails and 0 exceptions.
All Swift Connection Tests
Fatal error: Class 'Swift_Connection_Exception' not found in C:\Apache2\webdev\swiftmailer\lib\Swift.php on line 375
All Swift Core Tests
Exception: TestOfDiskCache -> testDataWrittenToCacheIsRetreivable -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\tests\units\testcases\TestOfDiskCache.php line 7]
Exception: TestOfDiskCache -> testCacheOnlyReportsToHaveCachedData -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\tests\units\testcases\TestOfDiskCache.php line 7]
Exception: TestOfDiskCache -> testPutIsABuffer -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\tests\units\testcases\TestOfDiskCache.php line 7]
Exception: TestOfDiskCache -> testCacheKeyCanBeCleared -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\tests\units\testcases\TestOfDiskCache.php line 7]
Exception: TestOfDiskCache -> testCacheKeyCanBeCleared -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\lib\Swift\Cache\Disk.php line 119]
Exception: TestOfDiskCache -> testReturnedOutputStreamIsJustAWrapper -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\tests\units\testcases\TestOfDiskCache.php line 7]
Fatal error: Class 'Swift_FileException' not found in C:\Apache2\webdev\swiftmailer\lib\EasySwift.php on line 735
I tried running the tests with the following results, I am not sure why I am getting so many errors, and why nobody else is getting the same errors.
All Swift Authenticator Tests
6/6 test cases complete: 30 passes, 0 fails and 0 exceptions.
All Swift MIME Tests
10/10 test cases complete: 973 passes, 0 fails and 0 exceptions.
All Swift Connection Tests
Fatal error: Class 'Swift_Connection_Exception' not found in C:\Apache2\webdev\swiftmailer\lib\Swift.php on line 375
All Swift Core Tests
Exception: TestOfDiskCache -> testDataWrittenToCacheIsRetreivable -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\tests\units\testcases\TestOfDiskCache.php line 7]
Exception: TestOfDiskCache -> testCacheOnlyReportsToHaveCachedData -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\tests\units\testcases\TestOfDiskCache.php line 7]
Exception: TestOfDiskCache -> testPutIsABuffer -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\tests\units\testcases\TestOfDiskCache.php line 7]
Exception: TestOfDiskCache -> testCacheKeyCanBeCleared -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\tests\units\testcases\TestOfDiskCache.php line 7]
Exception: TestOfDiskCache -> testCacheKeyCanBeCleared -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\lib\Swift\Cache\Disk.php line 119]
Exception: TestOfDiskCache -> testReturnedOutputStreamIsJustAWrapper -> Unexpected PHP error [Invalid argument supplied for foreach()] severity [E_WARNING] in [C:\Apache2\webdev\swiftmailer\tests\units\testcases\TestOfDiskCache.php line 7]
Fatal error: Class 'Swift_FileException' not found in C:\Apache2\webdev\swiftmailer\lib\EasySwift.php on line 735