Package com.oltpbenchmark.benchmarks.tatp.procedures

Examples of com.oltpbenchmark.benchmarks.tatp.procedures.DeleteCallForwarding


   
    /**
     * testGetProcedureName
     */
    public void testGetProcedureName() throws Exception {
        DeleteCallForwarding proc = new DeleteCallForwarding();
        assertEquals(DeleteCallForwarding.class.getSimpleName(), proc.getProcedureName());
    }
View Full Code Here


   
    /**
     * testGetStatments
     */
    public void testGetStatments() throws Exception {
        Map<String, SQLStmt> stmts = Procedure.getStatments(new DeleteCallForwarding());
        assertNotNull(stmts);
        assertEquals(2, stmts.size());
        System.err.println(stmts);
    }
View Full Code Here

   
    /**
     * testGetStatmentsConstructor
     */
    public void testGetStatmentsConstructor() throws Exception {
        Procedure proc = new DeleteCallForwarding();
        proc.initialize(DatabaseType.POSTGRES);
       
        // Make sure that procedure handle has the same
        // SQLStmts as what we get back from the static method
        Map<String, SQLStmt> expected = Procedure.getStatments(proc);
        assertNotNull(expected);
        System.err.println("EXPECTED:" + expected);
       
        Map<String, SQLStmt> actual = proc.getStatments();
        assertNotNull(actual);
        System.err.println("ACTUAL:" + actual);
       
        assertEquals(expected.size(), actual.size());
        assertEquals(expected, actual);
View Full Code Here

TOP

Related Classes of com.oltpbenchmark.benchmarks.tatp.procedures.DeleteCallForwarding

Copyright © 2018 www.massapicom. 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.