From 4e2bf9fb2d3ede98da38a6574a17a6ec2d6bb84e Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Wed, 11 Sep 2024 13:26:20 -0700 Subject: Add HasMutatorFinished To enforce that selects are only evaluated after a certain point in a followup cl. Bug: 323382414 Test: m nothing --no-skip-soong-tests Change-Id: Ib215fedb904aa2e5f4d65cfd26a23f527eb4983e --- android/testing.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'android/testing.go') diff --git a/android/testing.go b/android/testing.go index 42cd1ebbe..1ee6e4cdb 100644 --- a/android/testing.go +++ b/android/testing.go @@ -1326,6 +1326,10 @@ func (ctx *panickingConfigAndErrorContext) Config() Config { return ctx.ctx.Config() } +func (ctx *panickingConfigAndErrorContext) HasMutatorFinished(mutatorName string) bool { + return ctx.ctx.HasMutatorFinished(mutatorName) +} + func PanickingConfigAndErrorContext(ctx *TestContext) ConfigurableEvaluatorContext { return &panickingConfigAndErrorContext{ ctx: ctx, -- cgit v1.2.3-59-g8ed1b