blob: 81f70c049010479cad3ec6d43af811f8b01d004c [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 `439-npe`.
4
5// Test's Dex code.
Bob Badourd7257ba2021-02-28 21:06:19 -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-439-npe",
17 defaults: ["art-run-test-defaults"],
Roland Levillain4258f9e2020-10-13 12:10:59 +010018 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-439-npe-expected-stdout",
22 ":art-run-test-439-npe-expected-stderr",
23 ],
Roland Levillain6b0b2e72020-09-08 16:36:13 +010024}
25
Roland Levillainb15e8792020-10-28 12:20:59 +000026// Test's expected standard output.
Roland Levillain6b0b2e72020-09-08 16:36:13 +010027genrule {
Roland Levillaina073f462020-10-28 12:48:24 +000028 name: "art-run-test-439-npe-expected-stdout",
29 out: ["art-run-test-439-npe-expected-stdout.txt"],
30 srcs: ["expected-stdout.txt"],
Roland Levillain6b0b2e72020-09-08 16:36:13 +010031 cmd: "cp -f $(in) $(out)",
Roland Levillain01e56982020-02-10 12:28:01 +000032}
Roland Levillainb15e8792020-10-28 12:20:59 +000033
34// Test's expected standard error.
35genrule {
36 name: "art-run-test-439-npe-expected-stderr",
37 out: ["art-run-test-439-npe-expected-stderr.txt"],
38 srcs: ["expected-stderr.txt"],
39 cmd: "cp -f $(in) $(out)",
40}