summaryrefslogtreecommitdiff
path: root/android/testing.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-06-18 18:05:41 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-06-18 18:05:41 +0000
commitecdb25e6747f05ce65529603443aeff91387f8e4 (patch)
tree3eec180774e0a3ec75036e7a1fbab18d5e2096e7 /android/testing.go
parent25cdff6815b51cf78ca433bccd5ba3165d26d41b (diff)
parent43ddd08bd2b9af64cfbc58e2abf346be1b438d61 (diff)
Merge "Make required a configurable property" into main
Diffstat (limited to 'android/testing.go')
-rw-r--r--android/testing.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/testing.go b/android/testing.go
index 6fb2997cb..8dd467dce 100644
--- a/android/testing.go
+++ b/android/testing.go
@@ -224,6 +224,10 @@ func (ctx *TestContext) OtherModuleProviderAdaptor() OtherModuleProviderContext
})
}
+func (ctx *TestContext) OtherModulePropertyErrorf(module Module, property string, fmt_ string, args ...interface{}) {
+ panic(fmt.Sprintf(fmt_, args...))
+}
+
// registeredComponentOrder defines the order in which a sortableComponent type is registered at
// runtime and provides support for reordering the components registered for a test in the same
// way.