public class PageTestEnvironment extends Object implements org.xwiki.environment.Environment
target/classes
directory. The permanent and temporary
directories are set under Maven's target
directory.Constructor and Description |
---|
PageTestEnvironment() |
Modifier and Type | Method and Description |
---|---|
File |
getPermanentDirectory() |
URL |
getResource(String resourceName) |
InputStream |
getResourceAsStream(String resourceName) |
File |
getTemporaryDirectory() |
public File getTemporaryDirectory()
getTemporaryDirectory
in interface org.xwiki.environment.Environment
public File getPermanentDirectory()
getPermanentDirectory
in interface org.xwiki.environment.Environment
public URL getResource(String resourceName)
getResource
in interface org.xwiki.environment.Environment
public InputStream getResourceAsStream(String resourceName)
getResourceAsStream
in interface org.xwiki.environment.Environment
Copyright © 2004–2021 XWiki. All rights reserved.