1#
2# Copyright (C) 2020 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
18class RequirementState(object):
19    """Enum for test case requirement check state.
20
21    Attributes:
22        UNCHECKED: test case requirement has not been checked
23        SATISFIED: all the requirements are satisfied
24        UNSATISFIED: some of the requirements are not satisfied. Test case will
25                     not be executed
26    """
27    UNCHECKED = 0
28    SATISFIED = 2
29    UNSATISFIED = 3
30
31
32class ConfigKeys(object):
33    RUN_STAGING = "run_staging"
34    RUN_32BIT = "run_32bit"
35    RUN_64BIT = "run_64bit"
36    LTP_NUMBER_OF_THREADS = "ltp_number_of_threads"
37
38
39class Delimiters(object):
40    TESTCASE_FILTER = ','
41    TESTCASE_DEFINITION = '\t'
42
43
44class Requirements(object):
45    """Enum for all ltp requirements"""
46    LOOP_DEVICE_SUPPORT = 1
47    LTP_TMP_DIR = 2
48    BIN_IN_PATH_LDD = 3
49