Lines Matching refs:t
11 func TestVndkApexForVndkLite(t *testing.T) {
12 ctx, _ := testApex(t, `
52 ensureExactContents(t, ctx, "myapex", "android_common_image", []string{
64 func TestVndkApexUsesVendorVariant(t *testing.T) {
85 ensureFileSrc := func(t *testing.T, files []fileInApex, path, src string) {
86 t.Helper()
89 ensureContains(t, f.src, src)
93 t.Fail()
96 t.Run("VNDK lib doesn't have an apex variant", func(t *testing.T) {
97 ctx, _ := testApex(t, bp)
101 ensureNotContains(t, variant, "_myapex")
105 files := getFiles(t, ctx, "myapex", "android_common_image")
106 …ensureFileSrc(t, files, "lib/libfoo.so", "libfoo/android_vendor.VER_arm_armv7-a-neon_shared/libfoo…
109 …t.Run("VNDK APEX gathers only vendor variants even if product variants are available", func(t *tes…
110 ctx, _ := testApex(t, bp, func(fs map[string][]byte, config android.Config) {
115 files := getFiles(t, ctx, "myapex", "android_common_image")
116 …ensureFileSrc(t, files, "lib/libfoo.so", "libfoo/android_vendor.VER_arm_armv7-a-neon_shared/libfoo…
119 t.Run("VNDK APEX supports coverage variants", func(t *testing.T) {
120 ctx, _ := testApex(t, bp+`
162 files := getFiles(t, ctx, "myapex", "android_common_image")
163 …ensureFileSrc(t, files, "lib/libfoo.so", "libfoo/android_vendor.VER_arm_armv7-a-neon_shared/libfoo…
165 files = getFiles(t, ctx, "myapex", "android_common_cov_image")
166 …ensureFileSrc(t, files, "lib/libfoo.so", "libfoo/android_vendor.VER_arm_armv7-a-neon_shared_cov/li…