From 3fdb1bd9a2087e67c6ddf248a502881b385af14e Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Fri, 12 Mar 2021 12:24:54 +0000 Subject: [PATCH] Remove unused TestResult methods Left over from a previous incarnation of the fixture mechanism. Bug: 181070625 Test: m nothing Change-Id: Ifb3811b7b030613cbff93994f7d370d402b1e73d --- android/fixture.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/android/fixture.go b/android/fixture.go index edbbf08ed..0153c7b61 100644 --- a/android/fixture.go +++ b/android/fixture.go @@ -859,19 +859,6 @@ func (r *TestResult) NormalizePathsForTesting(paths Paths) []string { return result } -// NewFixture creates a new test fixture that is based on the one that created this result. It is -// intended to test the output of module types that generate content to be processed by the build, -// e.g. sdk snapshots. -func (r *TestResult) NewFixture(preparers ...FixturePreparer) Fixture { - return r.fixture.factory.Fixture(r.T, preparers...) -} - -// RunTest is shorthand for NewFixture(preparers...).RunTest(). -func (r *TestResult) RunTest(preparers ...FixturePreparer) *TestResult { - r.Helper() - return r.fixture.factory.Fixture(r.T, preparers...).RunTest() -} - // Module returns the module with the specific name and of the specified variant. func (r *TestResult) Module(name string, variant string) Module { return r.ModuleForTests(name, variant).Module()