| | |
| | | // As we provide dummy type and value string, attType and attVal |
| | | // could |
| | | // be null. |
| | | if ((attType != null) && (attVal != null)) |
| | | if (attType != null && attVal != null) |
| | | { |
| | | mvf = MatchedValuesFilter.createEqualityFilter(attType, attVal); |
| | | assertNotNull(mvf); |
| | |
| | | { |
| | | rawAttTypeTestCurrent = null ; |
| | | } |
| | | boolean exceptionExpected = (attTypeCurrent == null); |
| | | boolean exceptionExpected = attTypeCurrent == null; |
| | | |
| | | try |
| | | { |
| | |
| | | } |
| | | |
| | | // Check type, value |
| | | // As we provide dummy type and value string, attType and attVal could |
| | | // be null. |
| | | if ((type != null) && (value != null)) |
| | | // As we provide dummy type and value string, attType and attVal could be null. |
| | | if (type != null && value != null) |
| | | { |
| | | MatchedValuesFilter mvf; |
| | | mvf = MatchedValuesFilter.createGreaterOrEqualFilter(type, |
| | |
| | | } |
| | | |
| | | // Check type, value |
| | | if ((attType != null) && (attVal != null)) |
| | | if (attType != null && attVal != null) |
| | | { |
| | | MatchedValuesFilter mvf; |
| | | mvf = MatchedValuesFilter.createGreaterOrEqualFilter(attType, attVal); |
| | |
| | | } |
| | | |
| | | // Check type, value |
| | | // As we provide dummy type and value string, attType and attVal could |
| | | // be null. |
| | | if ((attType != null) && (attVal != null)) |
| | | // As we provide dummy type and value string, attType and attVal could be null. |
| | | if (attType != null && attVal != null) |
| | | { |
| | | mvf = MatchedValuesFilter.createLessOrEqualFilter(attType, attVal); |
| | | assertNotNull(mvf); |
| | |
| | | } |
| | | |
| | | // Check type, value |
| | | // As we provide dummy type and value string, attType and attVal could |
| | | // be null. |
| | | if ((attType != null) && (attVal != null)) |
| | | // As we provide dummy type and value string, attType and attVal could be null. |
| | | if (attType != null && attVal != null) |
| | | { |
| | | mvf = MatchedValuesFilter.createApproximateFilter(attType, attVal); |
| | | assertNotNull(mvf); |
| | |
| | | attValueTestCurrent = attValueTest; |
| | | } |
| | | |
| | | boolean exceptionExpected = (attTypeTestCurrent == null) |
| | | || (attValueTestCurrent == null) || (matchingRuleidTestCurrent == null); |
| | | boolean exceptionExpected = attTypeTestCurrent == null |
| | | || attValueTestCurrent == null |
| | | || matchingRuleidTestCurrent == null; |
| | | |
| | | MatchedValuesFilter mvf = null; |
| | | try |