Search in sources :

Example 1 with NonDistinctOrderByTestImplementation

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

the class NonDistinctOrderByDUnitImpl method testMultiColOrderByWithMultiIndexResultProjection.

@Test
public void testMultiColOrderByWithMultiIndexResultProjection() 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();
    NonDistinctOrderByTestImplementation test = createTestInstance();
    test.testMultiColOrderByWithMultiIndexResultProjection();
    this.closeCache(vm0, vm1, vm2, vm3);
}
Also used : NonDistinctOrderByTestImplementation(org.apache.geode.cache.query.functional.NonDistinctOrderByTestImplementation) VM(org.apache.geode.test.dunit.VM) Host(org.apache.geode.test.dunit.Host) Cache(org.apache.geode.cache.Cache) Test(org.junit.Test) DistributedTest(org.apache.geode.test.junit.categories.DistributedTest)

Example 2 with NonDistinctOrderByTestImplementation

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

the class NonDistinctOrderByDUnitImpl method testMultiColOrderByWithIndexResultDefaultProjection.

@Test
public void testMultiColOrderByWithIndexResultDefaultProjection() 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();
    NonDistinctOrderByTestImplementation test = createTestInstance();
    test.testMultiColOrderByWithIndexResultDefaultProjection();
    this.closeCache(vm0, vm1, vm2, vm3);
}
Also used : NonDistinctOrderByTestImplementation(org.apache.geode.cache.query.functional.NonDistinctOrderByTestImplementation) VM(org.apache.geode.test.dunit.VM) Host(org.apache.geode.test.dunit.Host) Cache(org.apache.geode.cache.Cache) Test(org.junit.Test) DistributedTest(org.apache.geode.test.junit.categories.DistributedTest)

Example 3 with NonDistinctOrderByTestImplementation

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

the class NonDistinctOrderByDUnitImpl method testOrderByWithIndexResultDefaultProjection.

@Test
public void testOrderByWithIndexResultDefaultProjection() 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();
    NonDistinctOrderByTestImplementation test = createTestInstance();
    test.testOrderByWithIndexResultDefaultProjection();
    this.closeCache(vm0, vm1, vm2, vm3);
}
Also used : NonDistinctOrderByTestImplementation(org.apache.geode.cache.query.functional.NonDistinctOrderByTestImplementation) VM(org.apache.geode.test.dunit.VM) Host(org.apache.geode.test.dunit.Host) Cache(org.apache.geode.cache.Cache) Test(org.junit.Test) DistributedTest(org.apache.geode.test.junit.categories.DistributedTest)

Example 4 with NonDistinctOrderByTestImplementation

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

the class NonDistinctOrderByDUnitImpl method testMultiColOrderByWithMultiIndexResultDefaultProjection.

@Test
public void testMultiColOrderByWithMultiIndexResultDefaultProjection() 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();
    NonDistinctOrderByTestImplementation test = createTestInstance();
    test.testMultiColOrderByWithMultiIndexResultDefaultProjection();
    this.closeCache(vm0, vm1, vm2, vm3);
}
Also used : NonDistinctOrderByTestImplementation(org.apache.geode.cache.query.functional.NonDistinctOrderByTestImplementation) VM(org.apache.geode.test.dunit.VM) Host(org.apache.geode.test.dunit.Host) Cache(org.apache.geode.cache.Cache) Test(org.junit.Test) DistributedTest(org.apache.geode.test.junit.categories.DistributedTest)

Example 5 with NonDistinctOrderByTestImplementation

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

the class NonDistinctOrderByDUnitImpl method testOrderByWithIndexResultWithProjection.

@Test
public void testOrderByWithIndexResultWithProjection() 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();
    NonDistinctOrderByTestImplementation test = createTestInstance();
    test.testOrderByWithIndexResultWithProjection();
    this.closeCache(vm0, vm1, vm2, vm3);
}
Also used : NonDistinctOrderByTestImplementation(org.apache.geode.cache.query.functional.NonDistinctOrderByTestImplementation) VM(org.apache.geode.test.dunit.VM) Host(org.apache.geode.test.dunit.Host) Cache(org.apache.geode.cache.Cache) Test(org.junit.Test) DistributedTest(org.apache.geode.test.junit.categories.DistributedTest)

Aggregations

NonDistinctOrderByTestImplementation (org.apache.geode.cache.query.functional.NonDistinctOrderByTestImplementation)11 Host (org.apache.geode.test.dunit.Host)11 VM (org.apache.geode.test.dunit.VM)11 Cache (org.apache.geode.cache.Cache)10 DistributedTest (org.apache.geode.test.junit.categories.DistributedTest)10 Test (org.junit.Test)10 Region (org.apache.geode.cache.Region)1 Index (org.apache.geode.cache.query.Index)1 IndexType (org.apache.geode.cache.query.IndexType)1