Package org.apache.commons.vfs2.test

Examples of org.apache.commons.vfs2.test.ProviderTestSuite


    /**
     * Creates the test suite for the jar file system.
     */
    public static Test suite() throws Exception
    {
        return new ProviderTestSuite(new JarProviderTestCase(), true);
    }
View Full Code Here


public class UrlProviderTestCase
    extends AbstractProviderTestConfig
{
    public static Test suite() throws Exception
    {
        return new ProviderTestSuite(new UrlProviderTestCase());
    }
View Full Code Here

    public static Test suite() throws Exception
    {
        if (System.getProperty(TEST_URI) != null)
        {
            return new ProviderTestSuite(new UrlProviderTestCase());
        }
        else
        {
            return notConfigured(UrlProviderTestCase.class);
        }
View Full Code Here

public class UrlHttpProviderTestCase
    extends AbstractProviderTestConfig
{
    public static Test suite() throws Exception
    {
        return new ProviderTestSuite(new UrlHttpProviderTestCase());
    }
View Full Code Here

     */
    public static Test suite() throws Exception
    {
        if (System.getProperty(TEST_URI) != null)
        {
            return new ProviderTestSuite(new FtpProviderTestCase());
        }
        else
        {
            return notConfigured(FtpProviderTestCase.class);
        }
View Full Code Here

    private static final String TEST_URI = "test.webdav.uri";
    public static Test suite() throws Exception
    {
        if (System.getProperty(TEST_URI) != null)
        {
            ProviderTestSuite suite = new WebdavProviderTestSuite(new WebdavProviderTestCase());
            suite.addTests(WebdavVersioningTests.class);
            return suite;
        }
        else
        {
            return notConfigured(WebdavProviderTestCase.class);
View Full Code Here

*/
public class ResourceProviderTestCase extends AbstractProviderTestConfig
{
    public static Test suite() throws Exception
    {
        return new ProviderTestSuite(new ResourceProviderTestCase());
    }
View Full Code Here

    /**
     * Creates the test suite for nested jar files.
     */
    public static Test suite() throws Exception
    {
        return new ProviderTestSuite(new NestedJarTestCase(), true);
    }
View Full Code Here

    /**
     * Creates the test suite for the local file system.
     */
    public static Test suite() throws Exception
    {
        final ProviderTestSuite testSuite = new ProviderTestSuite(new LocalProviderTestCase());
        testSuite.addTests(FileNameTests.class);
        return testSuite;
    }
View Full Code Here

    /**
     * Creates the test suite for the tar file system.
     */
    public static Test suite() throws Exception
    {
        return new ProviderTestSuite(new Tbz2ProviderTestCase(), true);
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.vfs2.test.ProviderTestSuite

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.