Loading tools/lint/framework/Android.bp +14 −6 Original line number Diff line number Diff line Loading @@ -37,12 +37,6 @@ java_library_host { java_test_host { name: "AndroidFrameworkLintCheckerTest", // TODO(b/239881504): Since this test was written, Android // Lint was updated, and now includes classes that were // compiled for java 15. The soong build doesn't support // java 15 yet, so we can't compile against "lint". Disable // the test until java 15 is supported. enabled: false, srcs: ["checks/src/test/java/**/*.kt"], static_libs: [ "AndroidFrameworkLintChecker", Loading @@ -52,5 +46,19 @@ java_test_host { ], test_options: { unit_test: true, tradefed_options: [ { // lint bundles in some classes that were built with older versions // of libraries, and no longer load. Since tradefed tries to load // all classes in the jar to look for tests, it crashes loading them. // Exclude these classes from tradefed's search. name: "exclude-paths", value: "org/apache", }, { name: "exclude-paths", value: "META-INF", }, ], }, } tools/lint/framework/checks/src/test/java/com/google/android/lint/RegisterReceiverFlagDetectorTest.kt +275 −266 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
tools/lint/framework/Android.bp +14 −6 Original line number Diff line number Diff line Loading @@ -37,12 +37,6 @@ java_library_host { java_test_host { name: "AndroidFrameworkLintCheckerTest", // TODO(b/239881504): Since this test was written, Android // Lint was updated, and now includes classes that were // compiled for java 15. The soong build doesn't support // java 15 yet, so we can't compile against "lint". Disable // the test until java 15 is supported. enabled: false, srcs: ["checks/src/test/java/**/*.kt"], static_libs: [ "AndroidFrameworkLintChecker", Loading @@ -52,5 +46,19 @@ java_test_host { ], test_options: { unit_test: true, tradefed_options: [ { // lint bundles in some classes that were built with older versions // of libraries, and no longer load. Since tradefed tries to load // all classes in the jar to look for tests, it crashes loading them. // Exclude these classes from tradefed's search. name: "exclude-paths", value: "org/apache", }, { name: "exclude-paths", value: "META-INF", }, ], }, }
tools/lint/framework/checks/src/test/java/com/google/android/lint/RegisterReceiverFlagDetectorTest.kt +275 −266 File changed.Preview size limit exceeded, changes collapsed. Show changes