diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java index b33a9c516..048509289 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java @@ -63,7 +63,8 @@ public class AbstractReconcilerTest extends AbstractProvisioningTest { /* * Set up the platform binary download and get it ready to run the tests. * This method is not intended to be called by clients, it will be called - * automatically when the clients use a ReconcilerTestSuite. + * automatically when the clients use a ReconcilerTestSuite. If the executable isn't + * found on the file-system after the call, then we fail. */ public void initialize() throws Exception { initialized = false; @@ -80,6 +81,8 @@ public class AbstractReconcilerTest extends AbstractProvisioningTest { } else { untar("1.0", file); } + File exe = new File(output, "eclipse/eclipse"); + assertTrue("Executable not found after initialization.", exe.exists()); initialized = true; } |