Author: fmeschbe
Date: Fri May 16 00:18:59 2008
New Revision: 656948
URL: http://svn.apache.org/viewvc?rev=656948&view=rev
Log:
Make usable in sub-packages (make TestNode fields and method public)
Modified:
incubator/sling/trunk/launchpad/webapp/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/HttpTestBase.java
Modified:
incubator/sling/trunk/launchpad/webapp/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/HttpTestBase.java
URL:
http://svn.apache.org/viewvc/incubator/sling/trunk/launchpad/webapp/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/HttpTestBase.java?rev=656948&r1=656947&r2=656948&view=diff
==============================================================================
---
incubator/sling/trunk/launchpad/webapp/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/HttpTestBase.java
(original)
+++
incubator/sling/trunk/launchpad/webapp/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/HttpTestBase.java
Fri May 16 00:18:59 2008
@@ -74,12 +74,12 @@
* older test classes do not use it, but it might simplify them.
*/
protected class TestNode {
- final String testText;
- final String nodeUrl;
- final String resourceType;
- final String scriptPath;
+ public final String testText;
+ public final String nodeUrl;
+ public final String resourceType;
+ public final String scriptPath;
- TestNode(String parentPath, Map<String, String> properties) throws
IOException {
+ public TestNode(String parentPath, Map<String, String> properties)
throws IOException {
if(properties == null) {
properties = new HashMap<String, String>();
}
@@ -91,7 +91,7 @@
testClient.mkdirs(WEBDAV_BASE_URL, scriptPath);
}
- void delete() throws IOException {
+ public void delete() throws IOException {
testClient.delete(nodeUrl);
}
};