Package org.apache.calcite.test
Class ServerTest
- java.lang.Object
-
- org.apache.calcite.test.ServerTest
-
public class ServerTest extends java.lang.Object
Unit tests for server and DDL.
-
-
Constructor Summary
Constructors Constructor Description ServerTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static java.sql.Connection
connect()
void
testCreateSchema()
void
testCreateTable()
void
testCreateType()
void
testDropType()
void
testStatement()
void
testStoredGeneratedColumn()
void
testStoredGeneratedColumn2()
void
testVirtualColumn()
-
-
-
Field Detail
-
URL
static final java.lang.String URL
- See Also:
- Constant Field Values
-
thrown
public org.junit.rules.ExpectedException thrown
-
-
Method Detail
-
connect
static java.sql.Connection connect() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testStatement
public void testStatement() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreateSchema
public void testCreateSchema() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreateType
public void testCreateType() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDropType
public void testDropType() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreateTable
public void testCreateTable() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testStoredGeneratedColumn
public void testStoredGeneratedColumn() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testStoredGeneratedColumn2
public void testStoredGeneratedColumn2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testVirtualColumn
public void testVirtualColumn() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-