1 /*
2  * Copyright (C) 2019 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package android.platform.helpers;
18 
19 /**
20  * An interface for classes that will be loaded at runtime by HelperManager. All concrete helper
21  * implementations to be loaded by HelperManager must implement some interface that inherits from
22  * ITestHelper. This ensures that HelperManager does not attempt to load classes that were not
23  * intended to be loaded as part of a test.
24  *
25  * <p>Because HelperManager can be used in widely varying scenarios (e.g. platform testing, CTS),
26  * this interface does not impose any particular structure. Helper implementations for a specific
27  * type of testing should almost certainly implement a more detailed subinterface (see IAppHelper
28  * for an example).
29  */
30 public interface ITestHelper {
31     // Currently just a placeholder interface.
32 }
33