|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.test.TestBase
org.h2.test.db.TestFunctionOverload
public class TestFunctionOverload
Tests for overloaded user defined functions.
Field Summary |
---|
Fields inherited from class org.h2.test.TestBase |
---|
BASE_TEST_DIR, config, start, TEMP_DIR, uniqueId |
Constructor Summary | |
---|---|
TestFunctionOverload()
|
Method Summary | |
---|---|
static void |
main(java.lang.String... a)
Run just this test. |
static int |
overload0()
This method is called via reflection from the database. |
static int |
overload1or2(int one)
This method is called via reflection from the database. |
static int |
overload1or2(int one,
int two)
This method is called via reflection from the database. |
static int |
overload1or2WithConn(java.sql.Connection conn,
int one)
This method is called via reflection from the database. |
static int |
overload1or2WithConn(int one,
int two)
This method is called via reflection from the database. |
static int |
overloadError(double one,
double two)
This method is called via reflection from the database. |
static int |
overloadError(int one,
int two)
This method is called via reflection from the database. |
void |
test()
This method will be called by the test framework. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestFunctionOverload()
Method Detail |
---|
public static void main(java.lang.String... a) throws java.lang.Exception
a
- ignored
java.lang.Exception
public void test() throws java.sql.SQLException
TestBase
test
in class TestBase
java.sql.SQLException
public static int overload0()
public static int overload1or2(int one)
one
- the value
public static int overload1or2(int one, int two)
one
- the first valuetwo
- the second value
public static int overload1or2WithConn(java.sql.Connection conn, int one) throws java.sql.SQLException
conn
- the connectionone
- the value
java.sql.SQLException
public static int overload1or2WithConn(int one, int two)
one
- the first valuetwo
- the second value
public static int overloadError(int one, int two)
one
- the first valuetwo
- the second value
public static int overloadError(double one, double two)
one
- the first valuetwo
- the second value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |