Package com.volantis.mcs.repository.jdbc

Examples of com.volantis.mcs.repository.jdbc.InternalJDBCRepository.terminate()


                checkPolicyTypeRow(conn, null, "boolean", 0, 0);
                checkTypesRow(conn, null, 0, 0);
                checkCategoryRow(conn, null, 0, "category");

                connection.disconnect();
                repository.terminate();
            }
        });
    }

    public void testRemoveBoolean() throws Exception {
View Full Code Here


                // Check the database contents are empty
                checkAllEmpty(conn);

                connection.disconnect();
                repository.terminate();
            }
        });
    }

    public void testCreateSelection() throws Exception {
View Full Code Here

                checkCategoryRow(conn, null, 0, "category");
                checkTypesSelectionRow(conn, "KEYWORD='k1'", 0, "k1");
                checkTypesSelectionRow(conn, "KEYWORD='k2'", 0, "k2");

                connection.disconnect();
                repository.terminate();
            }
        });
    }

    public void testRemoveSelection() throws Exception {
View Full Code Here

                // Check the database contents are empty
                checkAllEmpty(conn);

                connection.disconnect();
                repository.terminate();
            }
        });
    }

    public void testCreateRange() throws Exception {
View Full Code Here

                checkTypesRow(conn, null, 0, 3);
                checkCategoryRow(conn, null, 0, "category");
                checkTypesRangeRow(conn, null, 0, 1, 100);

                connection.disconnect();
                repository.terminate();
            }
        });
    }

    public void testRemoveRange() throws Exception {
View Full Code Here

                // Check the database contents are empty
                checkAllEmpty(conn);

                connection.disconnect();
                repository.terminate();
            }
        });
    }

    public void testCreateStructure() throws Exception {
View Full Code Here

                checkTypesStructureRow(conn, "FIELDNAME='f2'", 0, "f2", 2);
                checkTypesRow(conn, "TYPE_INSTANCE_ID=2", 2, 3);
                checkTypesRangeRow(conn, null, 2, 2, 99);

                connection.disconnect();
                repository.terminate();
            }
        });
    }

    public void testRemoveStructure() throws Exception {
View Full Code Here

                // Check the database contents are empty
                checkAllEmpty(conn);

                connection.disconnect();
                repository.terminate();
            }
        });
    }

    public void testCreateOrderedSet() throws Exception {
View Full Code Here

                // set row and dependent boolean type
                checkTypesSetRow(conn, null, 0, 1, true);
                checkTypesRow(conn, "TYPE_INSTANCE_ID=1", 1, 0);

                connection.disconnect();
                repository.terminate();
            }
        });
    }

    public void testRemoveOrderedSet() throws Exception {
View Full Code Here

                // Check the database contents are empty
                checkAllEmpty(conn);

                connection.disconnect();
                repository.terminate();
            }
        });
    }

    public void testCreateUnorderedSet() throws Exception {
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.