<commit_before>rosbuild_add_executable(handles handles.cpp)
rosbuild_add_gtest_build_flags(handles)
target_link_libraries(handles ros)

rosbuild_add_executable(timer_callbacks timer_callbacks.cpp)
rosbuild_add_gtest_build_flags(timer_callbacks)
target_link_libraries(timer_callbacks ros)

rosbuild_add_executable(latching_publisher latching_publisher)
rosbuild_add_gtest_build_flags(latching_publisher)
target_link_libraries(latching_publisher ros)

rosbuild_add_executable(publish_n_fast publish_n_fast.cpp)
rosbuild_declare_test(publish_n_fast)
target_link_libraries(publish_n_fast ros)

rosbuild_add_executable(subscribe_self subscribe_self.cpp)
rosbuild_add_gtest_build_flags(subscribe_self)
target_link_libraries(subscribe_self ros)

rosbuild_add_executable(pub_sub pub_sub.cpp)
rosbuild_declare_test(pub_sub)
target_link_libraries(pub_sub ros)

rosbuild_add_executable(sub_pub sub_pub.cpp)
rosbuild_add_gtest_build_flags(sub_pub)
target_link_libraries(sub_pub ros)

rosbuild_add_executable(publish_empty publish_empty.cpp)
rosbuild_declare_test(publish_empty)
target_link_libraries(publish_empty ros)

rosbuild_add_executable(publish_onsub publish_onsub.cpp)
rosbuild_declare_test(publish_onsub)
target_link_libraries(publish_onsub ros)

rosbuild_add_executable(subscribe_n_fast subscribe_n_fast.cpp)
rosbuild_add_gtest_build_flags(subscribe_n_fast)
target_link_libraries(subscribe_n_fast ros)

rosbuild_add_executable(subscribe_empty subscribe_empty.cpp)
rosbuild_add_gtest_build_flags(subscribe_empty)
target_link_libraries(subscribe_empty ros)

rosbuild_add_executable(subscribe_resubscribe subscribe_resubscribe.cpp)
rosbuild_add_gtest_build_flags(subscribe_resubscribe)
target_link_libraries(subscribe_resubscribe ros)

rosbuild_add_executable(subscribe_unsubscribe subscribe_unsubscribe.cpp)
rosbuild_add_gtest_build_flags(subscribe_unsubscribe)
target_link_libraries(subscribe_unsubscribe ros)

rosbuild_add_executable(publish_unadvertise publish_unadvertise.cpp)
rosbuild_add_gtest_build_flags(publish_unadvertise)
target_link_libraries(publish_unadvertise ros)

rosbuild_add_executable(subscribe_unsubscribe_repeatedly subscribe_unsubscribe_repeatedly.cpp)
rosbuild_declare_test(subscribe_unsubscribe_repeatedly)
target_link_libraries(subscribe_unsubscribe_repeatedly ros)

rosbuild_add_executable(publish_constantly publish_constantly.cpp)
rosbuild_declare_test(publish_constantly)
target_link_libraries(publish_constantly ros)

rosbuild_add_executable(param_update_test param_update_test.cpp)
rosbuild_declare_test(param_update_test)
target_link_libraries(param_update_test ros)

 
rosbuild_add_executable(real_time_test real_time_test.cpp)
rosbuild_declare_test(real_time_test)
rosbuild_add_gtest_build_flags(real_time_test)
target_link_libraries(real_time_test ros)

rosbuild_add_executable(sim_time_test sim_time_test.cpp)
rosbuild_declare_test(sim_time_test)
rosbuild_add_gtest_build_flags(sim_time_test)
target_link_libraries(sim_time_test ros)

# Call a service
rosbuild_add_executable(service_adv service_adv.cpp)
rosbuild_declare_test(service_adv)
target_link_libraries(service_adv ros)

rosbuild_add_executable(service_adv_unadv service_adv_unadv.cpp)
rosbuild_declare_test(service_adv_unadv)
rosbuild_add_gtest_build_flags(service_adv_unadv)
target_link_libraries(service_adv_unadv ros)

rosbuild_add_executable(service_call service_call.cpp)
rosbuild_add_gtest_build_flags(service_call)
target_link_libraries(service_call ros)

rosbuild_add_executable(service_call_repeatedly service_call_repeatedly.cpp)
rosbuild_declare_test(service_call_repeatedly)
target_link_libraries(service_call_repeatedly ros)


# Repeatedly call ros::init()
rosbuild_add_executable(multiple_init_fini multiple_init_fini.cpp)
rosbuild_add_gtest_build_flags(multiple_init_fini)
target_link_libraries(multiple_init_fini ros)

# Test node inspection functionality
rosbuild_add_executable(inspection inspection.cpp)
rosbuild_add_gtest_build_flags(inspection)
target_link_libraries(inspection ros)

# Test logging functionality
rosbuild_add_executable(log log.cpp)
rosbuild_add_gtest_build_flags(log)
target_link_libraries(log ros)

