Search in sources :

Example 1 with GroupByTestInterface

use of org.apache.geode.cache.query.functional.GroupByTestInterface in project geode by apache.

the class GroupByDUnitImpl method testAggregateFuncCountDistinctStar_1.

@Override
@Test
public void testAggregateFuncCountDistinctStar_1() throws Exception {
    Host host = Host.getHost(0);
    final VM vm0 = host.getVM(0);
    final VM vm1 = host.getVM(1);
    final VM vm2 = host.getVM(2);
    final VM vm3 = host.getVM(3);
    Cache cache = this.getCache();
    GroupByTestInterface test = createTestInstance();
    test.testAggregateFuncCountDistinctStar_1();
    this.closeCache(vm0, vm1, vm2, vm3);
}
Also used : VM(org.apache.geode.test.dunit.VM) Host(org.apache.geode.test.dunit.Host) GroupByTestInterface(org.apache.geode.cache.query.functional.GroupByTestInterface) Cache(org.apache.geode.cache.Cache) Test(org.junit.Test)

Example 2 with GroupByTestInterface

use of org.apache.geode.cache.query.functional.GroupByTestInterface in project geode by apache.

the class GroupByDUnitImpl method testAggregateFuncSumDistinct.

@Override
@Test
public void testAggregateFuncSumDistinct() throws Exception {
    Host host = Host.getHost(0);
    final VM vm0 = host.getVM(0);
    final VM vm1 = host.getVM(1);
    final VM vm2 = host.getVM(2);
    final VM vm3 = host.getVM(3);
    Cache cache = this.getCache();
    GroupByTestInterface test = createTestInstance();
    test.testAggregateFuncSumDistinct();
    this.closeCache(vm0, vm1, vm2, vm3);
}
Also used : VM(org.apache.geode.test.dunit.VM) Host(org.apache.geode.test.dunit.Host) GroupByTestInterface(org.apache.geode.cache.query.functional.GroupByTestInterface) Cache(org.apache.geode.cache.Cache) Test(org.junit.Test)

Example 3 with GroupByTestInterface

use of org.apache.geode.cache.query.functional.GroupByTestInterface in project geode by apache.

the class GroupByDUnitImpl method testSumWithMultiColumnGroupBy.

@Override
@Test
public void testSumWithMultiColumnGroupBy() throws Exception {
    Host host = Host.getHost(0);
    final VM vm0 = host.getVM(0);
    final VM vm1 = host.getVM(1);
    final VM vm2 = host.getVM(2);
    final VM vm3 = host.getVM(3);
    Cache cache = this.getCache();
    GroupByTestInterface test = createTestInstance();
    test.testSumWithMultiColumnGroupBy();
    this.closeCache(vm0, vm1, vm2, vm3);
}
Also used : VM(org.apache.geode.test.dunit.VM) Host(org.apache.geode.test.dunit.Host) GroupByTestInterface(org.apache.geode.cache.query.functional.GroupByTestInterface) Cache(org.apache.geode.cache.Cache) Test(org.junit.Test)

Example 4 with GroupByTestInterface

use of org.apache.geode.cache.query.functional.GroupByTestInterface in project geode by apache.

the class GroupByDUnitImpl method testConvertibleGroupByQuery_1.

@Override
@Test
public void testConvertibleGroupByQuery_1() throws Exception {
    Host host = Host.getHost(0);
    final VM vm0 = host.getVM(0);
    final VM vm1 = host.getVM(1);
    final VM vm2 = host.getVM(2);
    final VM vm3 = host.getVM(3);
    Cache cache = this.getCache();
    GroupByTestInterface test = createTestInstance();
    test.testConvertibleGroupByQuery_1();
    this.closeCache(vm0, vm1, vm2, vm3);
}
Also used : VM(org.apache.geode.test.dunit.VM) Host(org.apache.geode.test.dunit.Host) GroupByTestInterface(org.apache.geode.cache.query.functional.GroupByTestInterface) Cache(org.apache.geode.cache.Cache) Test(org.junit.Test)

Example 5 with GroupByTestInterface

use of org.apache.geode.cache.query.functional.GroupByTestInterface in project geode by apache.

the class GroupByDUnitImpl method testConvertibleGroupByQuery_refer_column_alias_Bug520141.

@Override
@Test
public void testConvertibleGroupByQuery_refer_column_alias_Bug520141() throws Exception {
    Host host = Host.getHost(0);
    final VM vm0 = host.getVM(0);
    final VM vm1 = host.getVM(1);
    final VM vm2 = host.getVM(2);
    final VM vm3 = host.getVM(3);
    Cache cache = this.getCache();
    GroupByTestInterface test = createTestInstance();
    test.testConvertibleGroupByQuery_refer_column_alias_Bug520141();
    this.closeCache(vm0, vm1, vm2, vm3);
}
Also used : VM(org.apache.geode.test.dunit.VM) Host(org.apache.geode.test.dunit.Host) GroupByTestInterface(org.apache.geode.cache.query.functional.GroupByTestInterface) Cache(org.apache.geode.cache.Cache) Test(org.junit.Test)

Aggregations

Cache (org.apache.geode.cache.Cache)19 GroupByTestInterface (org.apache.geode.cache.query.functional.GroupByTestInterface)19 Host (org.apache.geode.test.dunit.Host)19 VM (org.apache.geode.test.dunit.VM)19 Test (org.junit.Test)19