Package org.teiid.query.sql.proc

Examples of org.teiid.query.sql.proc.DeclareStatement


    int equals = 0;
    UnitTestUtil.helpTestEquivalence(equals, s1, s1a);
  }
 
  public void testNonEquivalence(){
    DeclareStatement s1 = sample1();
    DeclareStatement s2 = sample2();
    int equals = -1;
    UnitTestUtil.helpTestEquivalence(equals, s1, s2);
  }
View Full Code Here


    int equals = -1;
    UnitTestUtil.helpTestEquivalence(equals, s1, s2);
  }
   
    public void testClone() {
        DeclareStatement s1 = sample1();
        DeclareStatement s2 = (DeclareStatement)s1.clone();
       
        assertTrue(s1 != s2);
        assertEquals(s1, s2);
    }
View Full Code Here

    }   

    // Test methods for Update Procedure Language Objects
   
    public void testDeclareStatement() {
    DeclareStatement dclStmt = new DeclareStatement(new ElementSymbol("a"), "String"); //$NON-NLS-1$ //$NON-NLS-2$
    helpTest(dclStmt, "DECLARE String a;"); //$NON-NLS-1$
    }
View Full Code Here

TOP

Related Classes of org.teiid.query.sql.proc.DeclareStatement

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.