# Test that advertising a service multiple times fails
rosbuild_add_executable(service_adv_multiple service_adv_multiple.cpp)
rosbuild_add_gtest_build_flags(service_adv_multiple)
target_link_libraries(service_adv_multiple ros)

# Test that the second node to advertise a service "wins"
rosbuild_add_executable(service_adv_a service_adv_a.cpp)
rosbuild_add_gtest_build_flags(service_adv_a)
target_link_libraries(service_adv_a ros)

rosbuild_add_executable(service_wait_a_adv_b service_wait_a_adv_b.cpp)
rosbuild_add_gtest_build_flags(service_wait_a_adv_b)
target_link_libraries(service_wait_a_adv_b ros)

rosbuild_add_executable(service_call_expect_b service_call_expect_b.cpp)
rosbuild_add_gtest_build_flags(service_call_expect_b)
target_link_libraries(service_call_expect_b ros)

# Test command-line name remapping
rosbuild_add_executable(name_remapping name_remapping.cpp)
rosbuild_add_gtest_build_flags(name_remapping)
target_link_libraries(name_remapping ros)
rosbuild_add_executable(name_remapping_with_ns name_remapping_with_ns.cpp)
rosbuild_add_gtest_build_flags(name_remapping_with_ns)
target_link_libraries(name_remapping_with_ns ros)

# Test namespaces
rosbuild_add_executable(namespaces namespaces.cpp)
rosbuild_add_gtest_build_flags(namespaces)
target_link_libraries(namespaces ros)

# Test params
rosbuild_add_executable(params params.cpp)
rosbuild_add_gtest_build_flags(params)
target_link_libraries(params ros)

# Test getting information from the master
rosbuild_add_executable(get_master_information get_master_information.cpp)
rosbuild_add_gtest_build_flags(get_master_information)
target_link_libraries(get_master_information ros)

# Test multiple subscriptions
rosbuild_add_executable(multiple_subscriptions multiple_subscriptions.cpp)
rosbuild_add_gtest_build_flags(multiple_subscriptions)
target_link_libraries(multiple_subscriptions ros)

rosbuild_add_executable(check_master check_master.cpp)
rosbuild_add_gtest_build_flags(check_master)
target_link_libraries(check_master ros)

<commit_msg>fixed cmakelists<commit_after>rosbuild_add_executable(handles handles.cpp)
rosbuild_add_gtest_build_flags(handles)
target_link_libraries(handles ros)

rosbuild_add_executable(timer_callbacks timer_callbacks.cpp)
rosbuild_add_gtest_build_flags(timer_callbacks)
target_link_libraries(timer_callbacks ros)

rosbuild_add_executable(latching_publisher latching_publisher.cpp)
rosbuild_add_gtest_build_flags(latching_publisher)
target_link_libraries(latching_publisher ros)

rosbuild_add_executable(publish_n_fast publish_n_fast.cpp)
rosbuild_declare_test(publish_n_fast)
target_link_libraries(publish_n_fast ros)

rosbuild_add_executable(subscribe_self subscribe_self.cpp)
rosbuild_add_gtest_build_flags(subscribe_self)
target_link_libraries(subscribe_self ros)

rosbuild_add_executable(pub_sub pub_sub.cpp)
rosbuild_declare_test(pub_sub)
target_link_libraries(pub_sub ros)

rosbuild_add_executable(sub_pub sub_pub.cpp)
rosbuild_add_gtest_build_flags(sub_pub)
target_link_libraries(sub_pub ros)

rosbuild_add_executable(publish_empty publish_empty.cpp)
rosbuild_declare_test(publish_empty)
target_link_libraries(publish_empty ros)

rosbuild_add_executable(publish_onsub publish_onsub.cpp)
rosbuild_declare_test(publish_onsub)
target_link_libraries(publish_onsub ros)

rosbuild_add_executable(subscribe_n_fast subscribe_n_fast.cpp)
rosbuild_add_gtest_build_flags(subscribe_n_fast)
target_link_libraries(subscribe_n_fast ros)

rosbuild_add_executable(subscribe_empty subscribe_empty.cpp)
rosbuild_add_gtest_build_flags(subscribe_empty)
target_link_libraries(subscribe_empty ros)

rosbuild_add_executable(subscribe_resubscribe subscribe_resubscribe.cpp)
rosbuild_add_gtest_build_flags(subscribe_resubscribe)
target_link_libraries(subscribe_resubscribe ros)

rosbuild_add_executable(subscribe_unsubscribe subscribe_unsubscribe.cpp)
rosbuild_add_gtest_build_flags(subscribe_unsubscribe)
target_link_libraries(subscribe_unsubscribe ros)

rosbuild_add_executable(publish_unadvertise publish_unadvertise.cpp)
rosbuild_add_gtest_build_flags(publish_unadvertise)
target_link_libraries(publish_unadvertise ros)

