Examples of CqlKeySpace


Examples of org.cyclop.model.CqlKeySpace

    vh.verifyContainsAllKeyspaces(kss, true);
  }

  @Test
  public void testFindAllIndexes_KeyspaceDoesNotExist() {
    ImmutableSortedSet<CqlIndex> index = qs.findAllIndexes(Optional.of(new CqlKeySpace("space...")));
    vh.verifyIsEmpty(index);
  }
View Full Code Here

Examples of org.cyclop.model.CqlKeySpace

    }
  }

  @Test
  public void testMultpileParamsAllSetOk() {
    assertEquals(new CqlKeySpace("space"),
        service.mixedParams(new CqlKeySpace("space"), new CqlTable("table"), "123"));
  }
View Full Code Here

Examples of org.cyclop.model.CqlKeySpace

  }

  @Test
  public void testMultpileParamsWithViolations() {
    try {
      service.mixedParams(new CqlKeySpace(" "), new CqlTable(" "), null);
      fail();
    } catch (BeanValidationException ve) {
      String msg = ve.getMessage();
      assertTrue(msg, msg.contains("METHOD_PARAM_INDEX_0=[ConstraintViolation"));
      assertTrue(msg, msg.contains("METHOD_PARAM_INDEX_1=[ConstraintViolation"));
View Full Code Here

Examples of org.cyclop.model.CqlKeySpace

    }
  }

  @Test
  public void testMultpileParamsMinSetOk() {
    assertEquals(new CqlKeySpace("space"), service.mixedParams(new CqlKeySpace("space"), null, "123"));
  }
View Full Code Here

Examples of org.cyclop.model.CqlKeySpace

  }

  @Test
  public void testReturnNotEmptyViolation() {
    try {
      service.returnOptional(new CqlKeySpace(" "));
      fail();
    } catch (BeanValidationException ve) {
      String msg = ve.getMessage();
      assertTrue(msg, msg.contains("METHOD_RETURN_VALUE"));
      assertTrue(msg, msg.contains("propertyPath=partLc, rootBeanClass=class org.cyclop.model.CqlKeySpace"));
View Full Code Here
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.