/frameworks/native/opengl/tests/hwc/ |
D | Android.mk | 20 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/ |
D | index.jd | 23 <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 …]
|
D | instrumented-unit-tests.jd | 21 <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/ |
D | README | 4 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/ |
D | README | 4 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/ |
D | Android.mk | 7 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/ |
D | Android.mk | 7 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/ |
D | index.jd | 48 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/ |
D | README | 1 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/ |
D | README.md | 2 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/ |
D | Android.mk | 7 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/ |
D | MimePredicate.java | 50 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/ |
D | Android.mk | 4 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/ |
D | Android.mk | 51 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/ |
D | ListTestCaseNames.java | 30 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()
|
D | TestGroupingTest.java | 42 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/ |
D | ndk-stack.jd | 25 I/DEBUG ( 31): pid: 351, tid: 351 %gt;%gt;%gt; /data/local/ndk-tests/crasher <<< 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 >>> /data/local/ndk-tests/crasher <<< 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/ |
D | build.gradle | 23 // 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/ |
D | build.gradle | 31 // 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/ |
D | build.gradle | 33 // 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/ |
D | generate.sh | 38 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/ |
D | JDWPClassDataRetriever.java | 22 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/ |
D | single_source_ref_count.rs | 51 } 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/ |
D | Android.mk | 19 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/ |
D | Android.mk | 18 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)
|