mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-06 21:05:50 +08:00
#185 added test for failing when then otherwise construct
This commit is contained in:
parent
234511eaa4
commit
c23708df60
@ -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());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user