Search in sources :

Example 1 with Diff

use of org.assertj.core.internal.Diff 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;
}
Also used : InputStreams(org.assertj.core.internal.InputStreams) Diff(org.assertj.core.internal.Diff) Failures(org.assertj.core.internal.Failures) Before(org.junit.Before)

Example 2 with Diff

use of org.assertj.core.internal.Diff in project assertj-core by joel-costigliola.

the class Diff_diff_File_String_Test method setUpOnce.

@BeforeClass
public static void setUpOnce() {
    diff = new Diff();
    writer = TextFileWriter.instance();
}
Also used : Diff(org.assertj.core.internal.Diff) BeforeClass(org.junit.BeforeClass)

Example 3 with Diff

use of org.assertj.core.internal.Diff in project assertj-core by joel-costigliola.

the class Diff_diff_File_Test method setUpOnce.

@BeforeClass
public static void setUpOnce() {
    diff = new Diff();
    writer = TextFileWriter.instance();
}
Also used : Diff(org.assertj.core.internal.Diff) BeforeClass(org.junit.BeforeClass)

Aggregations

Diff (org.assertj.core.internal.Diff)3 BeforeClass (org.junit.BeforeClass)2 Failures (org.assertj.core.internal.Failures)1 InputStreams (org.assertj.core.internal.InputStreams)1 Before (org.junit.Before)1