Roland Levillain | 01e5698 | 2020-02-10 12:28:01 +0000 | [diff] [blame] | 1 | // Generated by `regen-test-files`. Do not edit manually. |
Roland Levillain | 6b0b2e7 | 2020-09-08 16:36:13 +0100 | [diff] [blame] | 2 | |
| 3 | // Build rules for ART run-test `640-checker-integer-valueof`. |
| 4 | |
| 5 | // Test's Dex code. |
Bob Badour | d7257ba | 2021-02-28 21:06:19 -0800 | [diff] [blame^] | 6 | package { |
| 7 | // See: http://go/android-license-faq |
| 8 | // A large-scale-change added 'default_applicable_licenses' to import |
| 9 | // all of the 'license_kinds' from "art_license" |
| 10 | // to get the below license kinds: |
| 11 | // SPDX-license-identifier-Apache-2.0 |
| 12 | default_applicable_licenses: ["art_license"], |
| 13 | } |
| 14 | |
Roland Levillain | 01e5698 | 2020-02-10 12:28:01 +0000 | [diff] [blame] | 15 | java_test { |
| 16 | name: "art-run-test-640-checker-integer-valueof", |
| 17 | defaults: ["art-run-test-defaults"], |
Roland Levillain | 9a1a5a9 | 2020-11-16 12:11:37 +0000 | [diff] [blame] | 18 | test_config_template: ":art-run-test-target-template", |
Roland Levillain | 01e5698 | 2020-02-10 12:28:01 +0000 | [diff] [blame] | 19 | srcs: ["src/**/*.java"], |
Roland Levillain | b15e879 | 2020-10-28 12:20:59 +0000 | [diff] [blame] | 20 | data: [ |
| 21 | ":art-run-test-640-checker-integer-valueof-expected-stdout", |
| 22 | ":art-run-test-640-checker-integer-valueof-expected-stderr", |
| 23 | ], |
Daniil Riazanovskiy | 1e20e51 | 2020-09-08 21:32:06 +0000 | [diff] [blame] | 24 | // Include the Java source files in the test's artifacts, to make Checker assertions |
| 25 | // available to the TradeFed test runner. |
| 26 | include_srcs: true, |
Roland Levillain | 6b0b2e7 | 2020-09-08 16:36:13 +0100 | [diff] [blame] | 27 | } |
| 28 | |
Roland Levillain | b15e879 | 2020-10-28 12:20:59 +0000 | [diff] [blame] | 29 | // Test's expected standard output. |
Roland Levillain | 6b0b2e7 | 2020-09-08 16:36:13 +0100 | [diff] [blame] | 30 | genrule { |
Roland Levillain | a073f46 | 2020-10-28 12:48:24 +0000 | [diff] [blame] | 31 | name: "art-run-test-640-checker-integer-valueof-expected-stdout", |
| 32 | out: ["art-run-test-640-checker-integer-valueof-expected-stdout.txt"], |
| 33 | srcs: ["expected-stdout.txt"], |
Roland Levillain | 6b0b2e7 | 2020-09-08 16:36:13 +0100 | [diff] [blame] | 34 | cmd: "cp -f $(in) $(out)", |
Roland Levillain | 01e5698 | 2020-02-10 12:28:01 +0000 | [diff] [blame] | 35 | } |
Roland Levillain | b15e879 | 2020-10-28 12:20:59 +0000 | [diff] [blame] | 36 | |
| 37 | // Test's expected standard error. |
| 38 | genrule { |
| 39 | name: "art-run-test-640-checker-integer-valueof-expected-stderr", |
| 40 | out: ["art-run-test-640-checker-integer-valueof-expected-stderr.txt"], |
| 41 | srcs: ["expected-stderr.txt"], |
| 42 | cmd: "cp -f $(in) $(out)", |
| 43 | } |