You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2015/09/21 21:27:26 UTC
svn commit: r1704401 -
/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/teleporter/TeleporterOptionsTest.java
Author: bdelacretaz
Date: Mon Sep 21 19:27:25 2015
New Revision: 1704401
URL: http://svn.apache.org/viewvc?rev=1704401&view=rev
Log:
SLING-5040 - fix test
Modified:
sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/teleporter/TeleporterOptionsTest.java
Modified: sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/teleporter/TeleporterOptionsTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/teleporter/TeleporterOptionsTest.java?rev=1704401&r1=1704400&r2=1704401&view=diff
==============================================================================
--- sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/teleporter/TeleporterOptionsTest.java (original)
+++ sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/teleporter/TeleporterOptionsTest.java Mon Sep 21 19:27:25 2015
@@ -16,6 +16,7 @@
*/
package org.apache.sling.launchpad.webapp.integrationtest.teleporter;
+import static org.junit.Assert.fail;
import java.util.UUID;
import org.apache.sling.junit.rules.TeleporterRule;
@@ -42,6 +43,7 @@ public class TeleporterOptionsTest {
// server to run the tests on, for example - here we just verify
// that the LaunchpadCustomizer gets our options
TeleporterRule.forClass(getClass(), "Launchpad:" + OPTIONS);
+ fail("Expecting an OptionsException");
} catch(OptionsException oex) {
assertEquals(OPTIONS, oex.getMessage());
}