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

The following examples show how to use org.apache.commons.vfs2.Capability#GET_TYPE . 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: ProviderDeleteTests.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.CREATE, Capability.DELETE, Capability.GET_TYPE,
            Capability.LIST_CHILDREN, };
}
 
Example 2
Source File: ProviderReadTests.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.LIST_CHILDREN, Capability.READ_CONTENT };
}
 
Example 3
Source File: ProviderCacheStrategyTests.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.CREATE, Capability.GET_TYPE, Capability.LIST_CHILDREN, };
}
 
Example 4
Source File: ProviderWriteTests.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.CREATE, Capability.DELETE, Capability.GET_TYPE, Capability.LIST_CHILDREN,
            Capability.READ_CONTENT, Capability.WRITE_CONTENT };
}
 
Example 5
Source File: ProviderWriteAppendTests.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.CREATE, Capability.DELETE, Capability.GET_TYPE, Capability.LIST_CHILDREN,
            Capability.READ_CONTENT, Capability.WRITE_CONTENT, Capability.APPEND_CONTENT };
}
 
Example 6
Source File: ProviderRenameTests.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.CREATE, Capability.DELETE, Capability.GET_TYPE, Capability.LIST_CHILDREN,
            Capability.READ_CONTENT, Capability.WRITE_CONTENT, Capability.RENAME };
}
 
Example 7
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 8
Source File: ProviderRandomSetLengthTests.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.RANDOM_ACCESS_READ, Capability.RANDOM_ACCESS_WRITE,
            Capability.RANDOM_ACCESS_SET_LENGTH };
}
 
Example 9
Source File: ProviderRandomReadTests.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.RANDOM_ACCESS_READ };
}
 
Example 10
Source File: ProviderRandomReadWriteTests.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.CREATE, Capability.RANDOM_ACCESS_READ,
            Capability.RANDOM_ACCESS_WRITE };
}