mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-30 21:08:30 +08:00
Fix iteration tests
This commit is contained in:
parent
84f73da185
commit
f2be57f11b
@ -13,6 +13,7 @@
|
||||
*/
|
||||
package com.mysema.query;
|
||||
|
||||
import static com.mysema.query.Target.DERBY;
|
||||
import static com.mysema.query.Target.MYSQL;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
@ -1127,7 +1128,7 @@ public abstract class AbstractStandardTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@ExcludeIn(MYSQL)
|
||||
@ExcludeIn({MYSQL, DERBY})
|
||||
@NoBatooJPA
|
||||
public void GroupBy() {
|
||||
QAuthor author = QAuthor.author;
|
||||
|
||||
@ -94,6 +94,7 @@ public class JPABase extends AbstractStandardTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@ExcludeIn(Target.DERBY)
|
||||
public void Iterate() {
|
||||
CloseableIterator<Cat> cats = query().from(QCat.cat).iterate(QCat.cat);
|
||||
while (cats.hasNext()) {
|
||||
@ -129,7 +130,7 @@ public class JPABase extends AbstractStandardTest {
|
||||
.list(QCat.cat).isEmpty());
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test @Ignore
|
||||
@NoHibernate @NoOpenJPA @NoBatooJPA
|
||||
public void Hint3() {
|
||||
javax.persistence.Query query = query().from(QCat.cat)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user