use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class ConditionsBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
condition = new TestCondition<>();
conditions = new Conditions();
conditions.failures = failures;
}
use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class StringsBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
strings = new Strings();
strings.failures = failures;
comparisonStrategy = new ComparatorBasedComparisonStrategy(CaseInsensitiveStringComparator.instance);
stringsWithCaseInsensitiveComparisonStrategy = new Strings(comparisonStrategy);
stringsWithCaseInsensitiveComparisonStrategy.failures = failures;
}
use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class FloatsBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
floats = new Floats();
floats.setFailures(failures);
absValueComparisonStrategy = new ComparatorBasedComparisonStrategy(new AbsValueComparator<Float>());
floatsWithAbsValueComparisonStrategy = new Floats(absValueComparisonStrategy);
floatsWithAbsValueComparisonStrategy.failures = failures;
}
use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class IterablesBaseTest method setUp.
@Before
public void setUp() {
actual = newArrayList("Luke", "Yoda", "Leia");
failures = spy(new Failures());
iterables = new Iterables();
iterables.failures = failures;
comparisonStrategy = new ComparatorBasedComparisonStrategy(CaseInsensitiveStringComparator.instance);
iterablesWithCaseInsensitiveComparisonStrategy = new Iterables(comparisonStrategy);
iterablesWithCaseInsensitiveComparisonStrategy.failures = failures;
info = someInfo();
}
use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class CharactersBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
characters = new Characters();
characters.failures = failures;
caseInsensitiveComparisonStrategy = new ComparatorBasedComparisonStrategy(CaseInsensitiveCharacterComparator.instance);
charactersWithCaseInsensitiveComparisonStrategy = new Characters(caseInsensitiveComparisonStrategy);
charactersWithCaseInsensitiveComparisonStrategy.failures = failures;
}
Aggregations