You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2015/09/23 15:22:09 UTC
svn commit: r966483 - in /websites/staging/sling/trunk/content: ./
documentation/bundles/org-apache-sling-junit-bundles.html
Author: buildbot
Date: Wed Sep 23 13:22:09 2015
New Revision: 966483
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/bundles/org-apache-sling-junit-bundles.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Sep 23 13:22:09 2015
@@ -1 +1 @@
-1704637
+1704845
Modified: websites/staging/sling/trunk/content/documentation/bundles/org-apache-sling-junit-bundles.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/org-apache-sling-junit-bundles.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/org-apache-sling-junit-bundles.html Wed Sep 23 13:22:09 2015
@@ -163,6 +163,9 @@ that contains the test class along with
collects the results and uninstalls the bundle. This happens quickly as the temporary bundle is
very small, and both the client-side and server-side parts of the test can be debugged easily
with the appropriate IDE settings.</p>
+<p>The <code>Teleporter.getService</code> method takes an optional OSGi LDAP filter for service
+selection, like for example:</p>
+<p>final StringTransformer t = teleporter.getService(StringTransformer.class, "(mode=uppercase)");</p>
<p>This teleporter mechanism is used in our integration tests, search for <code>TeleporterRule</code> in there
for examples or look at the
<a href="https://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/teleporter"><code>integrationtest.teleporter</code></a>
@@ -245,7 +248,7 @@ same request again. </p>
but using the newer <code>TeleporterRule</code> described above is much simpler. As a result, this bundle
should only be needed for existing tests that were written using its mechanisms. </p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1704637 by bdelacretaz on Tue, 22 Sep 2015 14:16:57 +0000
+ Rev. 1704845 by bdelacretaz on Wed, 23 Sep 2015 13:21:53 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project