Lines Matching refs:testApexError
49 func testApexError(t *testing.T, pattern, bp string, handlers ...testCustomizer) { func
1579 testApexError(t, `"libz" .*: not found a version\(<=29\)`, `
1614 testApexError(t, `module "mylib".*: should support min_sdk_version\(29\)`, `
1802 testApexError(t, test.expectedError, test.bp)
1809 testApexError(t, `module "mylib2".*: should support min_sdk_version\(29\) for "myapex"`, `
1850 testApexError(t, `module "bar".*: should support min_sdk_version\(29\) for "myapex"`, `
2112 testApexError(t, `module "myapex" .*: use_vendor: not allowed`, `
2144 testApexError(t, `dependency "mylib" of "myapex" missing variant:\n.*image:vendor`, `
3021 …testApexError(t, `module "myapex_v27.*" .*: vndk_version: 27 is already defined in "myapex_v27.*"`…
3136 …testApexError(t, `module "myapex" .*: native_bridge_supported: .* doesn't support native bridge bi…
3697 testApexError(t, `"myapex" .*: file_contexts: should be under system/sepolicy`, `
3715 testApexError(t, `"myapex" .*: file_contexts: cannot find`, `
4066 testApexError(t, `uses: "commonapex" does not provide native_shared_libs`, `
4084 testApexError(t, `uses: "commonapex" is not a provider`, `
4106 testApexError(t, `use_vendor: "commonapex" has different value of use_vendor`, `
4131 testApexError(t, `module "myapex" .* depends on disabled module "libfoo"`, `
4152 testApexError(t, `module "myapex" .* depends on disabled module "myjar"`, `
4376 testApexError(t, `requires "libfoo" that is not available for the APEX`, `
4410 testApexError(t, "requires \"libfoo\" that is not available for the APEX", `
4445 testApexError(t, `requires "libbaz" that is not available for the APEX. Dependency path:
4488 testApexError(t, "\"otherapex\" is not a valid module name", `
4990 testApexError(t, `java_libs: "foo" is not configured to be compiled into dex`, `
5050 testApexError(t, `"myjar" is not configured to be compiled into dex`, `
5355 testApexError(t, `jni_libs: "xxx" is not a cc_library`, `
5582 testApexError(t, `"myapex" .*: updatable: updatable APEXes should set min_sdk_version`, `
5775 testApexError(t, `.*required by "mylib" is a native library providing stub.*`, `