Package org.apache.isis.objectstore.sql.common

Examples of org.apache.isis.objectstore.sql.common.SqlIntegrationTestFixtures.dropTable()


     * object store is "in-memory" (this is required since "in-memory" has to be
     * left alone for created data to still be present in the next test).
     */
    public void test2SetupDataWithDatabaseConnection() throws Exception {
        final SqlIntegrationTestFixtures sqlIntegrationTestFixtures = getSqlIntegrationTestFixtures();
        sqlIntegrationTestFixtures.dropTable("ISIS_SELFREFERENCINGENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTIES");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUB");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTWO");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTHREE");
View Full Code Here


     * left alone for created data to still be present in the next test).
     */
    public void test2SetupDataWithDatabaseConnection() throws Exception {
        final SqlIntegrationTestFixtures sqlIntegrationTestFixtures = getSqlIntegrationTestFixtures();
        sqlIntegrationTestFixtures.dropTable("ISIS_SELFREFERENCINGENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTIES");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUB");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTWO");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTHREE");
        sqlIntegrationTestFixtures.dropTable("ISIS_REFERENCINGPOLYTYPESENTITY");
View Full Code Here

     */
    public void test2SetupDataWithDatabaseConnection() throws Exception {
        final SqlIntegrationTestFixtures sqlIntegrationTestFixtures = getSqlIntegrationTestFixtures();
        sqlIntegrationTestFixtures.dropTable("ISIS_SELFREFERENCINGENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTIES");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUB");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTWO");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTHREE");
        sqlIntegrationTestFixtures.dropTable("ISIS_REFERENCINGPOLYTYPESENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITY");
View Full Code Here

    public void test2SetupDataWithDatabaseConnection() throws Exception {
        final SqlIntegrationTestFixtures sqlIntegrationTestFixtures = getSqlIntegrationTestFixtures();
        sqlIntegrationTestFixtures.dropTable("ISIS_SELFREFERENCINGENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTIES");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUB");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTWO");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTHREE");
        sqlIntegrationTestFixtures.dropTable("ISIS_REFERENCINGPOLYTYPESENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLE");
View Full Code Here

        final SqlIntegrationTestFixtures sqlIntegrationTestFixtures = getSqlIntegrationTestFixtures();
        sqlIntegrationTestFixtures.dropTable("ISIS_SELFREFERENCINGENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTIES");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUB");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTWO");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTHREE");
        sqlIntegrationTestFixtures.dropTable("ISIS_REFERENCINGPOLYTYPESENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLE");
View Full Code Here

        sqlIntegrationTestFixtures.dropTable("ISIS_SELFREFERENCINGENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTIES");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUB");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTWO");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTHREE");
        sqlIntegrationTestFixtures.dropTable("ISIS_REFERENCINGPOLYTYPESENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLE");

        final ReferencingPolyTypesEntity referencingPolyTypesEntity = factory.newPolyTestClass();
View Full Code Here

        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTIES");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUB");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTWO");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTHREE");
        sqlIntegrationTestFixtures.dropTable("ISIS_REFERENCINGPOLYTYPESENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLE");

        final ReferencingPolyTypesEntity referencingPolyTypesEntity = factory.newPolyTestClass();
        referencingPolyTypesEntity.setString("polyTestClassString");
View Full Code Here

        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTIES");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUB");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTWO");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTHREE");
        sqlIntegrationTestFixtures.dropTable("ISIS_REFERENCINGPOLYTYPESENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLE");

        final ReferencingPolyTypesEntity referencingPolyTypesEntity = factory.newPolyTestClass();
        referencingPolyTypesEntity.setString("polyTestClassString");
View Full Code Here

        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUB");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTWO");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTHREE");
        sqlIntegrationTestFixtures.dropTable("ISIS_REFERENCINGPOLYTYPESENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITY");
        sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLE");

        final ReferencingPolyTypesEntity referencingPolyTypesEntity = factory.newPolyTestClass();
        referencingPolyTypesEntity.setString("polyTestClassString");

        // Setup self-referencing collection
View Full Code Here

    @Override
    protected void testCreate() throws Exception {
        final SqlIntegrationTestFixtures sqlIntegrationTestFixtures = getSqlIntegrationTestFixtures();
        for (final String tableName : Data.getTableNames()) {
            sqlIntegrationTestFixtures.dropTable(tableName);
        }
        super.testCreate();
    }

    // @Override
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.