Print target dir to see if jar got deleted
Change-Id: I5481c9c75eeaddc37e0a52d01167feee845b47b5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
diff --git a/tmf/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/project/model/ProjectModelOutputTest.java b/tmf/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/project/model/ProjectModelOutputTest.java
index 38d6519..ef5bed1 100644
--- a/tmf/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/project/model/ProjectModelOutputTest.java
+++ b/tmf/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/project/model/ProjectModelOutputTest.java
@@ -17,6 +17,8 @@
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
+import java.io.File;
+import java.util.Arrays;
import java.util.List;
import org.eclipse.core.runtime.CoreException;
@@ -114,6 +116,14 @@
fail("The analysis parent did not open in a reasonable time");
}
+ String property = System.getProperty("user.dir");
+ File f = new File(property);
+ assertTrue("working dir", f.exists());
+ System.out.println(Arrays.toString(f.list()));
+ File target = new File(property + "/target");
+ assertTrue("target dir", target.exists());
+ System.out.println(Arrays.toString(target.list()));
+
/* Make sure the output list is not empty */
WaitUtils.waitUntil(new ConditionTraceChildrenElements(analysis, 1));
List<TmfAnalysisOutputElement> outputList = analysis.getAvailableOutputs();