Apache Sling Testing Utilities.
Tools and utilities for automated testing of Sling modules.
Here is the list of declaration for org.apache.sling.commons.testing. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.commons.testing</artifactId> <version>2.0.6</version> </dependency>
If you think this Maven repository POM file listing for org.apache.sling.commons.testing is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The org.apache.sling.commons.testing-2.0.6 has 10 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Servlet | org.apache.sling.api 2.1.0 The Apache Sling API defines an extension to the Servlet API 2.4 to provide access to content and unified access to request parameters hiding the differences between the different methods of transferring parameters from client to server. Note that the Apache Sling AP... | 17 |
OSGi | org.apache.sling.jcr.api 2.0.6 This OSGi bundle provides the JCR packages as well as a helper service interface to be implemented and provided by repository providers. | 21 |
Java Library | jcr 2.0 The Content Repository API for JavaTM Technology Version 2.0 is specified by JSR-283. This module contains the complete API as specified. | 35 |
ORM | jackrabbit-jcr-commons 2.1.1 General purpose classes for use with the JCR API | 9 |
ORM | jackrabbit-core 2.1.1 Jackrabbit content repository implementation | 5 |
File | commons-io 1.4 Commons-IO contains utility classes, stream implementations, file filters, file comparators and endian classes. | 444 |
Development | org.apache.sling.adapter 2.0.4 Bundle implementing the AdapterManager and provides a convenience implementation of the Adaptable interface to make use of this AdapterManager. | 8 |
Scripting | js 1.6R6 Rhino: JavaScript for Java | 10 |
Http | commons-httpclient 3.1 The HttpClient component supports the client-side of RFC 1945 (HTTP/1.0) and RFC 2616 (HTTP/1.1) , several related specifications (RFC 2109 (Cookies) , RFC 2617 (HTTP Authentication) , etc.), and provides a framework by which new request types (methods) or HTTP extensions can be created easily. | 430 |
The following packages are defined in the org.apache.sling.commons.testing-2.0.6.jar
org.apache.sling.commons.testing.integration org.apache.sling.commons.testing.jcr org.apache.sling.commons.testing.osgi org.apache.sling.commons.testing.sling org.apache.sling.commons.testing.util
Here is the content of the POM file.
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.sling</groupId> <artifactId>sling</artifactId> <version>9</version> </parent> <artifactId>org.apache.sling.commons.testing</artifactId> <packaging>jar</packaging> <version>2.0.6</version> <name>Apache Sling Testing Utilities</name> <description> Tools and utilities for automated testing of Sling modules </description> <scm> <connection> scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.commons.testing-2.0.6 </connection> <developerConnection> scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.commons.testing-2.0.6 </developerConnection> <url> http://svn.apache.org/viewvc/sling/tags/org.apache.sling.commons.testing-2.0.6 </url> </scm> <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.compendium</artifactId> </dependency> <!-- Dependencies required for testing and provided transitively to modules using this artifact --> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.api</artifactId> <version>2.1.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.jcr.api</artifactId> <version>2.0.6</version> <scope>compile</scope> </dependency> <dependency> <groupId>javax.jcr</groupId> <artifactId>jcr</artifactId> <version>2.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.jackrabbit</groupId> <artifactId>jackrabbit-api</artifactId> <version>2.1.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.jackrabbit</groupId> <artifactId>jackrabbit-jcr-commons</artifactId> <version>2.1.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.jackrabbit</groupId> <artifactId>jackrabbit-core</artifactId> <version>2.1.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>1.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.adapter</artifactId> <version>2.0.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>rhino</groupId> <artifactId>js</artifactId> <version>1.6R6</version> <scope>compile</scope> </dependency> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>3.1</version> <scope>compile</scope> <exclusions> <!-- Same problem as JCR-683: commons-httpclient depends on commons-logging. Since this webapp uses log4j (see the slf4j-log4j12 dependency below), we need to override this dependency with jcl-over-sflf4j, found below --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <!-- Logging for tests --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <scope>compile</scope> </dependency> <!-- Basic Test Controller JUnit --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>compile</scope> </dependency> <!-- Provide for Test Mocks --> <dependency> <groupId>org.jmock</groupId> <artifactId>jmock-junit4</artifactId> <scope>compile</scope> </dependency> </dependencies> </project>