/art/test/ |
D | Android.run-test.bp | 1 // This file was generated by Android.run-test.bp.py 5 name: "art-run-test-host-data-shard00", 6 out: ["art-run-test-host-data-shard00.zip"], 8 defaults: ["art-run-test-data-defaults"], 9 cmd: "$(location run-test-build.py) --out $(out) --mode host --shard 00 " + 10 "--bootclasspath $(location :art-run-test-bootclasspath)", 14 name: "art-run-test-host-data-shard01", 15 out: ["art-run-test-host-data-shard01.zip"], 17 defaults: ["art-run-test-data-defaults"], 18 cmd: "$(location run-test-build.py) --out $(out) --mode host --shard 01 " + [all …]
|
D | README.md | 19 The run-tests are identified by directories in this `test` directory, named with 28 The run-tests logic lives in the `test/run-test` Bash script. The execution of a 29 run-test has three main parts: building the test, running the test, and checking 30 the test's output. By default, these three steps are implemented by three Bash 31 scripts located in the `test/etc` directory (`default-build`, `default-run`, and 33 `test/run-test`. 36 if the test's directory contains a Bash script named after the step 38 is actually implemented in the "JAR runner" (`test/etc/run-test-jar`), invoked 39 by `test/etc/default-run`. 41 After the execution of a run-test, the check step's default behavior [all …]
|
/art/test/010-instance/src/ |
D | InstanceTest.java | 36 Object test; in main() local 38 test = x; in main() 39 System.out.println("x instanceof X (true): " + (test instanceof X)); in main() 40 System.out.println("x instanceof Y (false): " + (test instanceof Y)); in main() 41 test = y; in main() 42 System.out.println("y instanceof X (true): " + (test instanceof X)); in main() 43 System.out.println("y instanceof Y (true): " + (test instanceof Y)); in main() 45 test = xar; in main() 47 + (test instanceof Object)); in main() 49 + (test instanceof X)); in main() [all …]
|
/art/test/005-annotations/ |
D | expected-stdout.txt | 2 java.lang.String android.test.anno.TestAnnotations.thing1: @android.test.anno.AnnoArrayField(bb=[],… 3 java.lang.String android.test.anno.TestAnnotations.thing2: @android.test.anno.AnnoArrayField(bb=[-1… 4 mapping is class [Landroid.test.anno.IntToString; 5 0='@android.test.anno.IntToString(from=0, to=NORMAL_FOCUS)' 6 1='@android.test.anno.IntToString(from=2, to=WEAK_FOCUS)' 11 annotations on TYPE class android.test.anno.SimplyNoted(2): 12 @android.test.anno.AnnoSimpleType() 13 interface android.test.anno.AnnoSimpleType 14 @android.test.anno.AnnoSimpleType2() 15 interface android.test.anno.AnnoSimpleType2 [all …]
|
/art/ |
D | TEST_MAPPING | 1 // Generated by `regen-test-files`. Do not edit manually. 8 "name": "art-run-test-001-HelloWorld[com.google.android.art.apex]" 11 "name": "art-run-test-001-Main[com.google.android.art.apex]" 14 "name": "art-run-test-002-sleep[com.google.android.art.apex]" 17 "name": "art-run-test-004-InterfaceTest[com.google.android.art.apex]" 20 "name": "art-run-test-004-NativeAllocations[com.google.android.art.apex]" 23 "name": "art-run-test-004-checker-UnsafeTest18[com.google.android.art.apex]" 26 "name": "art-run-test-006-args[com.google.android.art.apex]" 29 "name": "art-run-test-007-count10[com.google.android.art.apex]" 32 "name": "art-run-test-009-instanceof[com.google.android.art.apex]" [all …]
|
/art/test/1927-exception-event/ |
D | exception_event.cc | 42 static void CallMethod(JNIEnv* env, jclass test, const char* name) { in CallMethod() argument 43 jmethodID m = env->GetStaticMethodID(test, name, "()V"); in CallMethod() 44 env->CallStaticVoidMethod(test, m); in CallMethod() 47 static void ClearAndPrintException(JNIEnv* env, jclass test) { in ClearAndPrintException() argument 50 jmethodID m = env->GetStaticMethodID(test, "printException", "(Ljava/lang/Throwable;)V"); in ClearAndPrintException() 51 env->CallStaticVoidMethod(test, m, e); in ClearAndPrintException() 58 extern "C" JNIEXPORT void JNICALL Java_art_Test1927_test_1N(JNIEnv* env, jclass test) { in Java_art_Test1927_test_1N() argument 60 ClearAndPrintException(env, test); in Java_art_Test1927_test_1N() 63 extern "C" JNIEXPORT void JNICALL Java_art_Test1927_test_1N_1J(JNIEnv* env, jclass test) { in Java_art_Test1927_test_1N_1J() argument 64 CallMethod(env, test, "terminal_J"); in Java_art_Test1927_test_1N_1J() [all …]
|
/art/test/952-invoke-custom/src/ |
D | Main.java | 42 TestLinkerMethodMultipleArgumentTypes.test(33, 67); in TestLinkerMethodMultipleArgumentTypes() 43 TestLinkerMethodMultipleArgumentTypes.test(-10000, 1000); in TestLinkerMethodMultipleArgumentTypes() 44 TestLinkerMethodMultipleArgumentTypes.test(-1000, 10000); in TestLinkerMethodMultipleArgumentTypes() 48 TestLinkerMethodWithRange.test(0, 1, 2, 3, 4, 5); in TestLinkerMethodWithRange() 49 TestLinkerMethodWithRange.test(-101, -79, 113, 9, 17, 229); in TestLinkerMethodWithRange() 50 TestLinkerMethodWithRange.test(811, 823, 947, 967, 1087, 1093); in TestLinkerMethodWithRange() 52 TestLinkerMethodWithRange.test(null, null, null, null, null, null); in TestLinkerMethodWithRange() 53 TestLinkerMethodWithRange.test(Double.valueOf(1.0), null, Double.valueOf(3.0), null, in TestLinkerMethodWithRange() 55 TestLinkerMethodWithRange.test(null, Double.valueOf(3.0), null, in TestLinkerMethodWithRange() 57 TestLinkerMethodWithRange.test(Double.valueOf(1.0), Double.valueOf(2.0), in TestLinkerMethodWithRange() [all …]
|
/art/test/507-boolean-test/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `507-boolean-test`. 16 name: "art-run-test-507-boolean-test", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-template", 21 ":art-run-test-507-boolean-test-expected-stdout", 22 ":art-run-test-507-boolean-test-expected-stderr", 28 name: "art-run-test-507-boolean-test-expected-stdout", 29 out: ["art-run-test-507-boolean-test-expected-stdout.txt"], 36 name: "art-run-test-507-boolean-test-expected-stderr", [all …]
|
/art/test/050-sync-test/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `050-sync-test`. 16 name: "art-run-test-050-sync-test", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-template", 21 ":art-run-test-050-sync-test-expected-stdout", 22 ":art-run-test-050-sync-test-expected-stderr", 28 name: "art-run-test-050-sync-test-expected-stdout", 29 out: ["art-run-test-050-sync-test-expected-stdout.txt"], 36 name: "art-run-test-050-sync-test-expected-stderr", [all …]
|
/art/test/162-method-resolution/ |
D | expected-stdout.txt | 1 Calling Test1Derived.test(): 3 Calling Test1User.test(): 6 Calling Test1User2.test(): 9 Calling Test2User.test(): 12 Calling Test2User2.test(): 14 Calling Test3User.test(): 17 Calling Test4User.test(): 19 Calling Test5User.test(): 21 Calling Test5User2.test(): 24 Calling Test6User.test(): [all …]
|
/art/test/dexdump/ |
D | bytecodes.lst | 2 0x000009a0 8 com.google.android.test.BuildConfig <init> ()V BuildConfig.java 4 3 0x000009b8 8 com.google.android.test.R$attr <init> ()V R.java 11 4 0x000009d0 8 com.google.android.test.R$drawable <init> ()V R.java 13 5 0x000009e8 8 com.google.android.test.R <init> ()V R.java 10 6 0x00000a00 148 com.google.android.test.Test <clinit> ()V Test.java 7 7 0x00000aa4 468 com.google.android.test.Test <init> ()V Test.java 43 8 0x00000ca4 478 com.google.android.test.Test add (Ljava/lang/Object;)Ljava/lang/Object; Test.java 179 9 0x00000ea0 236 com.google.android.test.Test adds (Ljava/lang/Object;)Ljava/lang/Object; Test.java 2… 10 0x00000f9c 342 com.google.android.test.Test copies ()V Test.java 216 11 0x00001104 156 com.google.android.test.Test doit (I)V Test.java 98 [all …]
|
/art/test/137-cfi/ |
D | expected-stdout.txt | 1 args: --test-local --test-remote 7 args: --test-local --test-remote --secondary 11 args: --test-local --test-remote 17 args: --test-local --test-remote --secondary 21 args: --test-remote 25 args: --test-remote --secondary
|
/art/test/449-checker-bce/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `449-checker-bce`. 16 name: "art-run-test-449-checker-bce", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-449-checker-bce-expected-stdout", 22 ":art-run-test-449-checker-bce-expected-stderr", 24 // Include the Java source files in the test's artifacts, to make Checker assertions 25 // available to the TradeFed test runner. 31 name: "art-run-test-449-checker-bce-expected-stdout", [all …]
|
/art/test/729-checker-polymorphic-intrinsic/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `729-checker-polymorphic-intrinsic`. 16 name: "art-run-test-729-checker-polymorphic-intrinsic", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-729-checker-polymorphic-intrinsic-expected-stdout", 22 ":art-run-test-729-checker-polymorphic-intrinsic-expected-stderr", 24 // Include the Java source files in the test's artifacts, to make Checker assertions 25 // available to the TradeFed test runner. 31 name: "art-run-test-729-checker-polymorphic-intrinsic-expected-stdout", [all …]
|
/art/test/680-checker-deopt-dex-pc-0/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `680-checker-deopt-dex-pc-0`. 16 name: "art-run-test-680-checker-deopt-dex-pc-0", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-680-checker-deopt-dex-pc-0-expected-stdout", 22 ":art-run-test-680-checker-deopt-dex-pc-0-expected-stderr", 24 // Include the Java source files in the test's artifacts, to make Checker assertions 25 // available to the TradeFed test runner. 31 name: "art-run-test-680-checker-deopt-dex-pc-0-expected-stdout", [all …]
|
/art/test/623-checker-loop-regressions/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `623-checker-loop-regressions`. 16 name: "art-run-test-623-checker-loop-regressions", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-623-checker-loop-regressions-expected-stdout", 22 ":art-run-test-623-checker-loop-regressions-expected-stderr", 24 // Include the Java source files in the test's artifacts, to make Checker assertions 25 // available to the TradeFed test runner. 31 name: "art-run-test-623-checker-loop-regressions-expected-stdout", [all …]
|
/art/test/2238-checker-polymorphic-recursive-inlining/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `2238-checker-polymorphic-recursive-inlining`. 16 name: "art-run-test-2238-checker-polymorphic-recursive-inlining", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-2238-checker-polymorphic-recursive-inlining-expected-stdout", 22 ":art-run-test-2238-checker-polymorphic-recursive-inlining-expected-stderr", 24 // Include the Java source files in the test's artifacts, to make Checker assertions 25 // available to the TradeFed test runner. 31 name: "art-run-test-2238-checker-polymorphic-recursive-inlining-expected-stdout", [all …]
|
/art/test/638-checker-inline-cache-intrinsic/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `638-checker-inline-cache-intrinsic`. 16 name: "art-run-test-638-checker-inline-cache-intrinsic", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-638-checker-inline-cache-intrinsic-expected-stdout", 22 ":art-run-test-638-checker-inline-cache-intrinsic-expected-stderr", 24 // Include the Java source files in the test's artifacts, to make Checker assertions 25 // available to the TradeFed test runner. 31 name: "art-run-test-638-checker-inline-cache-intrinsic-expected-stdout", [all …]
|
/art/test/707-checker-invalid-profile/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `707-checker-invalid-profile`. 16 name: "art-run-test-707-checker-invalid-profile", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-707-checker-invalid-profile-expected-stdout", 22 ":art-run-test-707-checker-invalid-profile-expected-stderr", 24 // Include the Java source files in the test's artifacts, to make Checker assertions 25 // available to the TradeFed test runner. 31 name: "art-run-test-707-checker-invalid-profile-expected-stdout", [all …]
|
/art/test/051-thread/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `051-thread`. 16 name: "art-run-test-051-thread", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-051-thread-expected-stdout", 22 ":art-run-test-051-thread-expected-stderr", 28 name: "art-run-test-051-thread-expected-stdout", 29 out: ["art-run-test-051-thread-expected-stdout.txt"], 36 name: "art-run-test-051-thread-expected-stderr", [all …]
|
/art/test/2235-JdkUnsafeTest/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `2235-JdkUnsafeTest`. 16 name: "art-run-test-2235-JdkUnsafeTest", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-2235-JdkUnsafeTest-expected-stdout", 22 ":art-run-test-2235-JdkUnsafeTest-expected-stderr", 28 name: "art-run-test-2235-JdkUnsafeTest-expected-stdout", 29 out: ["art-run-test-2235-JdkUnsafeTest-expected-stdout.txt"], 36 name: "art-run-test-2235-JdkUnsafeTest-expected-stderr", [all …]
|
/art/test/150-loadlibrary/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `150-loadlibrary`. 16 name: "art-run-test-150-loadlibrary", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-150-loadlibrary-expected-stdout", 22 ":art-run-test-150-loadlibrary-expected-stderr", 28 name: "art-run-test-150-loadlibrary-expected-stdout", 29 out: ["art-run-test-150-loadlibrary-expected-stdout.txt"], 36 name: "art-run-test-150-loadlibrary-expected-stderr", [all …]
|
/art/test/915-obsolete-2/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `915-obsolete-2`. 16 name: "art-run-test-915-obsolete-2", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-915-obsolete-2-expected-stdout", 22 ":art-run-test-915-obsolete-2-expected-stderr", 28 name: "art-run-test-915-obsolete-2-expected-stdout", 29 out: ["art-run-test-915-obsolete-2-expected-stdout.txt"], 36 name: "art-run-test-915-obsolete-2-expected-stderr", [all …]
|
/art/test/913-heaps/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `913-heaps`. 16 name: "art-run-test-913-heaps", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-913-heaps-expected-stdout", 22 ":art-run-test-913-heaps-expected-stderr", 28 name: "art-run-test-913-heaps-expected-stdout", 29 out: ["art-run-test-913-heaps-expected-stdout.txt"], 36 name: "art-run-test-913-heaps-expected-stderr", [all …]
|
/art/test/922-properties/ |
D | Android.bp | 1 // Generated by `regen-test-files`. Do not edit manually. 3 // Build rules for ART run-test `922-properties`. 16 name: "art-run-test-922-properties", 17 defaults: ["art-run-test-defaults"], 18 test_config_template: ":art-run-test-target-no-test-suite-tag-template", 21 ":art-run-test-922-properties-expected-stdout", 22 ":art-run-test-922-properties-expected-stderr", 28 name: "art-run-test-922-properties-expected-stdout", 29 out: ["art-run-test-922-properties-expected-stdout.txt"], 36 name: "art-run-test-922-properties-expected-stderr", [all …]
|