moved test classes to com.mysema.query.collections

This commit is contained in:
Timo Westkämper 2010-06-07 17:46:47 +00:00
parent 6bbe4ba7ad
commit de112d13a3
4 changed files with 11 additions and 7 deletions

View File

@ -75,9 +75,7 @@ public abstract class AbstractColQuery<Q extends AbstractColQuery<Q>> extends P
return (Q)this;
}
protected QueryMetadata getMetadata() {
return queryMixin.getMetadata();
}
public abstract QueryMetadata getMetadata();
protected QueryEngine getQueryEngine(){
return queryEngine;

View File

@ -48,5 +48,12 @@ public class ColQueryImpl extends AbstractColQuery<ColQueryImpl> implements ColQ
public ColQueryImpl clone(){
return new ColQueryImpl(queryMixin.getMetadata(), getQueryEngine());
}
/**
* @return
*/
public QueryMetadata getMetadata() {
return queryMixin.getMetadata();
}
}

View File

@ -3,7 +3,7 @@
* All rights reserved.
*
*/
package com.mysema.query;
package com.mysema.query.collections;
import java.util.Arrays;
import java.util.Collections;
@ -12,7 +12,6 @@ import java.util.List;
import org.junit.Test;
import com.mysema.query.animal.QCat;
import com.mysema.query.collections.Cat;
import com.mysema.query.collections.MiniApi;
import com.mysema.query.types.expr.EBoolean;

View File

@ -3,7 +3,7 @@
* All rights reserved.
*
*/
package com.mysema.query;
package com.mysema.query.collections;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
@ -11,8 +11,8 @@ import java.util.Collections;
import org.junit.Test;
import com.mysema.query.QueryMutability;
import com.mysema.query.animal.QCat;
import com.mysema.query.collections.Cat;
import com.mysema.query.collections.ColQueryImpl;
public class QueryMutabilityTest {