use of org.assertj.core.internal.ComparatorBasedComparisonStrategy in project assertj-core by joel-costigliola.
the class AbstractLongAssert method usingComparator.
@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super Long> customComparator, String customComparatorDescription) {
super.usingComparator(customComparator, customComparatorDescription);
longs = new Longs(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
return myself;
}
use of org.assertj.core.internal.ComparatorBasedComparisonStrategy in project assertj-core by joel-costigliola.
the class AbstractShortAssert method usingComparator.
@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super Short> customComparator, String customComparatorDescription) {
super.usingComparator(customComparator, customComparatorDescription);
shorts = new Shorts(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
return myself;
}
use of org.assertj.core.internal.ComparatorBasedComparisonStrategy in project assertj-core by joel-costigliola.
the class AbstractFloatAssert method usingComparator.
@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super Float> customComparator, String customComparatorDescription) {
super.usingComparator(customComparator, customComparatorDescription);
floats = new Floats(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
return myself;
}
use of org.assertj.core.internal.ComparatorBasedComparisonStrategy in project assertj-core by joel-costigliola.
the class AbstractCharSequenceAssert method usingComparator.
@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super ACTUAL> customComparator, String customComparatorDescription) {
super.usingComparator(customComparator, customComparatorDescription);
this.strings = new Strings(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
return myself;
}
use of org.assertj.core.internal.ComparatorBasedComparisonStrategy in project assertj-core by joel-costigliola.
the class AbstractCharacterAssert method usingComparator.
@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super Character> customComparator, String customComparatorDescription) {
super.usingComparator(customComparator, customComparatorDescription);
this.characters = new Characters(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
return myself;
}
Aggregations