Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/frameworks/native/opengl/tests/hwc/
DAndroid.mk20 LOCAL_MODULE_TAGS := tests
25 LOCAL_C_INCLUDES += system/extras/tests/include \
26 $(call include-path-for, opengl-tests-includes) \
34 LOCAL_MODULE_TAGS := tests
54 system/extras/tests/include \
56 $(call include-path-for, opengl-tests-includes) \
64 LOCAL_MODULE_TAGS := tests
84 system/extras/tests/include \
86 $(call include-path-for, opengl-tests-includes) \
94 LOCAL_MODULE_TAGS := tests
[all …]
/frameworks/base/docs/html/training/testing/unit-testing/
Dindex.jd23 <p>Unit tests are the fundamental tests in your app testing strategy. By creating and running unit
24 tests against your code, you can easily verify that the logic of individual units is correct.
25 Running unit tests after every build helps you to
30 could be a method, class, or component) in a repeatable way. You should build unit tests when you
37 <p class="note"><strong>Note:</strong> Unit tests are not suitable for testing
41 <p>For testing Android apps, you typically create these types of automated unit tests:</p>
44 <li><strong>Local tests:</strong> Unit tests that run on your local machine only. These tests are
46 approach to run unit tests that have no dependencies on the Android framework or have dependencies
48 <li><strong>Instrumented tests:</strong> Unit tests that run on an Android device or emulator.
49 These tests have access to instrumentation information, such as the
[all …]
Dinstrumented-unit-tests.jd21 <li><a href="#run-ctl">Run your tests with Firebase Test Lab</a></li>
38 <p>Instrumented unit tests are tests that run on physical devices and
41 instrumented unit tests if your tests need access to instrumentation
47 <p>Using instrumented unit tests also helps to reduce the effort required to
55 instrumented tests at
65 ) and APIs for functional UI tests (<a href=
123 <a href="local-unit-tests.html#build">Create a Local Unit Test Class</a>.
130 in more detail in <a href="{@docRoot}training/testing/start/index.html#run-instrumented-tests">
186 To organize the execution of your instrumented unit tests, you can group a collection of test
187 classes in a <em>test suite</em> class and run these tests together. Test suites can be nested;
[all …]
/frameworks/compile/libbcc/tests/debuginfo/
DREADME4 This directory contains integration tests for debug information in libbcc.
6 The tests come in two flavours: host and target. Host tests are run on the
8 tests run on a live Android system (emulator or device.)
10 Host tests use clang to build bytecode (bc) files, which are then executed
16 Target tests are similar, but instead of using clang, they use ant and
19 The output is verified in the same way as host side tests, and the format
20 of the tests is the same.
22 *** If you are running target-side tests, you must disable parallel
28 To run the tests, you must have built the android source tree and have
52 To execute all the tests from this directory, use the llvm-lit tool:
[all …]
/frameworks/compile/slang/lit-tests/
DREADME4 This directory contains tests for Slang that use the 'llvm-lit' testing tool.
10 To run the tests, you must have the android build environment variables
12 - Android version of llvm-lit (currently in libbcc/tests/debuginfo)
16 If you are unable to run the tests, try using the "--debug" option to llvm-lit.
19 the failure. Note that tests marked as "Expected Fail" (XFAIL) will not print
27 write tests that verify the emitted Java code.
31 To execute all the tests from this directory, use the Android llvm-lit tool
33 $ ../../libbcc/tests/debuginfo/llvm-lit .
39 Adding new tests
41 To add new tests, just add .rs files to a test directory with similar
[all …]
/frameworks/wilhelm/tests/examples/
DAndroid.mk7 LOCAL_MODULE_TAGS := tests
37 LOCAL_MODULE_TAGS := tests
62 LOCAL_MODULE_TAGS := tests
94 LOCAL_MODULE_TAGS := tests
120 LOCAL_MODULE_TAGS := tests
145 LOCAL_MODULE_TAGS := tests
170 LOCAL_MODULE_TAGS := tests
195 LOCAL_MODULE_TAGS := tests
220 LOCAL_MODULE_TAGS := tests
245 LOCAL_MODULE_TAGS := tests
[all …]
/frameworks/wilhelm/tests/sandbox/
DAndroid.mk7 LOCAL_MODULE_TAGS := tests
36 LOCAL_MODULE_TAGS := tests
63 LOCAL_MODULE_TAGS := tests
95 LOCAL_MODULE_TAGS := tests
127 LOCAL_MODULE_TAGS := tests
154 LOCAL_MODULE_TAGS := tests
185 LOCAL_MODULE_TAGS := tests
216 LOCAL_MODULE_TAGS := tests
248 LOCAL_MODULE_TAGS := tests
279 LOCAL_MODULE_TAGS := tests
[all …]
/frameworks/base/docs/html/training/testing/start/
Dindex.jd48 Android tests are based on <a href="http://junit.org/" class=
50 unit tests on the JVM or as instrumented tests on an Android device.
52 tools for building Android tests.
59 <p>When using Android Studio to write any of your tests, your test code must go
65 <dt><b>Local unit tests</b></dt>
67 <p>These tests run on the local JVM
70 href="/training/testing/unit-testing/local-unit-tests.html">Building Local
74 <dt><b>Instrumented tests</b></dt>
76 <p>These are all tests that must run on an Android hardware device or
79 <p>Instrumented tests are built into an APK that runs on the device alongside
[all …]
/frameworks/base/tests/SmokeTest/
DREADME1 The tests in this folder are a very controlled set of tests that will be run by
3 Please use caution when adding tests here.
5 If you wish to run these tests, issue the command:
8 -w com.android.smoketest/.tests.SmokeTestInstrumentationTestRunner
/frameworks/opt/net/wifi/tests/wifitests/
DREADME.md2 This package contains unit tests for the android wifi service based on the
8 The easiest way to run tests is simply run
15 tests on the device. See `runtest --help` for options to specify individual test classes or methods.
19 build the wifi service and run tests.
22 mmma frameworks/opt/net/wifi/tests && runtest frameworks-wifi
26 If you manually build and push the test APK to the device you can run tests using
37 If you are trying to debug why tests are not doing what you expected, you can add android log
38 statements and use logcat to view them. The beginning and end of every tests is automatically logged
43 in this directory. It will rebuild parts of your tree with coverage enabled and then run the tests,
50 frameworks/opt/net/wifi/tests/wifitests/coverage.sh wifi_coverage
/frameworks/wilhelm/tests/mimeUri/
DAndroid.mk7 LOCAL_MODULE_TAGS := tests
33 LOCAL_MODULE_TAGS := tests
59 LOCAL_MODULE_TAGS := tests
85 LOCAL_MODULE_TAGS := tests
111 LOCAL_MODULE_TAGS := tests
137 LOCAL_MODULE_TAGS := tests
163 LOCAL_MODULE_TAGS := tests
189 LOCAL_MODULE_TAGS := tests
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DMimePredicate.java50 public static boolean mimeMatches(String[] filters, String[] tests) { in mimeMatches() argument
51 if (tests == null) { in mimeMatches()
54 for (String test : tests) { in mimeMatches()
62 public static boolean mimeMatches(String filter, String[] tests) { in mimeMatches() argument
63 if (tests == null) { in mimeMatches()
66 for (String test : tests) { in mimeMatches()
/frameworks/base/packages/DocumentsUI/perf-tests/
DAndroid.mk4 LOCAL_MODULE_TAGS := tests
8 $(call all-java-files-under, ../tests/src/com/android/documentsui/bots) \
9 ../tests/src/com/android/documentsui/ActivityTest.java \
10 ../tests/src/com/android/documentsui/DocumentsProviderHelper.java \
11 ../tests/src/com/android/documentsui/StubProvider.java
/frameworks/base/tools/aapt/
DAndroid.mk51 tests/AaptConfig_test.cpp \
52 tests/AaptGroupEntry_test.cpp \
53 tests/Pseudolocales_test.cpp \
54 tests/ResourceFilter_test.cpp \
55 tests/ResourceTable_test.cpp
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DListTestCaseNames.java30 List<Test> tests = Collections.<Test>list(suite.tests()); in getTestCaseNames() local
32 for (Test test : tests) { in getTestCaseNames()
46 List<Test> tests = Collections.<Test>list(suite.tests()); in getTestNames() local
48 for (Test test : tests) { in getTestNames()
DTestGroupingTest.java42 List<TestMethod> tests = mGrouping.getTests(); in testGetTests_noPublicConstructor() local
44 assertEquals(1, tests.size()); in testGetTests_noPublicConstructor()
45 assertEquals("testPublicConstructor", tests.get(0).getName()); in testGetTests_noPublicConstructor()
/frameworks/base/docs/html/ndk/guides/
Dndk-stack.jd25 I/DEBUG ( 31): pid: 351, tid: 351 %gt;%gt;%gt; /data/local/ndk-tests/crasher &lt;&lt;&lt;
31 I/DEBUG ( 31): #00 pc 0000841e /data/local/ndk-tests/crasher
32 I/DEBUG ( 31): #01 pc 000083fe /data/local/ndk-tests/crasher
33 I/DEBUG ( 31): #02 pc 000083f6 /data/local/ndk-tests/crasher
35 I/DEBUG ( 31): #04 pc 000083ea /data/local/ndk-tests/crasher
36 I/DEBUG ( 31): #05 pc 00008458 /data/local/ndk-tests/crasher
46 pid: 351, tid: 351 &gt;&gt;&gt; /data/local/ndk-tests/crasher &lt;&lt;&lt;
48 Stack frame #00 pc 0000841e /data/local/ndk-tests/crasher : Routine zoo in /tmp/foo/crasher/jni/z…
49 Stack frame #01 pc 000083fe /data/local/ndk-tests/crasher : Routine bar in /tmp/foo/crasher/jni/b…
50 Stack frame #02 pc 000083f6 /data/local/ndk-tests/crasher : Routine my_comparison in /tmp/foo/cra…
[all …]
/frameworks/support/recommendation/
Dbuild.gradle23 // this moves src/instrumentTest to tests so all folders follow:
24 // tests/java, tests/res, tests/assets, ...
26 androidTest.setRoot('tests')
27 androidTest.java.srcDir 'tests/src'
/frameworks/support/v7/gridlayout/
Dbuild.gradle31 // this moves src/instrumentTest to tests so all folders follow:
32 // tests/java, tests/res, tests/assets, ...
34 androidTest.setRoot('tests')
35 androidTest.java.srcDir 'tests/src'
36 androidTest.res.srcDir 'tests/res'
37 androidTest.manifest.srcFile 'tests/AndroidManifest.xml'
/frameworks/support/percent/
Dbuild.gradle33 // this moves src/instrumentTest to tests so all folders follow:
34 // tests/java, tests/res, tests/assets, ...
36 androidTest.setRoot('tests')
37 androidTest.java.srcDir 'tests/java'
38 androidTest.res.srcDir 'tests/res'
39 androidTest.manifest.srcFile 'tests/AndroidManifest.xml'
/frameworks/rs/api/
Dgenerate.sh38 rm -f ../../../cts/tests/tests/renderscript/src/android/renderscript/cts/generated/*
39 mv test/* ../../../cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
54 mv slangtest/all$i.rs ../../compile/slang/tests/P_all_api_$i
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/jdwp/
DJDWPClassDataRetriever.java22 import org.apache.harmony.jpda.tests.framework.jdwp.CommandPacket;
23 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPCommands;
24 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
25 import org.apache.harmony.jpda.tests.framework.jdwp.ReplyPacket;
26 import org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase;
27 import org.apache.harmony.jpda.tests.jdwp.share.JDWPUnitDebuggeeWrapper;
28 import org.apache.harmony.jpda.tests.share.JPDALogWriter;
29 import org.apache.harmony.jpda.tests.share.JPDATestOptions;
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dsingle_source_ref_count.rs51 } tests[] = {
60 for (int i = 0; tests[i].fp; i++) {
61 rsDebug(tests[i].name, 0);
62 rs_allocation allocation = tests[i].fp();
/frameworks/native/opengl/tests/lib/
DAndroid.mk19 LOCAL_MODULE_TAGS := tests
22 LOCAL_C_INCLUDES += system/extras/tests/include \
23 $(call include-path-for, opengl-tests-includes)
/frameworks/ex/camera2/portability/tests/
DAndroid.mk18 LOCAL_PACKAGE_NAME := android-ex-camera2-portability-tests
19 LOCAL_MODULE_TAGS := tests
21 LOCAL_SRC_FILES := $(call all-java-files-under,src) $(call all-java-files-under,../../utils/tests)

12345678910>>...18