Esempio n. 1
0
  public static ModTest getComplexModTest() {
    ModTest test = getSimpleModTest();

    test.setName("Complex " + test.getName());
    test.setEjbqlString(test.getEjbqlString() + " AND emp.firstName <> \"XCV\"");

    return test;
  }
Esempio n. 2
0
  private static ModTest getNewTestCaseNamed(String name, String ejbql, Class referenceClass) {
    ModTest test = new ModTest();

    test.setName(name);
    test.setEjbqlString(ejbql);
    test.setReferenceClass(referenceClass);

    return test;
  }