1 /* 2 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef HCS_PARSER_TEST_H 10 #define HCS_PARSER_TEST_H 11 12 #include "hdf_main_test.h" 13 14 enum HdfConfigTestCaseCmd { 15 HDF_CREATE_DM_HCS_TO_TREE_001, 16 HDF_GET_NODE_BY_ATTR_VALUE_001, 17 HDF_GET_NODE_BY_ATTR_VALUE_002, 18 HDF_GET_BOOL_ATTR_VALUE_001, 19 HDF_GET_BOOL_ATTR_VALUE_002, 20 HDF_GET_UINT8_ATTR_VALUE_001, 21 HDF_GET_UINT8_ATTR_VALUE_002, 22 HDF_GET_UINT8_ARRAY_ELEM_ATTR_VALUE_001, 23 HDF_GET_UINT8_ARRAY_ELEM_ATTR_VALUE_002, 24 HDF_GET_UINT8_ARRAY_ATTR_VALUE_001, 25 HDF_GET_UINT8_ARRAY_ATTR_VALUE_002, 26 HDF_GET_UINT16_ATTR_VALUE_001, 27 HDF_GET_UINT16_ATTR_VALUE_002, 28 HDF_GET_UINT16_ARRAY_ELEM_ATTR_VALUE_001, 29 HDF_GET_UINT16_ARRAY_ELEM_ATTR_VALUE_002, 30 HDF_GET_UINT16_ARRAY_ATTR_VALUE_001, 31 HDF_GET_UINT16_ARRAY_ATTR_VALUE_002, 32 HDF_GET_UINT32_ATTR_VALUE_001, 33 HDF_GET_UINT32_ATTR_VALUE_002, 34 HDF_GET_UINT32_ARRAY_ELEM_ATTR_VALUE_001, 35 HDF_GET_UINT32_ARRAY_ELEM_ATTR_VALUE_002, 36 HDF_GET_UINT32_ARRAY_ATTR_VALUE_001, 37 HDF_GET_UINT32_ARRAY_ATTR_VALUE_002, 38 HDF_GET_UINT64_ATTR_VALUE_001, 39 HDF_GET_UINT64_ATTR_VALUE_002, 40 HDF_GET_UINT64_ARRAY_ELEM_ATTR_VALUE_001, 41 HDF_GET_UINT64_ARRAY_ELEM_ATTR_VALUE_002, 42 HDF_GET_UINT64_ARRAY_ATTR_VALUE_001, 43 HDF_GET_UINT64_ARRAY_ATTR_VALUE_002, 44 HDF_GET_ELEM_NUM_VALUE_001, 45 HDF_GET_ELEM_NUM_VALUE_002, 46 HDF_GET_CHILD_NODE_001, 47 HDF_GET_CHILD_NODE_002, 48 HDF_TRAVERSE_ATTR_IN_NODE_001, 49 HDF_TRAVERSE_ATTR_IN_NODE_002, 50 HDF_GET_STRING_ATTR_VALUE_001, 51 HDF_GET_STRING_ATTR_VALUE_002, 52 HDF_GET_STRING_ARRAY_ELEM_ATTR_VALUE_001, 53 HDF_GET_STRING_ARRAY_ELEM_ATTR_VALUE_002, 54 HDF_GET_NODE_BY_ATTR_REF_001, 55 HDF_GET_NODE_BY_ATTR_REF_002, 56 HDF_MACRO_GET_ONE_NODE, 57 HDF_MACRO_CHECK_NODE_EXISTS, 58 HDF_MACRO_CHECK_NODE_NOT_EXISTS, 59 HDF_MACRO_GET_ONE_NODE_PROP, 60 HDF_MACRO_CHECK_NODE_PROP_EXISTS, 61 HDF_MACRO_CHECK_NODE_PROP_NOT_EXISTS, 62 HDF_MACRO_TRAVERSAL_ONE_NODE, 63 HDF_MACRO_GET_ARRAY_SIZE, 64 HDF_MACRO_GET_ONE_ARRAY_ELEMENT, 65 HDF_MACRO_TRAVERSAL_ONE_ARRAY, 66 HDF_MACRO_TRAVERSAL_ALL_ARRAY, 67 HDF_MACRO_TRAVERSAL_NODE_CHILD, 68 HDF_MACRO_TRAVERSAL_NODE_CHILD_VARGS, 69 HDF_MACRO_GET_ONE_FILE, 70 }; 71 72 int32_t HdfConfigEntry(HdfTestMsg *msg); 73 74 #endif // HCS_PARSER_TEST_H 75