You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2020/03/14 19:12:14 UTC
[sling-site] 01/02: update versions and style
This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
commit affa1502ddf208c5bd6eb4160cceb3e6f7fad6fe
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sat Mar 14 20:11:00 2020 +0100
update versions and style
---
.../documentation/development/testing-paxexam.md | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/main/jbake/content/documentation/development/testing-paxexam.md b/src/main/jbake/content/documentation/development/testing-paxexam.md
index 996af79..e979492 100644
--- a/src/main/jbake/content/documentation/development/testing-paxexam.md
+++ b/src/main/jbake/content/documentation/development/testing-paxexam.md
@@ -35,7 +35,7 @@ Add the required dependencies for testing with JUnit and Pax Exam in Sling:
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.testing.paxexam</artifactId>
- <version>3.0.0</version>
+ <version>3.1.0</version>
<scope>test</scope>
</dependency>
@@ -58,31 +58,31 @@ Add the required dependencies for testing with JUnit and Pax Exam in Sling:
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam</artifactId>
- <version>4.13.1</version>
+ <version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-cm</artifactId>
- <version>4.13.1</version>
+ <version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-container-forked</artifactId>
- <version>4.13.1</version>
+ <version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-junit4</artifactId>
- <version>4.13.1</version>
+ <version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-link-mvn</artifactId>
- <version>4.13.1</version>
+ <version>4.13.2</version>
<scope>test</scope>
</dependency>
@@ -136,14 +136,14 @@ Create a test class (extend `TestSupport` to use helper methods and `Option`s) a
@Configuration
public Option[] configuration() {
- return new Option[]{
+ return options(
baseConfiguration(), // from TestSupport
slingQuickstart(),
// build artifact
testBundle("bundle.filename"), // from TestSupport
// testing
junitBundles()
- };
+ );
}
protected Option slingQuickstart() {
@@ -257,13 +257,13 @@ The `FreemarkerScriptEngineFactoryIT` and `Ranked2Configuration` below from [Scr
@Configuration
public Option[] configuration() {
- return new Option[]{
+ return options(
baseConfiguration(),
buildBundleWithBnd( // from TestSupport
Ranked1Configuration.class,
Ranked2Configuration.class
)
- };
+ );
}
[…]