File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import org .apache .commons .io .IOUtils ;
2+ import org .junit .jupiter .api .Disabled ;
23import org .junit .jupiter .api .Test ;
34import org .junit .jupiter .api .condition .EnabledIf ;
45import org .variantsync .diffdetective .variation .diff .DiffTree ;
89import org .variantsync .diffdetective .variation .diff .serialize .nodeformat .LineNumberFormat ;
910import org .variantsync .diffdetective .variation .diff .serialize .treeformat .CommitDiffDiffTreeLabelFormat ;
1011
11- import static org .junit .jupiter .api .Assertions .fail ;
12-
1312import java .io .BufferedOutputStream ;
1413import java .io .BufferedReader ;
1514import java .io .IOException ;
1615import java .nio .file .Files ;
1716import java .nio .file .Path ;
1817
18+ import static org .junit .jupiter .api .Assertions .fail ;
19+
1920public class ExportTest {
2021 private final static Path RESOURCE_DIR = Path .of ("src/test/resources/serialize" );
2122
@@ -51,6 +52,11 @@ public static boolean isGraphvizInstalled() throws InterruptedException {
5152
5253 @ Test
5354 @ EnabledIf ("isGraphvizInstalled" )
55+ @ Disabled
56+ /* Paul:
57+ * I disabled this testcase because it is too vulnerable to randomness by graphviz.
58+ * Tiny changes in coordinates make the test fail although the exportex tex file is fine.
59+ */
5460 public void export () throws IOException {
5561 var testCasePath = RESOURCE_DIR .resolve ("testcase.lg" );
5662 var actualPath = RESOURCE_DIR .resolve ("actual.tex" );
You can’t perform that action at this time.
0 commit comments