Searched refs:test (Results 451 - 475 of 1182) sorted by relevance

<<11121314151617181920>>

/frameworks/wilhelm/tests/automated/
H A DAndroid.mk29 # Build the manual test programs.
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestRunner.java28 import android.test.RepetitiveTest;
101 * Called after all test classes are in place, ready to test
150 // add test listeners
243 private static final String REPORT_KEY_NAME_TEST = "test";
273 * send a status for the start of a each test, so long tests can be seen
277 public void startTest(Test test) { argument
278 String testClass = test.getClass().getName();
279 String testName = ((TestCase) test).getName();
295 testMethod = test
315 addError(Test test, Throwable t) argument
327 addFailure(Test test, AssertionFailedError t) argument
339 endTest(Test test) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DDescendantFocusabilityTest.java21 import android.test.ActivityInstrumentationTestCase;
22 import android.test.suitebuilder.annotation.LargeTest;
23 import android.test.suitebuilder.annotation.MediumTest;
24 import android.test.UiThreadTest;
25 import android.test.TouchUtils;
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListManagedCursorTest.java20 import android.test.ActivityInstrumentationTestCase;
21 import android.test.FlakyTest;
22 import android.test.suitebuilder.annotation.LargeTest;
23 import android.test.suitebuilder.annotation.MediumTest;
26 import android.test.TouchUtils;
H A DListEmptyViewTest.java21 import android.test.ActivityInstrumentationTestCase;
22 import android.test.suitebuilder.annotation.LargeTest;
23 import android.test.suitebuilder.annotation.MediumTest;
H A DListGetCheckItemIdsTest.java19 import android.test.ActivityInstrumentationTestCase2;
20 import android.test.UiThreadTest;
21 import android.test.suitebuilder.annotation.MediumTest;
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java17 package android.test;
276 * Assert that the <code>test</code> view is horizontally center aligned
280 * @param test The view that should be center aligned with the reference view
282 static public void assertHorizontalCenterAligned(View reference, View test) { argument
287 test.getLocationOnScreen(xy);
290 int center = (reference.getMeasuredWidth() - test.getMeasuredWidth()) / 2;
297 * Assert that the <code>test</code> view is vertically center aligned
301 * @param test The view that should be center aligned with the reference view
303 static public void assertVerticalCenterAligned(View reference, View test) { argument
308 test
[all...]
H A DProviderTestCase2.java17 package android.test;
24 import android.test.mock.MockContext;
25 import android.test.mock.MockContentResolver;
31 * This test case class provides a framework for testing a single
34 * providers that is based on the manifests of other applications, the test
36 * given an authority. This allows you to inject test providers and to null out
39 * This test case also sets up the following mock objects:
43 * An {@link android.test.IsolatedContext} that stubs out Context methods that might
48 * A {@link android.test.mock.MockContentResolver} that provides the functionality of a
51 * prevent the test fro
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DSearchManagerTest.java28 import android.test.ActivityInstrumentationTestCase2;
29 import android.test.suitebuilder.annotation.LargeTest;
30 import android.test.suitebuilder.annotation.MediumTest;
33 * To launch this test from the command line:
37 * com.android.unit_tests/android.test.InstrumentationTestRunner
46 * Bug list of test ideas.
56 * stress test with a very long string
63 * How can we unit test the suggestions content providers?
99 * The goal of this test is to confirm that we can obtain
108 * The goal of this test i
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java23 import android.test.AndroidTestCase;
24 import android.test.suitebuilder.annotation.SmallTest;
25 import android.test.suitebuilder.annotation.Suppress;
42 // TODO should write a test for getRecentTasks()
43 // TODO should write a test for getRunningTasks()
44 // TODO should write a test for getMemoryInfo()
48 // but it's not necessarily the right assumption for a unit test.
56 // test: confirm list is empty
68 // test: confirm error list length is at least 1 under varying query lengths
73 // test
[all...]
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseLocaleTest.java21 import android.test.suitebuilder.annotation.MediumTest;
22 import android.test.suitebuilder.annotation.SmallTest;
24 import android.test.MoreAsserts;
50 "CREATE TABLE test (id INTEGER PRIMARY KEY, data TEXT COLLATE LOCALIZED);");
55 mDatabase.execSQL("INSERT INTO test (data) VALUES('" + s + "');");
83 String[] results = query("SELECT data FROM test");
93 results = query("SELECT data FROM test ORDER BY data COLLATE LOCALIZED ASC");
114 mDatabase.execSQL("INSERT INTO test(id, data) VALUES(1, '" + expectedString + "')");
115 cursor = mDatabase.rawQuery("SELECT data FROM test WHERE id = 1", null);
/frameworks/base/core/tests/coretests/src/android/view/
H A DInflateTest.java21 import android.test.AndroidTestCase;
22 import android.test.PerformanceTestCase;
23 import android.test.suitebuilder.annotation.SmallTest;
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListItemsExpandOnSelectionTest.java19 import android.test.ActivityInstrumentationTestCase;
20 import android.test.suitebuilder.annotation.LargeTest;
21 import android.test.suitebuilder.annotation.MediumTest;
H A DListOfThinItemsTest.java19 import android.test.ActivityInstrumentationTestCase;
20 import android.test.suitebuilder.annotation.LargeTest;
21 import android.test.suitebuilder.annotation.MediumTest;
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DShortButtonsTest.java22 import android.test.ActivityInstrumentationTestCase;
23 import android.test.suitebuilder.annotation.LargeTest;
24 import android.test.suitebuilder.annotation.MediumTest;
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
H A DFixVibrateSetting.java56 mTest = findViewById(R.id.test);
89 test();
111 private void test() { method in class:FixVibrateSetting
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DMainActivityTest.java1 package com.android.test.hierarchyviewer;
3 import android.test.ActivityInstrumentationTestCase2;
78 assertEquals(mActivity.getString(R.string.test),
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DSetupWizardListLayoutTests.java17 package com.android.setupwizardlib.test;
20 import android.test.InstrumentationTestCase;
21 import android.test.suitebuilder.annotation.SmallTest;
H A DWizardManagerHelperTest.java17 package com.android.setupwizardlib.test;
21 import android.test.AndroidTestCase;
22 import android.test.suitebuilder.annotation.SmallTest;
30 final Intent intent = new Intent("test.intent.ACTION");
31 intent.putExtra("scriptUri", "android-resource://test-script");
43 "android-resource://test-script", nextIntent.getStringExtra("scriptUri"));
/frameworks/base/core/tests/ConnectivityManagerTest/
H A DAndroid.mk21 LOCAL_JAVA_LIBRARIES := android.test.runner
23 # Include all test java files.
/frameworks/base/core/tests/bandwidthtests/
H A DAndroid.mk21 # Include all test java files.
25 LOCAL_JAVA_LIBRARIES := android.test.runner org.apache.http.legacy
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothRebootStressTest.java20 import android.test.InstrumentationTestCase;
23 * Instrumentation test case for stress test involving rebooting the device.
25 * This test case tests that bluetooth is enabled after a device reboot. Because
51 * Test method used to start the test by turning bluetooth on.
59 * Test method used in the middle iterations of the test to check if
70 * Test method used in the middle iterations of the test to check if
84 * Test method used in the stop the test by turning bluetooth off. Assumes
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
H A DScanResultTest.java22 import android.test.suitebuilder.annotation.SmallTest;
27 * Unit test cases for Bluetooth LE scans.
29 * To run this test, use adb shell am instrument -e class 'android.bluetooth.ScanResultTest' -w
H A DScanSettingsTest.java19 import android.test.suitebuilder.annotation.SmallTest;
/frameworks/base/core/tests/coretests/src/android/os/
H A DSystemPropertiesTest.java23 import android.test.suitebuilder.annotation.SmallTest;

Completed in 551 milliseconds

<<11121314151617181920>>