#185 added test for failing when then otherwise construct

This commit is contained in:
Timo Westkämper 2012-06-29 16:46:43 +03:00
parent 234511eaa4
commit c23708df60

View File

@ -437,6 +437,12 @@ public abstract class AbstractStandardTest {
}
}
@Test
@Ignore // FIXME https://github.com/mysema/querydsl/issues/185
public void Case() {
query().from(cat).list(cat.name.when("Bob").then(1).otherwise(2));
}
@Test
public void StartsWith(){
assertEquals(1, query().from(cat).where(cat.name.startsWith("R")).count());