xp-framework/xp-framework — Issue #111: SQLite3 Test failing
Author: thekid
Created: 2012-01-17 18:08:09+00:00
State: open
Labels: bug, php

While it works perfectly on Windows, the following test fails on Un*x systems (Debian, Gentoo, Ubuntu):

```sh
$ unittest net.xp_framework.unittest.rdbms.sqlite3.SQLite3CreationTest::connect_fails_for_invalid_filenames
[F]

F unittest.TestAssertionFailed(test= net.xp_framework.unittest.rdbms.sqlite3.SQLite3CreationTest::connect_fails_for_invalid_filenames, time= 0.001 seconds) {
unittest.AssertionFailedError (Expected exception not caught) { expected: [string:"rdbms.SQLConnectException"] but was: [NULL:null] }
at unittest.TestSuite::run() [line 233 of Runner.class.php]
at xp.unittest.Runner::run() [line 244 of Runner.class.php]
at xp.unittest.Runner::main() [line 0 of StackTraceElement.class.php]
at php.ReflectionMethod::invokeArgs() [line 102 of Method.class.php]
at lang.reflect.Method::invoke() [line 91 of class.php]

}

FAIL: 1/1 run (0 skipped), 0 succeeded, 1 failed
Memory used: 6458.95 kB (7131.82 kB peak)
Time taken: 0.001 seconds
```