blob: cb7bd90aa4dcca76553bada3389a4fcd7905a473 [file] [log] [blame]
Roland Levillain01e56982020-02-10 12:28:01 +00001// Generated by `regen-test-files`. Do not edit manually.
Roland Levillain6b0b2e72020-09-08 16:36:13 +01002
3// Build rules for ART run-test `646-checker-long-const-to-int`.
4
5// Test's Dex code.
Bob Badour9150de62021-02-26 03:22:24 -08006package {
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 Levillain01e56982020-02-10 12:28:01 +000015java_test {
16 name: "art-run-test-646-checker-long-const-to-int",
17 defaults: ["art-run-test-defaults"],
Roland Levillain9a1a5a92020-11-16 12:11:37 +000018 test_config_template: ":art-run-test-target-template",
Roland Levillain01e56982020-02-10 12:28:01 +000019 srcs: ["src/**/*.java"],
Roland Levillainb15e8792020-10-28 12:20:59 +000020 data: [
21 ":art-run-test-646-checker-long-const-to-int-expected-stdout",
22 ":art-run-test-646-checker-long-const-to-int-expected-stderr",
23 ],
Daniil Riazanovskiy1e20e512020-09-08 21:32:06 +000024 // 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 Levillain6b0b2e72020-09-08 16:36:13 +010027}
28
Roland Levillainb15e8792020-10-28 12:20:59 +000029// Test's expected standard output.
Roland Levillain6b0b2e72020-09-08 16:36:13 +010030genrule {
Roland Levillaina073f462020-10-28 12:48:24 +000031 name: "art-run-test-646-checker-long-const-to-int-expected-stdout",
32 out: ["art-run-test-646-checker-long-const-to-int-expected-stdout.txt"],
33 srcs: ["expected-stdout.txt"],
Roland Levillain6b0b2e72020-09-08 16:36:13 +010034 cmd: "cp -f $(in) $(out)",
Roland Levillain01e56982020-02-10 12:28:01 +000035}
Roland Levillainb15e8792020-10-28 12:20:59 +000036
37// Test's expected standard error.
38genrule {
39 name: "art-run-test-646-checker-long-const-to-int-expected-stderr",
40 out: ["art-run-test-646-checker-long-const-to-int-expected-stderr.txt"],
41 srcs: ["expected-stderr.txt"],
42 cmd: "cp -f $(in) $(out)",
43}