Removed EvaluationExpressionContext from all AbstractMongoQuery implementations that don't actually need it and from AbstractMongoQuery itself, too. Cleaned up test cases after that.
Moved SpEL related tests into AbstractPersonRepositoryIntegrationTests to make sure they're executed for all sub-types. JavaDoc and assertion polishes.
Original pull request: #285.
@ -217,7 +217,7 @@ public class ConvertingParameterAccessor implements MongoParameterAccessor {
@@ -217,7 +217,7 @@ public class ConvertingParameterAccessor implements MongoParameterAccessor {
@ -241,7 +241,8 @@ public class ConvertingParameterAccessor implements MongoParameterAccessor {
@@ -241,7 +241,8 @@ public class ConvertingParameterAccessor implements MongoParameterAccessor {
@ -120,12 +120,13 @@ public class MongoParametersParameterAccessor extends ParametersParameterAccesso
@@ -120,12 +120,13 @@ public class MongoParametersParameterAccessor extends ParametersParameterAccesso
return((TextCriteria)fullText);
}
thrownewIllegalArgumentException(String.format(
"Expected full text parameter to be one of String, Term or TextCriteria but found %s.",
thrownewIllegalArgumentException(
String.format("Expected full text parameter to be one of String, Term or TextCriteria but found %s.",
@ -48,12 +47,10 @@ public class PartTreeMongoQuery extends AbstractMongoQuery {
@@ -48,12 +47,10 @@ public class PartTreeMongoQuery extends AbstractMongoQuery {
@ -57,36 +57,40 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@@ -57,36 +57,40 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@ -157,7 +161,8 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@@ -157,7 +161,8 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@ -187,12 +192,8 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@@ -187,12 +192,8 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@ -210,8 +211,8 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@@ -210,8 +211,8 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@ -237,8 +238,8 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@@ -237,8 +238,8 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@ -247,8 +248,9 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@@ -247,8 +248,9 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@ -256,28 +258,26 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@@ -256,28 +258,26 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@ -305,9 +305,10 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@@ -305,9 +305,10 @@ public class StringBasedMongoQuery extends AbstractMongoQuery {
@ -92,8 +92,8 @@ public class MongoRepositoryFactory extends RepositoryFactorySupport {
@@ -92,8 +92,8 @@ public class MongoRepositoryFactory extends RepositoryFactorySupport {
@ -112,8 +112,8 @@ public class MongoRepositoryFactory extends RepositoryFactorySupport {
@@ -112,8 +112,8 @@ public class MongoRepositoryFactory extends RepositoryFactorySupport {
@ -144,11 +144,12 @@ public class MongoRepositoryFactory extends RepositoryFactorySupport {
@@ -144,11 +144,12 @@ public class MongoRepositoryFactory extends RepositoryFactorySupport {
@ -174,8 +175,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -174,8 +175,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -185,8 +186,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -185,8 +186,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -310,8 +311,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -310,8 +311,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -397,8 +398,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -397,8 +398,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -409,8 +410,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -409,8 +410,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -620,8 +621,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -620,8 +621,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -645,8 +646,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -645,8 +646,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -664,8 +665,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -664,8 +665,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -683,8 +684,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -683,8 +684,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -934,8 +935,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -934,8 +935,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -946,8 +947,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -946,8 +947,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -958,8 +959,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -958,8 +959,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -970,8 +971,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -970,8 +971,8 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -1183,4 +1184,41 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -1183,4 +1184,41 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -45,8 +45,7 @@ public class MongoNamespaceIntegrationTests extends AbstractPersonRepositoryInte
@@ -45,8 +45,7 @@ public class MongoNamespaceIntegrationTests extends AbstractPersonRepositoryInte