Java Code Examples for org.apache.commons.vfs2.Capability#URI

The following examples show how to use org.apache.commons.vfs2.Capability#URI . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: VfsClassLoaderTests.java    From commons-vfs with Apache License 2.0 4 votes vote down vote up
/**
 * Returns the capabilities required by the tests of this test case.
 */
@Override
protected Capability[] getRequiredCaps() {
    return new Capability[] { Capability.READ_CONTENT, Capability.URI };
}
 
Example 2
Source File: UrlStructureTests.java    From commons-vfs with Apache License 2.0 4 votes vote down vote up
/**
 * Returns the capabilities required by the tests of this test case.
 */
@Override
protected Capability[] getRequiredCaps() {
    return new Capability[] { Capability.GET_TYPE, Capability.URI };
}
 
Example 3
Source File: UriTests.java    From commons-vfs with Apache License 2.0 4 votes vote down vote up
/**
 * Returns the capabilities required by the tests of this test case.
 */
@Override
protected Capability[] getRequiredCaps() {
    return new Capability[] { Capability.URI };
}
 
Example 4
Source File: UrlTests.java    From commons-vfs with Apache License 2.0 4 votes vote down vote up
/**
 * Returns the capabilities required by the tests of this test case. The tests are not run if the provider being
 * tested does not support all the required capabilities. Return null or an empty array to always run the tests.
 */
@Override
protected Capability[] getRequiredCaps() {
    return new Capability[] { Capability.URI };
}