Home
last modified time | relevance | path

Searched refs:Test (Results 1 – 25 of 137) sorted by relevance

123456

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DStatusBarTest.java67 protected Test[] tests() { in tests()
82 private Test[] mTests = new Test[] {
83 new Test("toggle LOW_PROFILE (lights out)") {
93 new Test("toggle HIDE_NAVIGATION") {
104 new Test("clear SYSTEM_UI_FLAGs") {
117 new Test("systemUiVisibility: STATUS_BAR_DISABLE_HOME") {
122 new Test("Double Remove") {
143 new Test("Hide (FLAG_FULLSCREEN)") {
151 new Test("Show (~FLAG_FULLSCREEN)") {
158 new Test("Immersive: Enter") {
[all …]
DNotificationTestList.java83 protected Test[] tests() { in tests()
89 private Test[] mTests = new Test[] {
90 new Test("Off and sound") {
112 new Test("Cancel #1") {
119 new Test("Button") {
132 new Test("custom intent on text view") {
144 new Test("Ticker 1 line") {
154 new Test("No view") {
162 new Test("No intent") {
172 new Test("Layout") {
[all …]
DPowerTest.java63 protected Test[] tests() { in tests()
70 private Test[] mTests = new Test[] {
71 new Test("Enable settings widget") {
80 new Test("Disable settings widget") {
89 new Test("Enable proximity") {
94 new Test("Disable proximity") {
99 new Test("Disable proximity (WAIT_FOR_PROXIMITY_NEGATIVE)") {
104 new Test("Touch events don't poke") {
115 new Test("Touch events poke") {
125 new Test("Short timeout") {
[all …]
DToastTest.java53 protected Test[] tests() { in tests()
83 private Test[] mTests = new Test[] {
84 new Test("Read lights") {
94 new Test("Make Toast #1") {
101 new Test("Show Toast #1") {
108 new Test("Update Toast #1") {
118 new Test("Make Toast #2") {
125 new Test("Show Toast #2") {
132 new Test("Gravity Toast LEFT") {
141 new Test("Gravity Toast FILL_HORIZONTAL") {
DTestActivity.java38 Test[] mTests;
41 protected abstract Test[] tests(); in tests()
43 abstract class Test { class in TestActivity
45 Test(String n) { in Test() method in TestActivity.Test
68 Test t = mTests[position]; in onListItemClick()
/frameworks/base/test-runner/src/android/test/
DTestCaseUtil.java21 import junit.framework.Test;
44 public static List<String> getTestCaseNames(Test test, boolean flatten) { in getTestCaseNames()
45 List<Test> tests = (List<Test>) getTests(test, flatten); in getTestCaseNames()
47 for (Test aTest : tests) { in getTestCaseNames()
53 public static List<? extends Test> getTests(Test test, boolean flatten) { in getTests()
57 private static List<? extends Test> getTests(Test test, boolean flatten, in getTests()
59 List<Test> testCases = Lists.newArrayList(); in getTests()
62 Test workingTest = null; in getTests()
81 Test childTest = (Test) enumeration.nextElement(); in getTests()
95 private static Test invokeSuiteMethodIfPossible(Class testClass, in invokeSuiteMethodIfPossible()
[all …]
DAndroidTestRunner.java24 import junit.framework.Test;
60 public void setTest(Test test) { in setTest()
64 private void setTest(Test test, Class<? extends Test> testClass) { in setTest()
84 private Class<? extends Test> loadTestClass(String testClassName) { in loadTestClass()
86 return (Class<? extends Test>) mContext.getClassLoader().loadClass(testClassName); in loadTestClass()
128 Class<? extends Test> testClass) { in shouldRunSingleTestMethod()
132 private Test getTest(Class clazz) { in getTest()
194 private void setContextIfAndroidTestCase(Test test, Context context, Context testContext) { in setContextIfAndroidTestCase()
206 Test test, Instrumentation instrumentation) { in setInstrumentationIfInstrumentationTestCase()
213 Test test, PerformanceResultsWriter writer) { in setPerformanceWriterIfPerformanceCollectorTestCase()
[all …]
DTestPrinter.java20 import junit.framework.Test;
88 private void failed(Test test, Throwable t) { in failed()
93 public void addError(Test test, Throwable t) { in addError()
97 public void addFailure(Test test, junit.framework.AssertionFailedError t) { in addFailure()
101 public void endTest(Test test) { in endTest()
109 public void startTest(Test test) { in startTest()
DInstrumentationCoreTestRunner.java31 import junit.framework.Test;
104 public void startTest(Test test) { in getAndroidTestRunner()
116 public void endTest(Test test) { in getAndroidTestRunner()
138 public void addError(Test test, Throwable t) { in getAndroidTestRunner()
142 public void addFailure(Test test, AssertionFailedError t) { in getAndroidTestRunner()
149 private void printMemory(Class<? extends Test> testClass) { in getAndroidTestRunner()
/frameworks/compile/mclinker/m4/
Dgtest.m44 dnl Check for the presence of the Google Test library, optionally at a minimum
8 dnl GTEST_VERSION as the version of Google Test found. Finally, it provides
12 dnl Provide a flag to enable or disable Google Test usage.
20 [The exact path of Google Test's 'gtest-config' script.])
22 [C-like preprocessor flags for Google Test.])
24 [C++ compile flags for Google Test.])
26 [Linker path and option flags for Google Test.])
28 [Library linking flags for Google Test.])
30 [The version of Google Test available.])
41 Unable to locate either a built or installed Google Test.
[all …]
/frameworks/compile/mclinker/templates/
DimplTest.cpp17 ${class_name}Test::${class_name}Test() in Test() function
24 ${class_name}Test::~${class_name}Test() in Test() function
30 void ${class_name}Test::SetUp()
35 void ${class_name}Test::TearDown()
DheaderTest.h28 class ${class_name}Test : public ::testing::Test
32 ${class_name}Test();
35 virtual ~${class_name}Test();
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java57 Test[] mTests = new Test[] {
58 new Test("Show File") {
77 new Test("Append to File") {
93 new Test("Clear File") {
107 new Test("Poke") {
112 new Test("Show Shared Pref") {
121 new Test("Increment Shared Pref") {
131 new Test("Backup Helpers") {
153 new Test("Restore Helpers") {
176 abstract class Test { class in BackupTestActivity
[all …]
/frameworks/base/test-runner/tests/src/android/test/
DTestCaseUtilTest.java19 import junit.framework.Test;
47 Test test = TestCaseUtil.createTestSuite(OneTestTestCase.class); in testCreateTestForTestCase()
52 Test test = TestCaseUtil.createTestSuite(TwoTestsInTestSuite.class); in testCreateTestForTestSuiteWithSuiteMethod()
57 Test test = TestCaseUtil.createTestSuite(OneTestTestCaseWithSuite.class); in testCreateTestForTestCaseWithSuiteMethod()
71 public static Test suite() { in suite()
85 public static Test suite() { in suite()
93 public static Test suite() { in suite()
/frameworks/compile/mclinker/utils/gtest/
DREADME24 Google Test is designed to have fairly minimal requirements to build
28 However, since core members of the Google Test project have no access
29 to these platforms, Google Test may have outstanding issues there. If
36 These are the base requirements to build and use Google Test from a source
63 build Google Test and its own tests from an SVN checkout (described
73 There are two primary ways of getting Google Test's source code: you
82 Google Test is released in versioned source packages which can be
102 Test, run the following Subversion command:
109 To build Google Test and your tests that use it, you need to tell your
116 Suppose you put Google Test in directory ${GTEST_DIR}. To build it,
[all …]
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DListTestCaseNames.java19 import junit.framework.Test;
30 List<Test> tests = Collections.<Test>list(suite.tests()); in getTestCaseNames()
32 for (Test test : tests) { in getTestCaseNames()
46 List<Test> tests = Collections.<Test>list(suite.tests()); in getTestNames()
48 for (Test test : tests) { in getTestNames()
DUnitTestSuiteBuilderTest.java23 import junit.framework.Test;
73 public void addError(Test test, Throwable t) { in addError()
77 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
81 public void endTest(Test test) { in endTest()
84 public void startTest(Test test) { in startTest()
104 private String testName(Test test) { in testName()
DInstrumentationTestSuiteBuilderTest.java24 import junit.framework.Test;
80 public void addError(Test test, Throwable t) { in addError()
84 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
88 public void endTest(Test test) { in endTest()
91 public void startTest(Test test) { in startTest()
111 private String testName(Test test) { in testName()
/frameworks/base/test-runner/src/junit/textui/
DTestRunner.java6 import junit.framework.Test;
75 static public TestResult run(Test test) { in run()
84 static public void runAndWait(Test suite) { in runAndWait()
90 public void testFailed(int status, Test test, Throwable t) { in testFailed()
108 public TestResult doRun(Test test) { in doRun()
112 public TestResult doRun(Test suite, boolean wait) { in doRun()
179 Test suite= getTest(testCase); in start()
188 Test test= TestSuite.createTest(testClass, method); in runSingleMethod()
DResultPrinter.java10 import junit.framework.Test;
114 public void addError(Test test, Throwable t) { in addError()
121 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
128 public void endTest(Test test) { in endTest()
134 public void startTest(Test test) { in startTest()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DRenameClassAdapterTest.java24 import org.junit.Test;
53 @Test
85 @Test
94 @Test
112 @Test
DLogTest.java23 import org.junit.Test;
39 @Test
55 @Test
66 @Test
77 @Test
DAsmAnalyzerTest.java28 import org.junit.Test;
62 @Test
86 @Test
101 @Test
160 @Test
182 @Test
DClassHasNativeVisitorTest.java21 import org.junit.Test;
33 @Test
45 @Test
/frameworks/base/test-runner/src/junit/runner/
DBaseTestRunner.java19 import junit.framework.Test;
38 public synchronized void startTest(Test test) { in startTest()
70 public synchronized void endTest(Test test) { in endTest()
74 public synchronized void addError(final Test test, final Throwable t) { in addError()
78 public synchronized void addFailure(final Test test, final AssertionFailedError t) { in addFailure()
88 public abstract void testFailed(int status, Test test, Throwable t); in testFailed()
94 public Test getTest(String suiteClassName) { in getTest()
124 Test test= null; in getTest()
126 test= (Test)suiteMethod.invoke(null, (Object[])new Class[0]); // static method in getTest()

123456