From: Christian W. <cw...@cw...> - 2007-05-01 16:20:23
Attachments:
signature.asc
|
Hello, I updated docs, fixed allTests and made sure everything works as expected. Currently, all but three unit tests work; it's SparqlEngine (the old one) that has problems with three of them (ex11_0, test-B-01, test-B-12). Shall we just exclude those, or should Tobias try to fix them= ? I ask all people reading this to checkout latest CVS, set up test/config.php properly (copy config.php.dist) and let test/unit/allTests.php run. We should make sure it runs on every platform before releasing a new version. --=20 Regards/Mit freundlichen Gr=C3=BC=C3=9Fen Christian Weiske |
From: Richard C. <ri...@cy...> - 2007-05-02 23:37:41
|
On 1 May 2007, at 18:20, Christian Weiske wrote: > I ask all people reading this to checkout latest CVS, set up > test/config.php properly (copy config.php.dist) and let > test/unit/allTests.php run. What else do I have to do to run the tests? Seems I have to download =20 simpletest first. Also seems like I have to load something into the =20 database? Thanks, Richard > We should make sure it runs on every > platform before releasing a new version. > > --=20 > Regards/Mit freundlichen Gr=FC=DFen > Christian Weiske > > ----------------------------------------------------------------------=20= > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/=20 > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest |
From: Christian W. <cw...@cw...> - 2007-05-03 03:29:16
Attachments:
signature.asc
|
Richard, >> I ask all people reading this to checkout latest CVS, set up >> test/config.php properly (copy config.php.dist) and let >> test/unit/allTests.php run. >=20 > What else do I have to do to run the tests? Seems I have to download > simpletest first. Also seems like I have to load something into the > database? The database is automatically filled with temporary data for each unit test that needs the database. So beside simpletest, you shouldn't need anything beside. --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |
From: Richard C. <ri...@cy...> - 2007-05-03 13:42:29
|
On 3 May 2007, at 05:28, Christian Weiske wrote: >> What else do I have to do to run the tests? Seems I have to download >> simpletest first. Also seems like I have to load something into the >> database? > > The database is automatically filled with temporary data for each unit > test that needs the database. Doesn't work for me. I believe I've set up the database correctly in =20 config.php, but no tables are created and I get this: SparqlDbTests Table 'raptest.models' doesn't existTable 'raptest.models' doesn't exist Fatal error: Call to a member function load() on a non-object in /=20 Users/richard/rap/htdocs/rap-cvs/test/unit/Sparql/=20 SparqlDbTests_test.php on line 58 Any idea? Richard > > So beside simpletest, you shouldn't need anything beside. > > --=20 > Regards/Mit freundlichen Gr=FC=DFen > Christian Weiske > > ----------------------------------------------------------------------=20= > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/=20 > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest |
From: Christian W. <cw...@cw...> - 2007-05-12 10:29:35
Attachments:
signature.asc
|
Richard, > SparqlDbTests > Table 'raptest.models' doesn't existTable 'raptest.models' doesn't exis= t > Fatal error: Call to a member function load() on a non-object in > /Users/richard/rap/htdocs/rap-cvs/test/unit/Sparql/SparqlDbTests_test.p= hp > on line 58 Sorry for the late answer - I've been on vacation for a week. The database tables don't exist. Use this script in test/ <?php echo "Table creation script\n"; require_once 'config.php'; require_once RDFAPI_INCLUDE_DIR . 'RdfAPI.php'; //create database tables echo " Trying to connect to database\n"; $database =3D ModelFactory::getDbStore( $GLOBALS['dbConf']['type'], $GLOBALS['dbConf']['host'], $GLOBALS['dbConf']['database'], $GLOBALS['dbConf']['user'], $GLOBALS['dbConf']['password'] ); echo " Checking if tables already exist.."; if ($database->isSetup($GLOBALS['dbConf']['type'])) { echo "yes\n"; } else { echo "no\n"; echo " Creating tables\n"; $database->createTables($GLOBALS['dbConf']['type']); } echo " done\n"; ?> --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |