Search in sources :

Example 6 with FunctionAssertions

use of com.facebook.presto.operator.scalar.FunctionAssertions in project presto by prestodb.

the class TestTime method setUp.

@BeforeClass
public void setUp() {
    Session session = testSessionBuilder().setTimeZoneKey(TIME_ZONE_KEY).build();
    functionAssertions = new FunctionAssertions(session);
}
Also used : FunctionAssertions(com.facebook.presto.operator.scalar.FunctionAssertions) Session(com.facebook.presto.Session) BeforeClass(org.testng.annotations.BeforeClass)

Example 7 with FunctionAssertions

use of com.facebook.presto.operator.scalar.FunctionAssertions in project presto by prestodb.

the class TestTimestamp method setUp.

@BeforeClass
public void setUp() {
    Session session = testSessionBuilder().setTimeZoneKey(TIME_ZONE_KEY).build();
    functionAssertions = new FunctionAssertions(session);
}
Also used : FunctionAssertions(com.facebook.presto.operator.scalar.FunctionAssertions) Session(com.facebook.presto.Session) BeforeClass(org.testng.annotations.BeforeClass)

Aggregations

FunctionAssertions (com.facebook.presto.operator.scalar.FunctionAssertions)7 BeforeClass (org.testng.annotations.BeforeClass)6 Session (com.facebook.presto.Session)4 BeforeSuite (org.testng.annotations.BeforeSuite)1