mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-06 21:05:50 +08:00
#185 Improve test
This commit is contained in:
parent
4b745b0346
commit
fe3f4210ca
@ -352,11 +352,18 @@ public abstract class AbstractJPATest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore // FIXME https://github.com/mysema/querydsl/issues/185
|
||||
@NoHibernate
|
||||
public void Case() {
|
||||
query().from(cat).list(cat.name.when("Bob").then(1).otherwise(2));
|
||||
}
|
||||
|
||||
@Test(expected=ClassCastException.class)
|
||||
@NoEclipseLink
|
||||
@NoBatooJPA
|
||||
public void Case_Hibernate() {
|
||||
query().from(cat).list(cat.name.when("Bob").then(1).otherwise(2));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void Case2() {
|
||||
query().from(cat)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user