1 /* 2 * Copyright (c) 2024 SwanLink (Jiangsu) Technology Development 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 #ifndef JSVM_XTS_NAPI_VERSION_TEST_H 17 #define JSVM_XTS_NAPI_VERSION_TEST_H 18 19 #include "jsvm.h" 20 #include "jsvm_common.h" 21 #include "jsvm_types.h" 22 #include "native_common.h" 23 #include "test_entry.h" 24 #include <cstdint> 25 #include <cstdio> 26 #include <malloc.h> 27 #include <ctime> 28 #include <thread> 29 #include <uv.h> 30 #include <bits/alltypes.h> 31 #include <unistd.h> 32 #include <cstring> 33 #include <fstream> 34 #include <string> 35 #include <vector> 36 using namespace std; 37 38 JSVM_Value TestGetVersionCase01(JSVM_Env env, JSVM_CallbackInfo info); 39 JSVM_Value TestGetVMInfoCase01(JSVM_Env env, JSVM_CallbackInfo info); 40 JSVM_Value TestGetVMInfoCase02(JSVM_Env env, JSVM_CallbackInfo info); 41 42 #endif //JSVM_XTS_NAPI_VERSION_TEST_H 43