Changes

Jump to: navigation, search

Run Junit Tests For Non Default SQL Adapter

602 bytes added, 14:30, 26 February 2011
Debugging a Non-Default SQL Adapter
#### (*Optional) Schema Name: test
==== Unit SQL Test Files Suite ====The following will add the new unittests to the SQL test suite#Edit the file <code>nexj.core.persistence.sql.AllTests.java</code> and add an entry for the [DbName]SQLAdapterTest#:For the PostgreSQL Adapter the following is added<source lang="java">public static Test suite() { SQLTestSuite suite = new SQLTestSuite("Test for nexj.core.persistence.sql");  suite.addTestSuite(SQLWriterConnectionTest.class); ... suite.addSQLTests("nexj.core.persistence.sql.PostgreSQLAdapterTest", "nexj.core.persistence.sql.PostgreSQLSchemaManagerTest"); return suite; }</source>
1
edit

Navigation menu