use of org.apache.geode.cache.query.functional.NonDistinctOrderByTestImplementation in project geode by apache.
the class NonDistinctOrderByDUnitImpl method testLimitNotAppliedIfOrderByNotUsingIndex.
@Test
public void testLimitNotAppliedIfOrderByNotUsingIndex() 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.testLimitNotAppliedIfOrderByNotUsingIndex();
this.closeCache(vm0, vm1, vm2, vm3);
}
use of org.apache.geode.cache.query.functional.NonDistinctOrderByTestImplementation in project geode by apache.
the class NonDistinctOrderByDUnitImpl method testOrderByWithNullValues.
@Test
public void testOrderByWithNullValues() 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.testOrderByWithNullValues();
this.closeCache(vm0, vm1, vm2, vm3);
}
use of org.apache.geode.cache.query.functional.NonDistinctOrderByTestImplementation in project geode by apache.
the class NonDistinctOrderByDUnitImpl method testMultiColOrderByWithIndexResultWithProjection.
@Test
public void testMultiColOrderByWithIndexResultWithProjection() 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.testMultiColOrderByWithIndexResultWithProjection();
this.closeCache(vm0, vm1, vm2, vm3);
}
use of org.apache.geode.cache.query.functional.NonDistinctOrderByTestImplementation in project geode by apache.
the class NonDistinctOrderByDUnitImpl method testOrderByWithNullValuesUseIndex.
@Test
public void testOrderByWithNullValuesUseIndex() 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.testOrderByWithNullValuesUseIndex();
this.closeCache(vm0, vm1, vm2, vm3);
}
use of org.apache.geode.cache.query.functional.NonDistinctOrderByTestImplementation in project geode by apache.
the class NonDistinctOrderByDUnitImpl method testOrderByForUndefined.
@Test
public void testOrderByForUndefined() 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.testOrderByForUndefined();
this.closeCache(vm0, vm1, vm2, vm3);
}
Aggregations