1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.commons.vfs.test;
18
19 import org.apache.commons.vfs.impl.test.VfsClassLoaderTests;
20
21 /***
22 * The suite of tests for a file system.
23 *
24 * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
25 * @author Gary D. Gregory
26 * @version $Id: ProviderTestSuite.java 480428 2006-11-29 06:15:24Z bayard $
27 */
28 public class ProviderTestSuite
29 extends AbstractTestSuite
30 {
31 /***
32 * Adds the tests for a file system to this suite.
33 */
34 public ProviderTestSuite(final ProviderTestConfig providerConfig) throws Exception
35 {
36 this(providerConfig, "", false);
37 }
38
39 protected ProviderTestSuite(final ProviderTestConfig providerConfig,
40 final String prefix,
41 final boolean nested)
42 throws Exception
43 {
44 super(providerConfig, prefix, nested);
45 }
46
47 /***
48 * Adds base tests - excludes the nested test cases.
49 */
50 protected void addBaseTests() throws Exception
51 {
52 addTests(ProviderCacheStrategyTests.class);
53 addTests(UriTests.class);
54 addTests(NamingTests.class);
55 addTests(ContentTests.class);
56 addTests(ProviderReadTests.class);
57 addTests(ProviderRandomReadTests.class);
58 addTests(ProviderWriteTests.class);
59 addTests(ProviderWriteAppendTests.class);
60 addTests(ProviderRandomReadWriteTests.class);
61 addTests(ProviderRenameTests.class);
62 addTests(ProviderDeleteTests.class);
63 addTests(LastModifiedTests.class);
64 addTests(UrlTests.class);
65 addTests(UrlStructureTests.class);
66 addTests(VfsClassLoaderTests.class);
67 }
68 }