use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class ComparablesBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
comparables = new Comparables();
comparables.failures = failures;
customComparisonStrategy = new ComparatorBasedComparisonStrategy(comparatorForCustomComparisonStrategy());
comparablesWithCustomComparisonStrategy = new Comparables(customComparisonStrategy);
comparablesWithCustomComparisonStrategy.failures = failures;
}
use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class ShortsBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
shorts = new Shorts();
shorts.setFailures(failures);
absValueComparisonStrategy = new ComparatorBasedComparisonStrategy(new AbsValueComparator<Short>());
shortsWithAbsValueComparisonStrategy = new Shorts(absValueComparisonStrategy);
shortsWithAbsValueComparisonStrategy.failures = failures;
}
use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class ThrowablesBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
throwables = new Throwables();
throwables.failures = failures;
}
use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class DoublesBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
doubles = new Doubles();
doubles.setFailures(failures);
absValueComparisonStrategy = new ComparatorBasedComparisonStrategy(new AbsValueComparator<Double>());
doublesWithAbsValueComparisonStrategy = new Doubles(absValueComparisonStrategy);
doublesWithAbsValueComparisonStrategy.failures = failures;
}
use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class InputStreamsBaseTest method setUp.
@Before
public void setUp() {
diff = mock(Diff.class);
failures = spy(new Failures());
inputStreams = new InputStreams();
inputStreams.diff = diff;
inputStreams.failures = failures;
}
Aggregations