1 /*
2  * Copyright (C) 2023 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 libcore.test.reasons;
18 
19 /**
20  * Reasons for {@link libcore.test.annotation.NonMts}.
21  */
22 public class NonMtsReasons {
23 
24     /**
25      * If the test depends on a new API from ICU, and version-specific API behavior or locale data,
26      * you can use this reason.
27      */
28     public static final String ICU_VERSION_DEPENDENCY = "The API behavior depends on the "
29            + "platform version. The test only passes above a certain API level.";
30 
31     /**
32      * If the test only passes above a certain API level.
33      */
34     public static final String API_LEVEL_GATING = "The test only passes above "
35             + "a certain API level.";
36 
37     /**
38      * If the test asserts a new behavior not tested in CTS, OEMs have the right to customize the
39      * behavior, but impossible to revert the behavior without system image OTA. Thus, we disable
40      * the test in MTS until it's tested in the dessert CTS.
41      */
42     public static final String OEM_CUSTOMIZATION = "The test doesn't pass with certain " +
43             "customizations from AOSP.";
44 
NonMtsReasons()45     private NonMtsReasons() {}
46 }
47