saker.java.testing Documentation TaskDoc JavaDoc Packages
public interface JavaTestingFileProvider
Interface for notify the test instrumentation about a resource access.

The appropriate methods of the interface can be called in order to notify the testing instrumentation that a file read, write, or access is being done by the test case. The instrumentation may perform synchronization operations in order to make the files available for access to the test case.

The provider also records the incremental dependency information about the test case.

Methods
public void
A ClassLoader resources is being accessed by the test case.
public void
The contents of a directory is being listed by the test case.
public void
A file read request is performed by the test case.
public void
A file write request is performed by the test case.
public abstract void requestClassLoaderResource(String name)
A ClassLoader resources is being accessed by the test case.
nameThe name of the resource.
public abstract void requestFileList(String path)
The contents of a directory is being listed by the test case.
pathThe directory path.
public abstract void requestFileRead(String path)
A file read request is performed by the test case.

Should be called for files and directories as well.

pathThe file path.
public abstract void requestFileWrite(String path)
A file write request is performed by the test case.

Should be called for files and directories as well.

pathThe file path.