• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2024 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include "src/mock/mock_values.h"
17 
18 #include <cstdint>
19 #include <cstring>
20 
21 const char *DEFAULT_PATH = "abckit.abc";
22 const size_t DEFAULT_PATH_SIZE = std::strlen(DEFAULT_PATH) + 1;
23 const char *DEFAULT_CONST_CHAR = "abckit default const char*";
24 const size_t DEFAULT_CONST_CHAR_SIZE = std::strlen(DEFAULT_CONST_CHAR) + 1;
25 const bool DEFAULT_BOOL = true;
26 const uint8_t DEFAULT_U8 = 0x11;
27 const uint16_t DEFAULT_U16 = 0x1111;
28 const uint32_t DEFAULT_U32 = 0x11111111;
29 const int32_t DEFAULT_I32 = 0x11111112;
30 const uint64_t DEFAULT_U64 = 0x1111111122222222;
31 const int64_t DEFAULT_I64 = 0x1111111122222223;
32 const size_t DEFAULT_SIZE_T = 0x1111111133333333;
33