summaryrefslogtreecommitdiffstats
path: root/tests/framework-tests/src/android/test/FrameworkTests.java
blob: b5f62924ac8ed61db09958665af2010f6dda0871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package android.test;

import com.android.internal.os.LoggingPrintStreamTest;
import android.util.EventLogFunctionalTest;
import android.util.EventLogTest;
import junit.framework.TestSuite;
import com.android.internal.http.multipart.MultipartTest;
import com.android.internal.policy.impl.LockPatternKeyguardViewTest;

/**
 * Tests that are loaded in the boot classpath along with the Android framework
 * classes. This enables you to access package-private members in the framework
 * classes; doing so is not possible when the test classes are loaded in an
 * application classloader.
 */
public class FrameworkTests {
    public static TestSuite suite() {
        TestSuite suite = new TestSuite(FrameworkTests.class.getName());

        suite.addTestSuite(MultipartTest.class);
        suite.addTestSuite(EventLogTest.class);
        suite.addTestSuite(EventLogFunctionalTest.class);
        suite.addTestSuite(LoggingPrintStreamTest.class);
        suite.addTestSuite(LockPatternKeyguardViewTest.class);

        return suite;
    }
}