Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions score/mw/com/impl/methods/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ cc_library(
],
)

cc_library(
name = "method_handler_checker",
srcs = ["method_handler_checker.cpp"],
hdrs = ["method_handler_checker.h"],
features = COMPILER_WARNING_FEATURES,
tags = ["FFI"],
visibility = [
"//score/mw/com:__subpackages__",
],
)

cc_library(
name = "proxy_method_base",
srcs = ["proxy_method_base.cpp"],
Expand Down Expand Up @@ -111,6 +122,15 @@ cc_gtest_unit_test(
],
)

cc_gtest_unit_test(
name = "method_handler_checker_test",
srcs = ["method_handler_checker_test.cpp"],
features = COMPILER_WARNING_FEATURES,
deps = [
":method_handler_checker",
],
)

cc_unit_test(
name = "proxy_method_test",
srcs = ["proxy_method_test.cpp"],
Expand Down Expand Up @@ -155,6 +175,7 @@ cc_library(
"//score/mw/com/impl:__subpackages__",
],
deps = [
":method_handler_checker",
":skeleton_method_binding",
"//score/mw/com/impl:instance_identifier",
"//score/mw/com/impl:skeleton_base",
Expand Down Expand Up @@ -188,6 +209,7 @@ cc_gtest_unit_test(
":skeleton_method",
"//score/mw/com/impl/bindings/mock_binding",
"//score/mw/com/impl/plumbing:skeleton_method_binding_factory_mock",
"//score/mw/com/impl/test:binding_factory_resources",
"@score_baselibs//score/language/futurecpp",
],
)
Expand All @@ -209,6 +231,7 @@ cc_gtest_unit_test(
cc_unit_test_suites_for_host_and_qnx(
name = "unit_test_suite",
cc_unit_tests = [
":method_handler_checker_test",
":method_signature_element_ptr_test",
":proxy_method_test",
"skeleton_method_base_test",
Expand Down
13 changes: 13 additions & 0 deletions score/mw/com/impl/methods/method_handler_checker.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/********************************************************************************
* Copyright (c) 2025 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/
#include "score/mw/com/impl/methods/method_handler_checker.h"
Loading
Loading