diff options
author | 2024-05-01 20:02:36 +0000 | |
---|---|---|
committer | 2024-05-01 20:02:41 +0000 | |
commit | ed5276f0827915166e89b72bf26f7e65f68d2dd5 (patch) | |
tree | 87afdde2eda7687d2b50a801a0a93c7df194848a /android/testing.go | |
parent | 0e0d7490625c713bb71c254bd55129b0a30898a3 (diff) |
Revert "Make the enabled property configurable"
Revert submission 27162921-configurable_enabled_property
Reason for revert: Droid-monitor created revert due to Build breakage in b/338253720. Will be verifying through ABTD before submission.
Reverted changes: /q/submissionid:27162921-configurable_enabled_property
Change-Id: I2d144f9d297373a13a1190b173d10c966181ad84
Diffstat (limited to 'android/testing.go')
-rw-r--r-- | android/testing.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/android/testing.go b/android/testing.go index c692c7295..7b4411e2f 100644 --- a/android/testing.go +++ b/android/testing.go @@ -1287,21 +1287,3 @@ func EnsureListContainsSuffix(t *testing.T, result []string, expected string) { t.Errorf("%q is not found in %v", expected, result) } } - -type panickingConfigAndErrorContext struct { - ctx *TestContext -} - -func (ctx *panickingConfigAndErrorContext) OtherModulePropertyErrorf(module Module, property, fmt string, args ...interface{}) { - panic(ctx.ctx.PropertyErrorf(module, property, fmt, args...).Error()) -} - -func (ctx *panickingConfigAndErrorContext) Config() Config { - return ctx.ctx.Config() -} - -func PanickingConfigAndErrorContext(ctx *TestContext) ConfigAndErrorContext { - return &panickingConfigAndErrorContext{ - ctx: ctx, - } -} |