Package org.infinispan.client.hotrod.query

Source Code of org.infinispan.client.hotrod.query.HotRodNonIndexedQueryTest

package org.infinispan.client.hotrod.query;

import org.infinispan.client.hotrod.exceptions.HotRodClientException;
import org.infinispan.commons.equivalence.ByteArrayEquivalence;
import org.infinispan.configuration.cache.ConfigurationBuilder;
import org.testng.annotations.Test;

/**
* @author anistor@redhat.com
* @since 7.0
*/
@Test(testName = "client.hotrod.query.HotRodNonIndexedQueryTest", groups = "functional")
public class HotRodNonIndexedQueryTest extends HotRodQueryTest {

   @Override
   protected ConfigurationBuilder getConfigurationBuilder() {
      ConfigurationBuilder builder = new ConfigurationBuilder();
      builder.dataContainer().keyEquivalence(ByteArrayEquivalence.INSTANCE);
      return builder;
   }

   @Test(expectedExceptions = HotRodClientException.class, expectedExceptionsMessageRegExp = ".*ISPN000405:.*")
   @Override
   public void testInvalidEmbeddedAttributeQuery() throws Exception {
      super.testInvalidEmbeddedAttributeQuery();
   }
}
TOP

Related Classes of org.infinispan.client.hotrod.query.HotRodNonIndexedQueryTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.