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 // Autogenerated file by wrong_ctx_tests.rb script -- DO NOT EDIT!
17
18 #include "libabckit/include/c/abckit.h"
19 #include "libabckit/include/c/metadata_core.h"
20 #include "libabckit/include/c/extensions/arkts/metadata_arkts.h"
21 #include "libabckit/include/c/extensions/js/metadata_js.h"
22 #include "libabckit/include/c/ir_core.h"
23
24 #include "helpers/helpers.h"
25 #include "helpers/helpers_wrong_ctx.h"
26
27 #include <gtest/gtest.h>
28
29 namespace libabckit::test {
30
31 static auto g_modifyApiImp = AbckitGetModifyApiImpl(ABCKIT_VERSION_RELEASE_1_0_0);
32
33 class LibAbcKitWrongCtxTestsModifyApiImpl0 : public ::testing::Test {};
34
35 // Test: test-kind=api, api=ModifyApiImpl::functionSetGraph,
36 // abc-kind=NoABC, category=negative-file
TEST_F(LibAbcKitWrongCtxTestsModifyApiImpl0,functionSetGraph)37 TEST_F(LibAbcKitWrongCtxTestsModifyApiImpl0, functionSetGraph)
38 {
39 helpers_wrong_ctx::TestWrongCtx(g_modifyApiImp->functionSetGraph);
40 }
41
42 } // namespace libabckit::test
43