![JAR search and dependency download from the Maven repository](/logo.png)
com.griddynamics.qa.datapool.matchers.BeforeIComparableMatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of data-pool Show documentation
Show all versions of data-pool Show documentation
Test Data Pool tool is intended to mitigate risks of running automated tests against multiple unstable
“FullDB” environments having unpredictable set of data.
The newest version!
package com.griddynamics.qa.datapool.matchers;
import com.griddynamics.qa.datapool.datatype.IDataType;
import com.griddynamics.qa.datapool.matchers.aux.IComparableMatcher;
import com.griddynamics.qa.datapool.matchers.aux.RelationSign;
import java.util.function.Predicate;
/**
* Compares date type fields (BEFORE case). Supported date types:
* java.util.Date
* java.util.Calendar
* java.time.chrono.ChronoLocalDate
*
* @author ELozovan
* Created: 2016-07-05.
*/
class BeforeIComparableMatcher implements IComparableMatcher {
@Override
public Predicate getMatcher(String propName, Object value) {
return buildMatcher(propName, value, RelationSign.LESS_THAN);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy