Package ch.colabproject.colab.tests.db
Class DatabaseTest
- java.lang.Object
-
- ch.colabproject.colab.tests.tests.AbstractArquillianTest
-
- ch.colabproject.colab.tests.db.DatabaseTest
-
public class DatabaseTest extends AbstractArquillianTest
Assert JPA create the database well.- Author:
- maxence
-
-
Field Summary
-
Fields inherited from class ch.colabproject.colab.tests.tests.AbstractArquillianTest
admin, ADMIN_EMAIL, ADMIN_INITIALS, ADMIN_PASSWORD, ADMIN_USERNAME, adminUserId, client, deploymentURL, logger, mailClient, reflections
-
-
Constructor Summary
Constructors Constructor Description DatabaseTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testIndexes()
One should index all foreign keys.-
Methods inherited from class ch.colabproject.colab.tests.tests.AbstractArquillianTest
clean, createDeployement, createRestClient, createWsClient, getAuthInfo, init, initDatabase, initDatabaseOnce, initGlobal, resetDatabase, signIn, signIn, signOut, signup, verifyAccounts
-
-
-
-
Method Detail
-
testIndexes
@Test public void testIndexes() throws SQLException
One should index all foreign keys.- Throws:
SQLException
- if any errors occurs
-
-