rosbuild_add_executable(subscribe_unsubscribe_repeatedly subscribe_unsubscribe_repeatedly.cpp)
rosbuild_declare_test(subscribe_unsubscribe_repeatedly)
target_link_libraries(subscribe_unsubscribe_repeatedly ros)

rosbuild_add_executable(publish_constantly publish_constantly.cpp)
rosbuild_declare_test(publish_constantly)
target_link_libraries(publish_constantly ros)

rosbuild_add_executable(param_update_test param_update_test.cpp)
rosbuild_declare_test(param_update_test)
target_link_libraries(param_update_test ros)

 
rosbuild_add_executable(real_time_test real_time_test.cpp)
rosbuild_declare_test(real_time_test)
rosbuild_add_gtest_build_flags(real_time_test)
target_link_libraries(real_time_test ros)

rosbuild_add_executable(sim_time_test sim_time_test.cpp)
rosbuild_declare_test(sim_time_test)
rosbuild_add_gtest_build_flags(sim_time_test)
target_link_libraries(sim_time_test ros)

# Call a service
rosbuild_add_executable(service_adv service_adv.cpp)
rosbuild_declare_test(service_adv)
target_link_libraries(service_adv ros)

rosbuild_add_executable(service_adv_unadv service_adv_unadv.cpp)
rosbuild_declare_test(service_adv_unadv)
rosbuild_add_gtest_build_flags(service_adv_unadv)
target_link_libraries(service_adv_unadv ros)

rosbuild_add_executable(service_call service_call.cpp)
rosbuild_add_gtest_build_flags(service_call)
target_link_libraries(service_call ros)

rosbuild_add_executable(service_call_repeatedly service_call_repeatedly.cpp)
rosbuild_declare_test(service_call_repeatedly)
target_link_libraries(service_call_repeatedly ros)


# Repeatedly call ros::init()
rosbuild_add_executable(multiple_init_fini multiple_init_fini.cpp)
rosbuild_add_gtest_build_flags(multiple_init_fini)
target_link_libraries(multiple_init_fini ros)

# Test node inspection functionality
rosbuild_add_executable(inspection inspection.cpp)
rosbuild_add_gtest_build_flags(inspection)
target_link_libraries(inspection ros)

# Test logging functionality
rosbuild_add_executable(log log.cpp)
rosbuild_add_gtest_build_flags(log)
target_link_libraries(log ros)

# Test that advertising a service multiple times fails
rosbuild_add_executable(service_adv_multiple service_adv_multiple.cpp)
rosbuild_add_gtest_build_flags(service_adv_multiple)
target_link_libraries(service_adv_multiple ros)

# Test that the second node to advertise a service "wins"
rosbuild_add_executable(service_adv_a service_adv_a.cpp)
rosbuild_add_gtest_build_flags(service_adv_a)
target_link_libraries(service_adv_a ros)

rosbuild_add_executable(service_wait_a_adv_b service_wait_a_adv_b.cpp)
rosbuild_add_gtest_build_flags(service_wait_a_adv_b)
target_link_libraries(service_wait_a_adv_b ros)

rosbuild_add_executable(service_call_expect_b service_call_expect_b.cpp)
rosbuild_add_gtest_build_flags(service_call_expect_b)
target_link_libraries(service_call_expect_b ros)

# Test command-line name remapping
rosbuild_add_executable(name_remapping name_remapping.cpp)
rosbuild_add_gtest_build_flags(name_remapping)
target_link_libraries(name_remapping ros)
rosbuild_add_executable(name_remapping_with_ns name_remapping_with_ns.cpp)
rosbuild_add_gtest_build_flags(name_remapping_with_ns)
target_link_libraries(name_remapping_with_ns ros)

# Test namespaces
rosbuild_add_executable(namespaces namespaces.cpp)
rosbuild_add_gtest_build_flags(namespaces)
target_link_libraries(namespaces ros)

# Test params
rosbuild_add_executable(params params.cpp)
rosbuild_add_gtest_build_flags(params)
target_link_libraries(params ros)

# Test getting information from the master
rosbuild_add_executable(get_master_information get_master_information.cpp)
rosbuild_add_gtest_build_flags(get_master_information)
target_link_libraries(get_master_information ros)

# Test multiple subscriptions
rosbuild_add_executable(multiple_subscriptions multiple_subscriptions.cpp)
rosbuild_add_gtest_build_flags(multiple_subscriptions)
target_link_libraries(multiple_subscriptions ros)

rosbuild_add_executable(check_master check_master.cpp)
rosbuild_add_gtest_build_flags(check_master)
target_link_libraries(check_master ros)


{'fraction_non_alphanumeric': 0.046418990325989756, 'fraction_numerical': 0.0, 'mean_word_length': 17.955315870570107, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4250446', 'n_tokens_mistral': 4345, 'n_tokens_neox': 4291, 'n_words': 473}