From f1f03668240796fc1bd8108003ecfce07c2b08ef Mon Sep 17 00:00:00 2001 From: gomavlib-bot Date: Mon, 5 Aug 2024 11:23:27 +0000 Subject: [PATCH] (automatic) update dialects to rev https://github.com/mavlink/mavlink/tree/bb52e30d2b924d5a250f2400144d33012271a19d --- pkg/dialects/all/dialect_test.go | 13 +++ pkg/dialects/all/enum_mav_cmd_test.go | 14 +++ pkg/dialects/ardupilotmega/dialect_test.go | 13 +++ .../enum_accelcal_vehicle_pos_test.go | 14 +++ .../enum_camera_feedback_flags_test.go | 14 +++ .../enum_camera_status_types_test.go | 14 +++ .../ardupilotmega/enum_copter_mode_test.go | 14 +++ .../enum_deepstall_stage_test.go | 14 +++ .../enum_device_op_bustype_test.go | 14 +++ .../enum_ekf_status_flags_test.go | 14 +++ ...m_gimbal_axis_calibration_required_test.go | 14 +++ ...num_gimbal_axis_calibration_status_test.go | 14 +++ .../ardupilotmega/enum_gimbal_axis_test.go | 14 +++ .../enum_gopro_burst_rate_test.go | 14 +++ .../enum_gopro_capture_mode_test.go | 14 +++ .../ardupilotmega/enum_gopro_charging_test.go | 14 +++ .../ardupilotmega/enum_gopro_command_test.go | 14 +++ .../enum_gopro_field_of_view_test.go | 14 +++ .../enum_gopro_frame_rate_test.go | 14 +++ .../enum_gopro_heartbeat_flags_test.go | 14 +++ .../enum_gopro_heartbeat_status_test.go | 14 +++ .../ardupilotmega/enum_gopro_model_test.go | 14 +++ .../enum_gopro_photo_resolution_test.go | 14 +++ .../enum_gopro_protune_colour_test.go | 14 +++ .../enum_gopro_protune_exposure_test.go | 14 +++ .../enum_gopro_protune_gain_test.go | 14 +++ .../enum_gopro_protune_sharpness_test.go | 14 +++ .../enum_gopro_protune_white_balance_test.go | 14 +++ .../enum_gopro_request_status_test.go | 14 +++ .../enum_gopro_resolution_test.go | 14 +++ .../enum_gopro_video_settings_flags_test.go | 14 +++ .../ardupilotmega/enum_heading_type_test.go | 14 +++ .../enum_led_control_pattern_test.go | 14 +++ .../ardupilotmega/enum_limit_module_test.go | 14 +++ .../ardupilotmega/enum_limits_state_test.go | 14 +++ ...v_cmd_do_aux_function_switch_level_test.go | 14 +++ .../ardupilotmega/enum_mav_cmd_test.go | 14 +++ .../enum_mav_mode_gimbal_test.go | 14 +++ ...mav_remote_log_data_block_commands_test.go | 14 +++ ...mav_remote_log_data_block_statuses_test.go | 14 +++ .../enum_osd_param_config_error_test.go | 14 +++ .../enum_osd_param_config_type_test.go | 14 +++ .../enum_pid_tuning_axis_test.go | 14 +++ .../ardupilotmega/enum_plane_mode_test.go | 14 +++ .../ardupilotmega/enum_rally_flags_test.go | 14 +++ .../ardupilotmega/enum_rover_mode_test.go | 14 +++ .../ardupilotmega/enum_scripting_cmd_test.go | 14 +++ .../ardupilotmega/enum_sub_mode_test.go | 14 +++ .../ardupilotmega/enum_tracker_mode_test.go | 14 +++ pkg/dialects/asluav/dialect_test.go | 13 +++ .../asluav/enum_gsm_link_type_test.go | 14 +++ .../asluav/enum_gsm_modem_type_test.go | 14 +++ pkg/dialects/asluav/enum_mav_cmd_test.go | 14 +++ pkg/dialects/avssuas/dialect_test.go | 13 +++ .../enum_avss_horsefly_operation_mode_test.go | 14 +++ .../enum_avss_m300_operation_mode_test.go | 14 +++ ...um_mav_avss_command_failure_reason_test.go | 14 +++ pkg/dialects/avssuas/enum_mav_cmd_test.go | 14 +++ pkg/dialects/common/dialect_test.go | 13 +++ .../enum_actuator_configuration_test.go | 14 +++ .../enum_actuator_output_function_test.go | 14 +++ .../common/enum_adsb_altitude_type_test.go | 14 +++ .../common/enum_adsb_emitter_type_test.go | 14 +++ pkg/dialects/common/enum_adsb_flags_test.go | 14 +++ pkg/dialects/common/enum_ais_flags_test.go | 14 +++ .../common/enum_ais_nav_status_test.go | 14 +++ pkg/dialects/common/enum_ais_type_test.go | 14 +++ .../enum_attitude_target_typemask_test.go | 14 +++ .../common/enum_autotune_axis_test.go | 14 +++ .../common/enum_camera_cap_flags_test.go | 14 +++ pkg/dialects/common/enum_camera_mode_test.go | 14 +++ .../common/enum_camera_source_test.go | 14 +++ .../common/enum_camera_tracking_mode_test.go | 14 +++ .../enum_camera_tracking_status_flags_test.go | 14 +++ .../enum_camera_tracking_target_data_test.go | 14 +++ .../common/enum_camera_zoom_type_test.go | 14 +++ .../common/enum_can_filter_op_test.go | 14 +++ .../enum_cellular_config_response_test.go | 14 +++ ...num_cellular_network_failed_reason_test.go | 14 +++ .../enum_cellular_network_radio_type_test.go | 14 +++ .../common/enum_cellular_status_flag_test.go | 14 +++ .../common/enum_comp_metadata_type_test.go | 14 +++ .../common/enum_esc_connection_type_test.go | 14 +++ .../common/enum_esc_failure_flags_test.go | 14 +++ .../enum_estimator_status_flags_test.go | 14 +++ pkg/dialects/common/enum_failure_type_test.go | 14 +++ pkg/dialects/common/enum_failure_unit_test.go | 14 +++ pkg/dialects/common/enum_fence_action_test.go | 14 +++ pkg/dialects/common/enum_fence_breach_test.go | 14 +++ .../common/enum_fence_mitigate_test.go | 14 +++ pkg/dialects/common/enum_fence_type_test.go | 14 +++ .../common/enum_firmware_version_type_test.go | 14 +++ .../enum_gimbal_device_cap_flags_test.go | 14 +++ .../enum_gimbal_device_error_flags_test.go | 14 +++ .../common/enum_gimbal_device_flags_test.go | 14 +++ .../enum_gimbal_manager_cap_flags_test.go | 14 +++ .../common/enum_gimbal_manager_flags_test.go | 14 +++ pkg/dialects/common/enum_gps_fix_type_test.go | 14 +++ .../enum_gps_input_ignore_flags_test.go | 14 +++ .../common/enum_gripper_actions_test.go | 14 +++ .../enum_highres_imu_updated_flags_test.go | 14 +++ .../enum_hil_sensor_updated_flags_test.go | 14 +++ .../common/enum_hl_failure_flag_test.go | 14 +++ .../enum_illuminator_error_flags_test.go | 14 +++ .../common/enum_illuminator_mode_test.go | 14 +++ .../common/enum_landing_target_type_test.go | 14 +++ .../common/enum_mag_cal_status_test.go | 14 +++ .../enum_mav_arm_auth_denied_reason_test.go | 14 +++ .../enum_mav_battery_charge_state_test.go | 14 +++ .../common/enum_mav_battery_fault_test.go | 14 +++ .../common/enum_mav_battery_function_test.go | 14 +++ .../common/enum_mav_battery_mode_test.go | 14 +++ .../common/enum_mav_battery_type_test.go | 14 +++ pkg/dialects/common/enum_mav_cmd_test.go | 14 +++ .../common/enum_mav_collision_action_test.go | 14 +++ .../common/enum_mav_collision_src_test.go | 14 +++ .../enum_mav_collision_threat_level_test.go | 14 +++ .../common/enum_mav_data_stream_test.go | 14 +++ .../common/enum_mav_distance_sensor_test.go | 14 +++ .../enum_mav_do_reposition_flags_test.go | 14 +++ .../common/enum_mav_estimator_type_test.go | 14 +++ ...m_mav_event_current_sequence_flags_test.go | 14 +++ .../enum_mav_event_error_reason_test.go | 14 +++ pkg/dialects/common/enum_mav_frame_test.go | 14 +++ pkg/dialects/common/enum_mav_ftp_err_test.go | 14 +++ .../common/enum_mav_ftp_opcode_test.go | 14 +++ .../enum_mav_generator_status_flag_test.go | 14 +++ pkg/dialects/common/enum_mav_goto_test.go | 14 +++ .../common/enum_mav_landed_state_test.go | 14 +++ .../common/enum_mav_mission_result_test.go | 14 +++ .../common/enum_mav_mission_type_test.go | 14 +++ pkg/dialects/common/enum_mav_mode_test.go | 14 +++ .../common/enum_mav_mount_mode_test.go | 14 +++ .../common/enum_mav_odid_arm_status_test.go | 14 +++ .../common/enum_mav_odid_auth_type_test.go | 14 +++ .../common/enum_mav_odid_category_eu_test.go | 14 +++ .../common/enum_mav_odid_class_eu_test.go | 14 +++ .../enum_mav_odid_classification_type_test.go | 14 +++ .../common/enum_mav_odid_desc_type_test.go | 14 +++ .../common/enum_mav_odid_height_ref_test.go | 14 +++ .../common/enum_mav_odid_hor_acc_test.go | 14 +++ .../common/enum_mav_odid_id_type_test.go | 14 +++ .../enum_mav_odid_operator_id_type_test.go | 14 +++ ...um_mav_odid_operator_location_type_test.go | 14 +++ .../common/enum_mav_odid_speed_acc_test.go | 14 +++ .../common/enum_mav_odid_status_test.go | 14 +++ .../common/enum_mav_odid_time_acc_test.go | 14 +++ .../common/enum_mav_odid_ua_type_test.go | 14 +++ .../common/enum_mav_odid_ver_acc_test.go | 14 +++ .../common/enum_mav_param_ext_type_test.go | 14 +++ .../common/enum_mav_param_type_test.go | 14 +++ .../common/enum_mav_power_status_test.go | 14 +++ .../enum_mav_protocol_capability_test.go | 14 +++ pkg/dialects/common/enum_mav_result_test.go | 14 +++ pkg/dialects/common/enum_mav_roi_test.go | 14 +++ .../enum_mav_sensor_orientation_test.go | 14 +++ pkg/dialects/common/enum_mav_severity_test.go | 14 +++ ...num_mav_sys_status_sensor_extended_test.go | 14 +++ .../common/enum_mav_sys_status_sensor_test.go | 14 +++ .../enum_mav_tunnel_payload_type_test.go | 14 +++ .../common/enum_mav_vtol_state_test.go | 14 +++ .../common/enum_mav_winch_status_flag_test.go | 14 +++ .../enum_mavlink_data_stream_type_test.go | 14 +++ .../common/enum_mission_state_test.go | 14 +++ .../common/enum_motor_test_order_test.go | 14 +++ .../enum_motor_test_throttle_type_test.go | 14 +++ .../common/enum_nav_vtol_land_options_test.go | 14 +++ .../common/enum_orbit_yaw_behaviour_test.go | 14 +++ .../common/enum_parachute_action_test.go | 14 +++ pkg/dialects/common/enum_param_ack_test.go | 14 +++ .../enum_position_target_typemask_test.go | 14 +++ .../common/enum_precision_land_mode_test.go | 14 +++ ...m_preflight_storage_mission_action_test.go | 14 +++ ...preflight_storage_parameter_action_test.go | 14 +++ pkg/dialects/common/enum_rc_type_test.go | 14 +++ ...num_rtk_baseline_coordinate_system_test.go | 14 +++ .../common/enum_safety_switch_state_test.go | 14 +++ .../common/enum_serial_control_dev_test.go | 14 +++ .../common/enum_serial_control_flag_test.go | 14 +++ .../common/enum_set_focus_type_test.go | 14 +++ pkg/dialects/common/enum_speed_type_test.go | 14 +++ .../common/enum_storage_status_test.go | 14 +++ pkg/dialects/common/enum_storage_type_test.go | 14 +++ .../common/enum_storage_usage_flag_test.go | 14 +++ pkg/dialects/common/enum_tune_format_test.go | 14 +++ .../common/enum_uavcan_node_health_test.go | 14 +++ .../common/enum_uavcan_node_mode_test.go | 14 +++ .../common/enum_utm_data_avail_flags_test.go | 14 +++ .../common/enum_utm_flight_state_test.go | 14 +++ .../common/enum_video_stream_encoding_test.go | 14 +++ .../enum_video_stream_status_flags_test.go | 14 +++ .../common/enum_video_stream_type_test.go | 14 +++ .../enum_vtol_transition_heading_test.go | 14 +++ .../common/enum_wifi_config_ap_mode_test.go | 14 +++ .../enum_wifi_config_ap_response_test.go | 14 +++ .../common/enum_winch_actions_test.go | 14 +++ pkg/dialects/csairlink/dialect_test.go | 13 +++ .../enum_airlink_auth_response_type_test.go | 14 +++ ...airlink_eye_gs_hole_push_resp_type_test.go | 14 +++ .../enum_airlink_eye_hole_push_type_test.go | 14 +++ .../enum_airlink_eye_ip_version_test.go | 14 +++ .../enum_airlink_eye_turn_init_type_test.go | 14 +++ pkg/dialects/cubepilot/dialect_test.go | 13 +++ pkg/dialects/development/dialect_test.go | 13 +++ .../enum_airspeed_sensor_flags_test.go | 14 +++ .../enum_gps_authentication_state_test.go | 14 +++ .../enum_gps_jamming_state_test.go | 14 +++ .../development/enum_gps_raim_state_test.go | 14 +++ .../enum_gps_spoofing_state_test.go | 14 +++ .../enum_gps_system_error_flags_test.go | 14 +++ .../enum_mav_battery_status_flags_test.go | 14 +++ pkg/dialects/development/enum_mav_cmd_test.go | 14 +++ .../development/enum_mav_fuel_type_test.go | 14 +++ .../enum_mav_mode_property_test.go | 14 +++ .../enum_mav_standard_mode_test.go | 14 +++ .../enum_param_transaction_action_test.go | 14 +++ .../enum_param_transaction_transport_test.go | 14 +++ .../enum_radio_rc_channels_flags_test.go | 14 +++ ...t_absolute_sensor_capability_flags_test.go | 14 +++ .../development/enum_target_obs_frame_test.go | 14 +++ .../enum_wifi_network_security_test.go | 14 +++ pkg/dialects/icarous/dialect_test.go | 13 +++ .../icarous/enum_icarous_fms_state_test.go | 14 +++ .../enum_icarous_track_band_types_test.go | 14 +++ pkg/dialects/matrixpilot/dialect_test.go | 13 +++ pkg/dialects/matrixpilot/enum_mav_cmd_test.go | 14 +++ .../enum_mav_preflight_storage_action_test.go | 14 +++ pkg/dialects/minimal/dialect_test.go | 13 +++ .../minimal/enum_mav_autopilot_test.go | 14 +++ .../minimal/enum_mav_component_test.go | 14 +++ ...enum_mav_mode_flag_decode_position_test.go | 14 +++ .../minimal/enum_mav_mode_flag_test.go | 14 +++ pkg/dialects/minimal/enum_mav_state_test.go | 14 +++ pkg/dialects/minimal/enum_mav_type_test.go | 14 +++ pkg/dialects/package_test.go | 93 ------------------- pkg/dialects/paparazzi/dialect_test.go | 13 +++ pkg/dialects/pythonarraytest/dialect_test.go | 13 +++ pkg/dialects/standard/dialect_test.go | 13 +++ pkg/dialects/storm32/dialect_test.go | 13 +++ pkg/dialects/storm32/enum_mav_cmd_test.go | 14 +++ .../storm32/enum_mav_qshot_mode_test.go | 14 +++ ...um_mav_storm32_camera_prearm_flags_test.go | 14 +++ ...v_storm32_gimbal_manager_cap_flags_test.go | 14 +++ ..._mav_storm32_gimbal_manager_client_test.go | 14 +++ ...m_mav_storm32_gimbal_manager_flags_test.go | 14 +++ ...mav_storm32_gimbal_manager_profile_test.go | 14 +++ ...um_mav_storm32_gimbal_prearm_flags_test.go | 14 +++ ...um_mav_storm32_tunnel_payload_type_test.go | 14 +++ pkg/dialects/test/dialect_test.go | 13 +++ pkg/dialects/ualberta/dialect_test.go | 13 +++ .../enum_ualberta_autopilot_mode_test.go | 14 +++ .../ualberta/enum_ualberta_nav_mode_test.go | 14 +++ .../ualberta/enum_ualberta_pilot_mode_test.go | 14 +++ pkg/dialects/uavionix/dialect_test.go | 13 +++ ...num_uavionix_adsb_emergency_status_test.go | 14 +++ ...avionix_adsb_out_cfg_aircraft_size_test.go | 14 +++ ...vionix_adsb_out_cfg_gps_offset_lat_test.go | 14 +++ ...vionix_adsb_out_cfg_gps_offset_lon_test.go | 14 +++ ..._uavionix_adsb_out_dynamic_gps_fix_test.go | 14 +++ ...um_uavionix_adsb_out_dynamic_state_test.go | 14 +++ .../enum_uavionix_adsb_out_rf_select_test.go | 14 +++ .../enum_uavionix_adsb_rf_health_test.go | 14 +++ 262 files changed, 3636 insertions(+), 93 deletions(-) create mode 100644 pkg/dialects/all/enum_mav_cmd_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_accelcal_vehicle_pos_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_camera_feedback_flags_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_camera_status_types_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_copter_mode_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_deepstall_stage_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_device_op_bustype_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_ekf_status_flags_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gimbal_axis_calibration_required_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gimbal_axis_calibration_status_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gimbal_axis_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_burst_rate_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_capture_mode_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_charging_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_command_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_field_of_view_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_frame_rate_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_heartbeat_flags_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_heartbeat_status_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_model_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_photo_resolution_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_protune_colour_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_protune_exposure_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_protune_gain_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_protune_sharpness_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_protune_white_balance_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_request_status_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_resolution_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_gopro_video_settings_flags_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_heading_type_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_led_control_pattern_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_limit_module_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_limits_state_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_mav_cmd_do_aux_function_switch_level_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_mav_cmd_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_mav_mode_gimbal_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_mav_remote_log_data_block_commands_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_mav_remote_log_data_block_statuses_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_osd_param_config_error_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_osd_param_config_type_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_pid_tuning_axis_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_plane_mode_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_rally_flags_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_rover_mode_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_scripting_cmd_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_sub_mode_test.go create mode 100644 pkg/dialects/ardupilotmega/enum_tracker_mode_test.go create mode 100644 pkg/dialects/asluav/enum_gsm_link_type_test.go create mode 100644 pkg/dialects/asluav/enum_gsm_modem_type_test.go create mode 100644 pkg/dialects/asluav/enum_mav_cmd_test.go create mode 100644 pkg/dialects/avssuas/enum_avss_horsefly_operation_mode_test.go create mode 100644 pkg/dialects/avssuas/enum_avss_m300_operation_mode_test.go create mode 100644 pkg/dialects/avssuas/enum_mav_avss_command_failure_reason_test.go create mode 100644 pkg/dialects/avssuas/enum_mav_cmd_test.go create mode 100644 pkg/dialects/common/enum_actuator_configuration_test.go create mode 100644 pkg/dialects/common/enum_actuator_output_function_test.go create mode 100644 pkg/dialects/common/enum_adsb_altitude_type_test.go create mode 100644 pkg/dialects/common/enum_adsb_emitter_type_test.go create mode 100644 pkg/dialects/common/enum_adsb_flags_test.go create mode 100644 pkg/dialects/common/enum_ais_flags_test.go create mode 100644 pkg/dialects/common/enum_ais_nav_status_test.go create mode 100644 pkg/dialects/common/enum_ais_type_test.go create mode 100644 pkg/dialects/common/enum_attitude_target_typemask_test.go create mode 100644 pkg/dialects/common/enum_autotune_axis_test.go create mode 100644 pkg/dialects/common/enum_camera_cap_flags_test.go create mode 100644 pkg/dialects/common/enum_camera_mode_test.go create mode 100644 pkg/dialects/common/enum_camera_source_test.go create mode 100644 pkg/dialects/common/enum_camera_tracking_mode_test.go create mode 100644 pkg/dialects/common/enum_camera_tracking_status_flags_test.go create mode 100644 pkg/dialects/common/enum_camera_tracking_target_data_test.go create mode 100644 pkg/dialects/common/enum_camera_zoom_type_test.go create mode 100644 pkg/dialects/common/enum_can_filter_op_test.go create mode 100644 pkg/dialects/common/enum_cellular_config_response_test.go create mode 100644 pkg/dialects/common/enum_cellular_network_failed_reason_test.go create mode 100644 pkg/dialects/common/enum_cellular_network_radio_type_test.go create mode 100644 pkg/dialects/common/enum_cellular_status_flag_test.go create mode 100644 pkg/dialects/common/enum_comp_metadata_type_test.go create mode 100644 pkg/dialects/common/enum_esc_connection_type_test.go create mode 100644 pkg/dialects/common/enum_esc_failure_flags_test.go create mode 100644 pkg/dialects/common/enum_estimator_status_flags_test.go create mode 100644 pkg/dialects/common/enum_failure_type_test.go create mode 100644 pkg/dialects/common/enum_failure_unit_test.go create mode 100644 pkg/dialects/common/enum_fence_action_test.go create mode 100644 pkg/dialects/common/enum_fence_breach_test.go create mode 100644 pkg/dialects/common/enum_fence_mitigate_test.go create mode 100644 pkg/dialects/common/enum_fence_type_test.go create mode 100644 pkg/dialects/common/enum_firmware_version_type_test.go create mode 100644 pkg/dialects/common/enum_gimbal_device_cap_flags_test.go create mode 100644 pkg/dialects/common/enum_gimbal_device_error_flags_test.go create mode 100644 pkg/dialects/common/enum_gimbal_device_flags_test.go create mode 100644 pkg/dialects/common/enum_gimbal_manager_cap_flags_test.go create mode 100644 pkg/dialects/common/enum_gimbal_manager_flags_test.go create mode 100644 pkg/dialects/common/enum_gps_fix_type_test.go create mode 100644 pkg/dialects/common/enum_gps_input_ignore_flags_test.go create mode 100644 pkg/dialects/common/enum_gripper_actions_test.go create mode 100644 pkg/dialects/common/enum_highres_imu_updated_flags_test.go create mode 100644 pkg/dialects/common/enum_hil_sensor_updated_flags_test.go create mode 100644 pkg/dialects/common/enum_hl_failure_flag_test.go create mode 100644 pkg/dialects/common/enum_illuminator_error_flags_test.go create mode 100644 pkg/dialects/common/enum_illuminator_mode_test.go create mode 100644 pkg/dialects/common/enum_landing_target_type_test.go create mode 100644 pkg/dialects/common/enum_mag_cal_status_test.go create mode 100644 pkg/dialects/common/enum_mav_arm_auth_denied_reason_test.go create mode 100644 pkg/dialects/common/enum_mav_battery_charge_state_test.go create mode 100644 pkg/dialects/common/enum_mav_battery_fault_test.go create mode 100644 pkg/dialects/common/enum_mav_battery_function_test.go create mode 100644 pkg/dialects/common/enum_mav_battery_mode_test.go create mode 100644 pkg/dialects/common/enum_mav_battery_type_test.go create mode 100644 pkg/dialects/common/enum_mav_cmd_test.go create mode 100644 pkg/dialects/common/enum_mav_collision_action_test.go create mode 100644 pkg/dialects/common/enum_mav_collision_src_test.go create mode 100644 pkg/dialects/common/enum_mav_collision_threat_level_test.go create mode 100644 pkg/dialects/common/enum_mav_data_stream_test.go create mode 100644 pkg/dialects/common/enum_mav_distance_sensor_test.go create mode 100644 pkg/dialects/common/enum_mav_do_reposition_flags_test.go create mode 100644 pkg/dialects/common/enum_mav_estimator_type_test.go create mode 100644 pkg/dialects/common/enum_mav_event_current_sequence_flags_test.go create mode 100644 pkg/dialects/common/enum_mav_event_error_reason_test.go create mode 100644 pkg/dialects/common/enum_mav_frame_test.go create mode 100644 pkg/dialects/common/enum_mav_ftp_err_test.go create mode 100644 pkg/dialects/common/enum_mav_ftp_opcode_test.go create mode 100644 pkg/dialects/common/enum_mav_generator_status_flag_test.go create mode 100644 pkg/dialects/common/enum_mav_goto_test.go create mode 100644 pkg/dialects/common/enum_mav_landed_state_test.go create mode 100644 pkg/dialects/common/enum_mav_mission_result_test.go create mode 100644 pkg/dialects/common/enum_mav_mission_type_test.go create mode 100644 pkg/dialects/common/enum_mav_mode_test.go create mode 100644 pkg/dialects/common/enum_mav_mount_mode_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_arm_status_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_auth_type_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_category_eu_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_class_eu_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_classification_type_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_desc_type_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_height_ref_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_hor_acc_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_id_type_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_operator_id_type_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_operator_location_type_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_speed_acc_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_status_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_time_acc_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_ua_type_test.go create mode 100644 pkg/dialects/common/enum_mav_odid_ver_acc_test.go create mode 100644 pkg/dialects/common/enum_mav_param_ext_type_test.go create mode 100644 pkg/dialects/common/enum_mav_param_type_test.go create mode 100644 pkg/dialects/common/enum_mav_power_status_test.go create mode 100644 pkg/dialects/common/enum_mav_protocol_capability_test.go create mode 100644 pkg/dialects/common/enum_mav_result_test.go create mode 100644 pkg/dialects/common/enum_mav_roi_test.go create mode 100644 pkg/dialects/common/enum_mav_sensor_orientation_test.go create mode 100644 pkg/dialects/common/enum_mav_severity_test.go create mode 100644 pkg/dialects/common/enum_mav_sys_status_sensor_extended_test.go create mode 100644 pkg/dialects/common/enum_mav_sys_status_sensor_test.go create mode 100644 pkg/dialects/common/enum_mav_tunnel_payload_type_test.go create mode 100644 pkg/dialects/common/enum_mav_vtol_state_test.go create mode 100644 pkg/dialects/common/enum_mav_winch_status_flag_test.go create mode 100644 pkg/dialects/common/enum_mavlink_data_stream_type_test.go create mode 100644 pkg/dialects/common/enum_mission_state_test.go create mode 100644 pkg/dialects/common/enum_motor_test_order_test.go create mode 100644 pkg/dialects/common/enum_motor_test_throttle_type_test.go create mode 100644 pkg/dialects/common/enum_nav_vtol_land_options_test.go create mode 100644 pkg/dialects/common/enum_orbit_yaw_behaviour_test.go create mode 100644 pkg/dialects/common/enum_parachute_action_test.go create mode 100644 pkg/dialects/common/enum_param_ack_test.go create mode 100644 pkg/dialects/common/enum_position_target_typemask_test.go create mode 100644 pkg/dialects/common/enum_precision_land_mode_test.go create mode 100644 pkg/dialects/common/enum_preflight_storage_mission_action_test.go create mode 100644 pkg/dialects/common/enum_preflight_storage_parameter_action_test.go create mode 100644 pkg/dialects/common/enum_rc_type_test.go create mode 100644 pkg/dialects/common/enum_rtk_baseline_coordinate_system_test.go create mode 100644 pkg/dialects/common/enum_safety_switch_state_test.go create mode 100644 pkg/dialects/common/enum_serial_control_dev_test.go create mode 100644 pkg/dialects/common/enum_serial_control_flag_test.go create mode 100644 pkg/dialects/common/enum_set_focus_type_test.go create mode 100644 pkg/dialects/common/enum_speed_type_test.go create mode 100644 pkg/dialects/common/enum_storage_status_test.go create mode 100644 pkg/dialects/common/enum_storage_type_test.go create mode 100644 pkg/dialects/common/enum_storage_usage_flag_test.go create mode 100644 pkg/dialects/common/enum_tune_format_test.go create mode 100644 pkg/dialects/common/enum_uavcan_node_health_test.go create mode 100644 pkg/dialects/common/enum_uavcan_node_mode_test.go create mode 100644 pkg/dialects/common/enum_utm_data_avail_flags_test.go create mode 100644 pkg/dialects/common/enum_utm_flight_state_test.go create mode 100644 pkg/dialects/common/enum_video_stream_encoding_test.go create mode 100644 pkg/dialects/common/enum_video_stream_status_flags_test.go create mode 100644 pkg/dialects/common/enum_video_stream_type_test.go create mode 100644 pkg/dialects/common/enum_vtol_transition_heading_test.go create mode 100644 pkg/dialects/common/enum_wifi_config_ap_mode_test.go create mode 100644 pkg/dialects/common/enum_wifi_config_ap_response_test.go create mode 100644 pkg/dialects/common/enum_winch_actions_test.go create mode 100644 pkg/dialects/csairlink/enum_airlink_auth_response_type_test.go create mode 100644 pkg/dialects/csairlink/enum_airlink_eye_gs_hole_push_resp_type_test.go create mode 100644 pkg/dialects/csairlink/enum_airlink_eye_hole_push_type_test.go create mode 100644 pkg/dialects/csairlink/enum_airlink_eye_ip_version_test.go create mode 100644 pkg/dialects/csairlink/enum_airlink_eye_turn_init_type_test.go create mode 100644 pkg/dialects/development/enum_airspeed_sensor_flags_test.go create mode 100644 pkg/dialects/development/enum_gps_authentication_state_test.go create mode 100644 pkg/dialects/development/enum_gps_jamming_state_test.go create mode 100644 pkg/dialects/development/enum_gps_raim_state_test.go create mode 100644 pkg/dialects/development/enum_gps_spoofing_state_test.go create mode 100644 pkg/dialects/development/enum_gps_system_error_flags_test.go create mode 100644 pkg/dialects/development/enum_mav_battery_status_flags_test.go create mode 100644 pkg/dialects/development/enum_mav_cmd_test.go create mode 100644 pkg/dialects/development/enum_mav_fuel_type_test.go create mode 100644 pkg/dialects/development/enum_mav_mode_property_test.go create mode 100644 pkg/dialects/development/enum_mav_standard_mode_test.go create mode 100644 pkg/dialects/development/enum_param_transaction_action_test.go create mode 100644 pkg/dialects/development/enum_param_transaction_transport_test.go create mode 100644 pkg/dialects/development/enum_radio_rc_channels_flags_test.go create mode 100644 pkg/dialects/development/enum_target_absolute_sensor_capability_flags_test.go create mode 100644 pkg/dialects/development/enum_target_obs_frame_test.go create mode 100644 pkg/dialects/development/enum_wifi_network_security_test.go create mode 100644 pkg/dialects/icarous/enum_icarous_fms_state_test.go create mode 100644 pkg/dialects/icarous/enum_icarous_track_band_types_test.go create mode 100644 pkg/dialects/matrixpilot/enum_mav_cmd_test.go create mode 100644 pkg/dialects/matrixpilot/enum_mav_preflight_storage_action_test.go create mode 100644 pkg/dialects/minimal/enum_mav_autopilot_test.go create mode 100644 pkg/dialects/minimal/enum_mav_component_test.go create mode 100644 pkg/dialects/minimal/enum_mav_mode_flag_decode_position_test.go create mode 100644 pkg/dialects/minimal/enum_mav_mode_flag_test.go create mode 100644 pkg/dialects/minimal/enum_mav_state_test.go create mode 100644 pkg/dialects/minimal/enum_mav_type_test.go create mode 100644 pkg/dialects/storm32/enum_mav_cmd_test.go create mode 100644 pkg/dialects/storm32/enum_mav_qshot_mode_test.go create mode 100644 pkg/dialects/storm32/enum_mav_storm32_camera_prearm_flags_test.go create mode 100644 pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_cap_flags_test.go create mode 100644 pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_client_test.go create mode 100644 pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_flags_test.go create mode 100644 pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_profile_test.go create mode 100644 pkg/dialects/storm32/enum_mav_storm32_gimbal_prearm_flags_test.go create mode 100644 pkg/dialects/storm32/enum_mav_storm32_tunnel_payload_type_test.go create mode 100644 pkg/dialects/ualberta/enum_ualberta_autopilot_mode_test.go create mode 100644 pkg/dialects/ualberta/enum_ualberta_nav_mode_test.go create mode 100644 pkg/dialects/ualberta/enum_ualberta_pilot_mode_test.go create mode 100644 pkg/dialects/uavionix/enum_uavionix_adsb_emergency_status_test.go create mode 100644 pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_aircraft_size_test.go create mode 100644 pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_gps_offset_lat_test.go create mode 100644 pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_gps_offset_lon_test.go create mode 100644 pkg/dialects/uavionix/enum_uavionix_adsb_out_dynamic_gps_fix_test.go create mode 100644 pkg/dialects/uavionix/enum_uavionix_adsb_out_dynamic_state_test.go create mode 100644 pkg/dialects/uavionix/enum_uavionix_adsb_out_rf_select_test.go create mode 100644 pkg/dialects/uavionix/enum_uavionix_adsb_rf_health_test.go diff --git a/pkg/dialects/all/dialect_test.go b/pkg/dialects/all/dialect_test.go index 3389fae99..b4ce73a73 100644 --- a/pkg/dialects/all/dialect_test.go +++ b/pkg/dialects/all/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package all + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/all/enum_mav_cmd_test.go b/pkg/dialects/all/enum_mav_cmd_test.go new file mode 100644 index 000000000..927a195c8 --- /dev/null +++ b/pkg/dialects/all/enum_mav_cmd_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package all + +import ( + "testing" +) + +func TestEnum_MAV_CMD(t *testing.T) { + var e MAV_CMD + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/dialect_test.go b/pkg/dialects/ardupilotmega/dialect_test.go index c16b115a9..f0ebad843 100644 --- a/pkg/dialects/ardupilotmega/dialect_test.go +++ b/pkg/dialects/ardupilotmega/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package ardupilotmega + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/ardupilotmega/enum_accelcal_vehicle_pos_test.go b/pkg/dialects/ardupilotmega/enum_accelcal_vehicle_pos_test.go new file mode 100644 index 000000000..a14411644 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_accelcal_vehicle_pos_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_ACCELCAL_VEHICLE_POS(t *testing.T) { + var e ACCELCAL_VEHICLE_POS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_camera_feedback_flags_test.go b/pkg/dialects/ardupilotmega/enum_camera_feedback_flags_test.go new file mode 100644 index 000000000..63a0fd308 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_camera_feedback_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_CAMERA_FEEDBACK_FLAGS(t *testing.T) { + var e CAMERA_FEEDBACK_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_camera_status_types_test.go b/pkg/dialects/ardupilotmega/enum_camera_status_types_test.go new file mode 100644 index 000000000..72e92b20e --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_camera_status_types_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_CAMERA_STATUS_TYPES(t *testing.T) { + var e CAMERA_STATUS_TYPES + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_copter_mode_test.go b/pkg/dialects/ardupilotmega/enum_copter_mode_test.go new file mode 100644 index 000000000..2bd1f5a1e --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_copter_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_COPTER_MODE(t *testing.T) { + var e COPTER_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_deepstall_stage_test.go b/pkg/dialects/ardupilotmega/enum_deepstall_stage_test.go new file mode 100644 index 000000000..63d4499eb --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_deepstall_stage_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_DEEPSTALL_STAGE(t *testing.T) { + var e DEEPSTALL_STAGE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_device_op_bustype_test.go b/pkg/dialects/ardupilotmega/enum_device_op_bustype_test.go new file mode 100644 index 000000000..b8393ae0b --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_device_op_bustype_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_DEVICE_OP_BUSTYPE(t *testing.T) { + var e DEVICE_OP_BUSTYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_ekf_status_flags_test.go b/pkg/dialects/ardupilotmega/enum_ekf_status_flags_test.go new file mode 100644 index 000000000..3b9cb0347 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_ekf_status_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_EKF_STATUS_FLAGS(t *testing.T) { + var e EKF_STATUS_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gimbal_axis_calibration_required_test.go b/pkg/dialects/ardupilotmega/enum_gimbal_axis_calibration_required_test.go new file mode 100644 index 000000000..0410e415a --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gimbal_axis_calibration_required_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GIMBAL_AXIS_CALIBRATION_REQUIRED(t *testing.T) { + var e GIMBAL_AXIS_CALIBRATION_REQUIRED + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gimbal_axis_calibration_status_test.go b/pkg/dialects/ardupilotmega/enum_gimbal_axis_calibration_status_test.go new file mode 100644 index 000000000..374d727fe --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gimbal_axis_calibration_status_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GIMBAL_AXIS_CALIBRATION_STATUS(t *testing.T) { + var e GIMBAL_AXIS_CALIBRATION_STATUS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gimbal_axis_test.go b/pkg/dialects/ardupilotmega/enum_gimbal_axis_test.go new file mode 100644 index 000000000..25ad1be3d --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gimbal_axis_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GIMBAL_AXIS(t *testing.T) { + var e GIMBAL_AXIS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_burst_rate_test.go b/pkg/dialects/ardupilotmega/enum_gopro_burst_rate_test.go new file mode 100644 index 000000000..fced285d1 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_burst_rate_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_BURST_RATE(t *testing.T) { + var e GOPRO_BURST_RATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_capture_mode_test.go b/pkg/dialects/ardupilotmega/enum_gopro_capture_mode_test.go new file mode 100644 index 000000000..0bf0ee169 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_capture_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_CAPTURE_MODE(t *testing.T) { + var e GOPRO_CAPTURE_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_charging_test.go b/pkg/dialects/ardupilotmega/enum_gopro_charging_test.go new file mode 100644 index 000000000..178cdc788 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_charging_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_CHARGING(t *testing.T) { + var e GOPRO_CHARGING + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_command_test.go b/pkg/dialects/ardupilotmega/enum_gopro_command_test.go new file mode 100644 index 000000000..7c874525e --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_command_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_COMMAND(t *testing.T) { + var e GOPRO_COMMAND + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_field_of_view_test.go b/pkg/dialects/ardupilotmega/enum_gopro_field_of_view_test.go new file mode 100644 index 000000000..76c642827 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_field_of_view_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_FIELD_OF_VIEW(t *testing.T) { + var e GOPRO_FIELD_OF_VIEW + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_frame_rate_test.go b/pkg/dialects/ardupilotmega/enum_gopro_frame_rate_test.go new file mode 100644 index 000000000..3c41a9f0c --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_frame_rate_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_FRAME_RATE(t *testing.T) { + var e GOPRO_FRAME_RATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_heartbeat_flags_test.go b/pkg/dialects/ardupilotmega/enum_gopro_heartbeat_flags_test.go new file mode 100644 index 000000000..eb5aaa1ee --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_heartbeat_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_HEARTBEAT_FLAGS(t *testing.T) { + var e GOPRO_HEARTBEAT_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_heartbeat_status_test.go b/pkg/dialects/ardupilotmega/enum_gopro_heartbeat_status_test.go new file mode 100644 index 000000000..70a4e1dba --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_heartbeat_status_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_HEARTBEAT_STATUS(t *testing.T) { + var e GOPRO_HEARTBEAT_STATUS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_model_test.go b/pkg/dialects/ardupilotmega/enum_gopro_model_test.go new file mode 100644 index 000000000..f358c28ec --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_model_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_MODEL(t *testing.T) { + var e GOPRO_MODEL + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_photo_resolution_test.go b/pkg/dialects/ardupilotmega/enum_gopro_photo_resolution_test.go new file mode 100644 index 000000000..f94032cf6 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_photo_resolution_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_PHOTO_RESOLUTION(t *testing.T) { + var e GOPRO_PHOTO_RESOLUTION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_protune_colour_test.go b/pkg/dialects/ardupilotmega/enum_gopro_protune_colour_test.go new file mode 100644 index 000000000..2caa2f543 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_protune_colour_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_PROTUNE_COLOUR(t *testing.T) { + var e GOPRO_PROTUNE_COLOUR + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_protune_exposure_test.go b/pkg/dialects/ardupilotmega/enum_gopro_protune_exposure_test.go new file mode 100644 index 000000000..3b6cd6b37 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_protune_exposure_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_PROTUNE_EXPOSURE(t *testing.T) { + var e GOPRO_PROTUNE_EXPOSURE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_protune_gain_test.go b/pkg/dialects/ardupilotmega/enum_gopro_protune_gain_test.go new file mode 100644 index 000000000..c091ec6b7 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_protune_gain_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_PROTUNE_GAIN(t *testing.T) { + var e GOPRO_PROTUNE_GAIN + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_protune_sharpness_test.go b/pkg/dialects/ardupilotmega/enum_gopro_protune_sharpness_test.go new file mode 100644 index 000000000..dca06c4c9 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_protune_sharpness_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_PROTUNE_SHARPNESS(t *testing.T) { + var e GOPRO_PROTUNE_SHARPNESS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_protune_white_balance_test.go b/pkg/dialects/ardupilotmega/enum_gopro_protune_white_balance_test.go new file mode 100644 index 000000000..d4b7e52b2 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_protune_white_balance_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_PROTUNE_WHITE_BALANCE(t *testing.T) { + var e GOPRO_PROTUNE_WHITE_BALANCE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_request_status_test.go b/pkg/dialects/ardupilotmega/enum_gopro_request_status_test.go new file mode 100644 index 000000000..0975d860d --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_request_status_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_REQUEST_STATUS(t *testing.T) { + var e GOPRO_REQUEST_STATUS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_resolution_test.go b/pkg/dialects/ardupilotmega/enum_gopro_resolution_test.go new file mode 100644 index 000000000..708e4f7f7 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_resolution_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_RESOLUTION(t *testing.T) { + var e GOPRO_RESOLUTION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_gopro_video_settings_flags_test.go b/pkg/dialects/ardupilotmega/enum_gopro_video_settings_flags_test.go new file mode 100644 index 000000000..08eb04579 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_gopro_video_settings_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_GOPRO_VIDEO_SETTINGS_FLAGS(t *testing.T) { + var e GOPRO_VIDEO_SETTINGS_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_heading_type_test.go b/pkg/dialects/ardupilotmega/enum_heading_type_test.go new file mode 100644 index 000000000..65f6637fe --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_heading_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_HEADING_TYPE(t *testing.T) { + var e HEADING_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_led_control_pattern_test.go b/pkg/dialects/ardupilotmega/enum_led_control_pattern_test.go new file mode 100644 index 000000000..a09eb663a --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_led_control_pattern_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_LED_CONTROL_PATTERN(t *testing.T) { + var e LED_CONTROL_PATTERN + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_limit_module_test.go b/pkg/dialects/ardupilotmega/enum_limit_module_test.go new file mode 100644 index 000000000..3752319d0 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_limit_module_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_LIMIT_MODULE(t *testing.T) { + var e LIMIT_MODULE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_limits_state_test.go b/pkg/dialects/ardupilotmega/enum_limits_state_test.go new file mode 100644 index 000000000..7a9de3d89 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_limits_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_LIMITS_STATE(t *testing.T) { + var e LIMITS_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_mav_cmd_do_aux_function_switch_level_test.go b/pkg/dialects/ardupilotmega/enum_mav_cmd_do_aux_function_switch_level_test.go new file mode 100644 index 000000000..5bcc46cee --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_mav_cmd_do_aux_function_switch_level_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL(t *testing.T) { + var e MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_mav_cmd_test.go b/pkg/dialects/ardupilotmega/enum_mav_cmd_test.go new file mode 100644 index 000000000..05e794f69 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_mav_cmd_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_MAV_CMD(t *testing.T) { + var e MAV_CMD + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_mav_mode_gimbal_test.go b/pkg/dialects/ardupilotmega/enum_mav_mode_gimbal_test.go new file mode 100644 index 000000000..ed730835e --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_mav_mode_gimbal_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_MAV_MODE_GIMBAL(t *testing.T) { + var e MAV_MODE_GIMBAL + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_mav_remote_log_data_block_commands_test.go b/pkg/dialects/ardupilotmega/enum_mav_remote_log_data_block_commands_test.go new file mode 100644 index 000000000..ffa996d17 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_mav_remote_log_data_block_commands_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS(t *testing.T) { + var e MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_mav_remote_log_data_block_statuses_test.go b/pkg/dialects/ardupilotmega/enum_mav_remote_log_data_block_statuses_test.go new file mode 100644 index 000000000..76e01b69b --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_mav_remote_log_data_block_statuses_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_MAV_REMOTE_LOG_DATA_BLOCK_STATUSES(t *testing.T) { + var e MAV_REMOTE_LOG_DATA_BLOCK_STATUSES + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_osd_param_config_error_test.go b/pkg/dialects/ardupilotmega/enum_osd_param_config_error_test.go new file mode 100644 index 000000000..158ede116 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_osd_param_config_error_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_OSD_PARAM_CONFIG_ERROR(t *testing.T) { + var e OSD_PARAM_CONFIG_ERROR + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_osd_param_config_type_test.go b/pkg/dialects/ardupilotmega/enum_osd_param_config_type_test.go new file mode 100644 index 000000000..eaaca7d5e --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_osd_param_config_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_OSD_PARAM_CONFIG_TYPE(t *testing.T) { + var e OSD_PARAM_CONFIG_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_pid_tuning_axis_test.go b/pkg/dialects/ardupilotmega/enum_pid_tuning_axis_test.go new file mode 100644 index 000000000..534186c87 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_pid_tuning_axis_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_PID_TUNING_AXIS(t *testing.T) { + var e PID_TUNING_AXIS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_plane_mode_test.go b/pkg/dialects/ardupilotmega/enum_plane_mode_test.go new file mode 100644 index 000000000..db1876c19 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_plane_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_PLANE_MODE(t *testing.T) { + var e PLANE_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_rally_flags_test.go b/pkg/dialects/ardupilotmega/enum_rally_flags_test.go new file mode 100644 index 000000000..5d589f891 --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_rally_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_RALLY_FLAGS(t *testing.T) { + var e RALLY_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_rover_mode_test.go b/pkg/dialects/ardupilotmega/enum_rover_mode_test.go new file mode 100644 index 000000000..39afa63cb --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_rover_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_ROVER_MODE(t *testing.T) { + var e ROVER_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_scripting_cmd_test.go b/pkg/dialects/ardupilotmega/enum_scripting_cmd_test.go new file mode 100644 index 000000000..65e920ece --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_scripting_cmd_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_SCRIPTING_CMD(t *testing.T) { + var e SCRIPTING_CMD + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_sub_mode_test.go b/pkg/dialects/ardupilotmega/enum_sub_mode_test.go new file mode 100644 index 000000000..5685a5a8f --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_sub_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_SUB_MODE(t *testing.T) { + var e SUB_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ardupilotmega/enum_tracker_mode_test.go b/pkg/dialects/ardupilotmega/enum_tracker_mode_test.go new file mode 100644 index 000000000..7e3fe65ef --- /dev/null +++ b/pkg/dialects/ardupilotmega/enum_tracker_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ardupilotmega + +import ( + "testing" +) + +func TestEnum_TRACKER_MODE(t *testing.T) { + var e TRACKER_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/asluav/dialect_test.go b/pkg/dialects/asluav/dialect_test.go index f10b97c65..d6779cdd2 100644 --- a/pkg/dialects/asluav/dialect_test.go +++ b/pkg/dialects/asluav/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package asluav + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/asluav/enum_gsm_link_type_test.go b/pkg/dialects/asluav/enum_gsm_link_type_test.go new file mode 100644 index 000000000..7ddf074a6 --- /dev/null +++ b/pkg/dialects/asluav/enum_gsm_link_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package asluav + +import ( + "testing" +) + +func TestEnum_GSM_LINK_TYPE(t *testing.T) { + var e GSM_LINK_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/asluav/enum_gsm_modem_type_test.go b/pkg/dialects/asluav/enum_gsm_modem_type_test.go new file mode 100644 index 000000000..088b5ae5c --- /dev/null +++ b/pkg/dialects/asluav/enum_gsm_modem_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package asluav + +import ( + "testing" +) + +func TestEnum_GSM_MODEM_TYPE(t *testing.T) { + var e GSM_MODEM_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/asluav/enum_mav_cmd_test.go b/pkg/dialects/asluav/enum_mav_cmd_test.go new file mode 100644 index 000000000..9c826cf93 --- /dev/null +++ b/pkg/dialects/asluav/enum_mav_cmd_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package asluav + +import ( + "testing" +) + +func TestEnum_MAV_CMD(t *testing.T) { + var e MAV_CMD + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/avssuas/dialect_test.go b/pkg/dialects/avssuas/dialect_test.go index 5b9508026..33048c623 100644 --- a/pkg/dialects/avssuas/dialect_test.go +++ b/pkg/dialects/avssuas/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package avssuas + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/avssuas/enum_avss_horsefly_operation_mode_test.go b/pkg/dialects/avssuas/enum_avss_horsefly_operation_mode_test.go new file mode 100644 index 000000000..14dfac181 --- /dev/null +++ b/pkg/dialects/avssuas/enum_avss_horsefly_operation_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package avssuas + +import ( + "testing" +) + +func TestEnum_AVSS_HORSEFLY_OPERATION_MODE(t *testing.T) { + var e AVSS_HORSEFLY_OPERATION_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/avssuas/enum_avss_m300_operation_mode_test.go b/pkg/dialects/avssuas/enum_avss_m300_operation_mode_test.go new file mode 100644 index 000000000..e0fcec140 --- /dev/null +++ b/pkg/dialects/avssuas/enum_avss_m300_operation_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package avssuas + +import ( + "testing" +) + +func TestEnum_AVSS_M300_OPERATION_MODE(t *testing.T) { + var e AVSS_M300_OPERATION_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/avssuas/enum_mav_avss_command_failure_reason_test.go b/pkg/dialects/avssuas/enum_mav_avss_command_failure_reason_test.go new file mode 100644 index 000000000..26395b02f --- /dev/null +++ b/pkg/dialects/avssuas/enum_mav_avss_command_failure_reason_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package avssuas + +import ( + "testing" +) + +func TestEnum_MAV_AVSS_COMMAND_FAILURE_REASON(t *testing.T) { + var e MAV_AVSS_COMMAND_FAILURE_REASON + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/avssuas/enum_mav_cmd_test.go b/pkg/dialects/avssuas/enum_mav_cmd_test.go new file mode 100644 index 000000000..7098040e4 --- /dev/null +++ b/pkg/dialects/avssuas/enum_mav_cmd_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package avssuas + +import ( + "testing" +) + +func TestEnum_MAV_CMD(t *testing.T) { + var e MAV_CMD + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/dialect_test.go b/pkg/dialects/common/dialect_test.go index f4c015b4a..a6e7d6ce2 100644 --- a/pkg/dialects/common/dialect_test.go +++ b/pkg/dialects/common/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package common + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/common/enum_actuator_configuration_test.go b/pkg/dialects/common/enum_actuator_configuration_test.go new file mode 100644 index 000000000..34335ba4f --- /dev/null +++ b/pkg/dialects/common/enum_actuator_configuration_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ACTUATOR_CONFIGURATION(t *testing.T) { + var e ACTUATOR_CONFIGURATION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_actuator_output_function_test.go b/pkg/dialects/common/enum_actuator_output_function_test.go new file mode 100644 index 000000000..38cb4f9a3 --- /dev/null +++ b/pkg/dialects/common/enum_actuator_output_function_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ACTUATOR_OUTPUT_FUNCTION(t *testing.T) { + var e ACTUATOR_OUTPUT_FUNCTION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_adsb_altitude_type_test.go b/pkg/dialects/common/enum_adsb_altitude_type_test.go new file mode 100644 index 000000000..0a711e98b --- /dev/null +++ b/pkg/dialects/common/enum_adsb_altitude_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ADSB_ALTITUDE_TYPE(t *testing.T) { + var e ADSB_ALTITUDE_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_adsb_emitter_type_test.go b/pkg/dialects/common/enum_adsb_emitter_type_test.go new file mode 100644 index 000000000..affd3ec0c --- /dev/null +++ b/pkg/dialects/common/enum_adsb_emitter_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ADSB_EMITTER_TYPE(t *testing.T) { + var e ADSB_EMITTER_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_adsb_flags_test.go b/pkg/dialects/common/enum_adsb_flags_test.go new file mode 100644 index 000000000..06806f818 --- /dev/null +++ b/pkg/dialects/common/enum_adsb_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ADSB_FLAGS(t *testing.T) { + var e ADSB_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_ais_flags_test.go b/pkg/dialects/common/enum_ais_flags_test.go new file mode 100644 index 000000000..b75262003 --- /dev/null +++ b/pkg/dialects/common/enum_ais_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_AIS_FLAGS(t *testing.T) { + var e AIS_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_ais_nav_status_test.go b/pkg/dialects/common/enum_ais_nav_status_test.go new file mode 100644 index 000000000..4d57202f2 --- /dev/null +++ b/pkg/dialects/common/enum_ais_nav_status_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_AIS_NAV_STATUS(t *testing.T) { + var e AIS_NAV_STATUS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_ais_type_test.go b/pkg/dialects/common/enum_ais_type_test.go new file mode 100644 index 000000000..122914794 --- /dev/null +++ b/pkg/dialects/common/enum_ais_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_AIS_TYPE(t *testing.T) { + var e AIS_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_attitude_target_typemask_test.go b/pkg/dialects/common/enum_attitude_target_typemask_test.go new file mode 100644 index 000000000..e9336a707 --- /dev/null +++ b/pkg/dialects/common/enum_attitude_target_typemask_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ATTITUDE_TARGET_TYPEMASK(t *testing.T) { + var e ATTITUDE_TARGET_TYPEMASK + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_autotune_axis_test.go b/pkg/dialects/common/enum_autotune_axis_test.go new file mode 100644 index 000000000..cff0c1fd4 --- /dev/null +++ b/pkg/dialects/common/enum_autotune_axis_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_AUTOTUNE_AXIS(t *testing.T) { + var e AUTOTUNE_AXIS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_camera_cap_flags_test.go b/pkg/dialects/common/enum_camera_cap_flags_test.go new file mode 100644 index 000000000..8102807a7 --- /dev/null +++ b/pkg/dialects/common/enum_camera_cap_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CAMERA_CAP_FLAGS(t *testing.T) { + var e CAMERA_CAP_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_camera_mode_test.go b/pkg/dialects/common/enum_camera_mode_test.go new file mode 100644 index 000000000..58d19b710 --- /dev/null +++ b/pkg/dialects/common/enum_camera_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CAMERA_MODE(t *testing.T) { + var e CAMERA_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_camera_source_test.go b/pkg/dialects/common/enum_camera_source_test.go new file mode 100644 index 000000000..2288bfc9f --- /dev/null +++ b/pkg/dialects/common/enum_camera_source_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CAMERA_SOURCE(t *testing.T) { + var e CAMERA_SOURCE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_camera_tracking_mode_test.go b/pkg/dialects/common/enum_camera_tracking_mode_test.go new file mode 100644 index 000000000..0bab2fc48 --- /dev/null +++ b/pkg/dialects/common/enum_camera_tracking_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CAMERA_TRACKING_MODE(t *testing.T) { + var e CAMERA_TRACKING_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_camera_tracking_status_flags_test.go b/pkg/dialects/common/enum_camera_tracking_status_flags_test.go new file mode 100644 index 000000000..027264e34 --- /dev/null +++ b/pkg/dialects/common/enum_camera_tracking_status_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CAMERA_TRACKING_STATUS_FLAGS(t *testing.T) { + var e CAMERA_TRACKING_STATUS_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_camera_tracking_target_data_test.go b/pkg/dialects/common/enum_camera_tracking_target_data_test.go new file mode 100644 index 000000000..8a0fda87f --- /dev/null +++ b/pkg/dialects/common/enum_camera_tracking_target_data_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CAMERA_TRACKING_TARGET_DATA(t *testing.T) { + var e CAMERA_TRACKING_TARGET_DATA + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_camera_zoom_type_test.go b/pkg/dialects/common/enum_camera_zoom_type_test.go new file mode 100644 index 000000000..5efd95aea --- /dev/null +++ b/pkg/dialects/common/enum_camera_zoom_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CAMERA_ZOOM_TYPE(t *testing.T) { + var e CAMERA_ZOOM_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_can_filter_op_test.go b/pkg/dialects/common/enum_can_filter_op_test.go new file mode 100644 index 000000000..d276db50c --- /dev/null +++ b/pkg/dialects/common/enum_can_filter_op_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CAN_FILTER_OP(t *testing.T) { + var e CAN_FILTER_OP + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_cellular_config_response_test.go b/pkg/dialects/common/enum_cellular_config_response_test.go new file mode 100644 index 000000000..8392fae62 --- /dev/null +++ b/pkg/dialects/common/enum_cellular_config_response_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CELLULAR_CONFIG_RESPONSE(t *testing.T) { + var e CELLULAR_CONFIG_RESPONSE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_cellular_network_failed_reason_test.go b/pkg/dialects/common/enum_cellular_network_failed_reason_test.go new file mode 100644 index 000000000..3147e6be3 --- /dev/null +++ b/pkg/dialects/common/enum_cellular_network_failed_reason_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CELLULAR_NETWORK_FAILED_REASON(t *testing.T) { + var e CELLULAR_NETWORK_FAILED_REASON + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_cellular_network_radio_type_test.go b/pkg/dialects/common/enum_cellular_network_radio_type_test.go new file mode 100644 index 000000000..43055c96e --- /dev/null +++ b/pkg/dialects/common/enum_cellular_network_radio_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CELLULAR_NETWORK_RADIO_TYPE(t *testing.T) { + var e CELLULAR_NETWORK_RADIO_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_cellular_status_flag_test.go b/pkg/dialects/common/enum_cellular_status_flag_test.go new file mode 100644 index 000000000..16cffaa71 --- /dev/null +++ b/pkg/dialects/common/enum_cellular_status_flag_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_CELLULAR_STATUS_FLAG(t *testing.T) { + var e CELLULAR_STATUS_FLAG + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_comp_metadata_type_test.go b/pkg/dialects/common/enum_comp_metadata_type_test.go new file mode 100644 index 000000000..4c23bcea5 --- /dev/null +++ b/pkg/dialects/common/enum_comp_metadata_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_COMP_METADATA_TYPE(t *testing.T) { + var e COMP_METADATA_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_esc_connection_type_test.go b/pkg/dialects/common/enum_esc_connection_type_test.go new file mode 100644 index 000000000..7c20e1f78 --- /dev/null +++ b/pkg/dialects/common/enum_esc_connection_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ESC_CONNECTION_TYPE(t *testing.T) { + var e ESC_CONNECTION_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_esc_failure_flags_test.go b/pkg/dialects/common/enum_esc_failure_flags_test.go new file mode 100644 index 000000000..62dd6f9fe --- /dev/null +++ b/pkg/dialects/common/enum_esc_failure_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ESC_FAILURE_FLAGS(t *testing.T) { + var e ESC_FAILURE_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_estimator_status_flags_test.go b/pkg/dialects/common/enum_estimator_status_flags_test.go new file mode 100644 index 000000000..6e7451ae9 --- /dev/null +++ b/pkg/dialects/common/enum_estimator_status_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ESTIMATOR_STATUS_FLAGS(t *testing.T) { + var e ESTIMATOR_STATUS_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_failure_type_test.go b/pkg/dialects/common/enum_failure_type_test.go new file mode 100644 index 000000000..697c26c74 --- /dev/null +++ b/pkg/dialects/common/enum_failure_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_FAILURE_TYPE(t *testing.T) { + var e FAILURE_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_failure_unit_test.go b/pkg/dialects/common/enum_failure_unit_test.go new file mode 100644 index 000000000..52a88a5de --- /dev/null +++ b/pkg/dialects/common/enum_failure_unit_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_FAILURE_UNIT(t *testing.T) { + var e FAILURE_UNIT + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_fence_action_test.go b/pkg/dialects/common/enum_fence_action_test.go new file mode 100644 index 000000000..d14795d8a --- /dev/null +++ b/pkg/dialects/common/enum_fence_action_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_FENCE_ACTION(t *testing.T) { + var e FENCE_ACTION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_fence_breach_test.go b/pkg/dialects/common/enum_fence_breach_test.go new file mode 100644 index 000000000..02b2ca855 --- /dev/null +++ b/pkg/dialects/common/enum_fence_breach_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_FENCE_BREACH(t *testing.T) { + var e FENCE_BREACH + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_fence_mitigate_test.go b/pkg/dialects/common/enum_fence_mitigate_test.go new file mode 100644 index 000000000..be4c3df4f --- /dev/null +++ b/pkg/dialects/common/enum_fence_mitigate_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_FENCE_MITIGATE(t *testing.T) { + var e FENCE_MITIGATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_fence_type_test.go b/pkg/dialects/common/enum_fence_type_test.go new file mode 100644 index 000000000..671cb6d88 --- /dev/null +++ b/pkg/dialects/common/enum_fence_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_FENCE_TYPE(t *testing.T) { + var e FENCE_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_firmware_version_type_test.go b/pkg/dialects/common/enum_firmware_version_type_test.go new file mode 100644 index 000000000..1e1c8af06 --- /dev/null +++ b/pkg/dialects/common/enum_firmware_version_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_FIRMWARE_VERSION_TYPE(t *testing.T) { + var e FIRMWARE_VERSION_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_gimbal_device_cap_flags_test.go b/pkg/dialects/common/enum_gimbal_device_cap_flags_test.go new file mode 100644 index 000000000..feb32aebb --- /dev/null +++ b/pkg/dialects/common/enum_gimbal_device_cap_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_GIMBAL_DEVICE_CAP_FLAGS(t *testing.T) { + var e GIMBAL_DEVICE_CAP_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_gimbal_device_error_flags_test.go b/pkg/dialects/common/enum_gimbal_device_error_flags_test.go new file mode 100644 index 000000000..3943e0ab8 --- /dev/null +++ b/pkg/dialects/common/enum_gimbal_device_error_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_GIMBAL_DEVICE_ERROR_FLAGS(t *testing.T) { + var e GIMBAL_DEVICE_ERROR_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_gimbal_device_flags_test.go b/pkg/dialects/common/enum_gimbal_device_flags_test.go new file mode 100644 index 000000000..73a618f72 --- /dev/null +++ b/pkg/dialects/common/enum_gimbal_device_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_GIMBAL_DEVICE_FLAGS(t *testing.T) { + var e GIMBAL_DEVICE_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_gimbal_manager_cap_flags_test.go b/pkg/dialects/common/enum_gimbal_manager_cap_flags_test.go new file mode 100644 index 000000000..a99befc4c --- /dev/null +++ b/pkg/dialects/common/enum_gimbal_manager_cap_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_GIMBAL_MANAGER_CAP_FLAGS(t *testing.T) { + var e GIMBAL_MANAGER_CAP_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_gimbal_manager_flags_test.go b/pkg/dialects/common/enum_gimbal_manager_flags_test.go new file mode 100644 index 000000000..576bb3239 --- /dev/null +++ b/pkg/dialects/common/enum_gimbal_manager_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_GIMBAL_MANAGER_FLAGS(t *testing.T) { + var e GIMBAL_MANAGER_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_gps_fix_type_test.go b/pkg/dialects/common/enum_gps_fix_type_test.go new file mode 100644 index 000000000..7537e2733 --- /dev/null +++ b/pkg/dialects/common/enum_gps_fix_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_GPS_FIX_TYPE(t *testing.T) { + var e GPS_FIX_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_gps_input_ignore_flags_test.go b/pkg/dialects/common/enum_gps_input_ignore_flags_test.go new file mode 100644 index 000000000..cd07b2537 --- /dev/null +++ b/pkg/dialects/common/enum_gps_input_ignore_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_GPS_INPUT_IGNORE_FLAGS(t *testing.T) { + var e GPS_INPUT_IGNORE_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_gripper_actions_test.go b/pkg/dialects/common/enum_gripper_actions_test.go new file mode 100644 index 000000000..fd05dc02a --- /dev/null +++ b/pkg/dialects/common/enum_gripper_actions_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_GRIPPER_ACTIONS(t *testing.T) { + var e GRIPPER_ACTIONS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_highres_imu_updated_flags_test.go b/pkg/dialects/common/enum_highres_imu_updated_flags_test.go new file mode 100644 index 000000000..ee420a65f --- /dev/null +++ b/pkg/dialects/common/enum_highres_imu_updated_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_HIGHRES_IMU_UPDATED_FLAGS(t *testing.T) { + var e HIGHRES_IMU_UPDATED_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_hil_sensor_updated_flags_test.go b/pkg/dialects/common/enum_hil_sensor_updated_flags_test.go new file mode 100644 index 000000000..e7f1b8f91 --- /dev/null +++ b/pkg/dialects/common/enum_hil_sensor_updated_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_HIL_SENSOR_UPDATED_FLAGS(t *testing.T) { + var e HIL_SENSOR_UPDATED_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_hl_failure_flag_test.go b/pkg/dialects/common/enum_hl_failure_flag_test.go new file mode 100644 index 000000000..7eaa23e7b --- /dev/null +++ b/pkg/dialects/common/enum_hl_failure_flag_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_HL_FAILURE_FLAG(t *testing.T) { + var e HL_FAILURE_FLAG + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_illuminator_error_flags_test.go b/pkg/dialects/common/enum_illuminator_error_flags_test.go new file mode 100644 index 000000000..67a0beae3 --- /dev/null +++ b/pkg/dialects/common/enum_illuminator_error_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ILLUMINATOR_ERROR_FLAGS(t *testing.T) { + var e ILLUMINATOR_ERROR_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_illuminator_mode_test.go b/pkg/dialects/common/enum_illuminator_mode_test.go new file mode 100644 index 000000000..33409a3a2 --- /dev/null +++ b/pkg/dialects/common/enum_illuminator_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ILLUMINATOR_MODE(t *testing.T) { + var e ILLUMINATOR_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_landing_target_type_test.go b/pkg/dialects/common/enum_landing_target_type_test.go new file mode 100644 index 000000000..f64d32ecc --- /dev/null +++ b/pkg/dialects/common/enum_landing_target_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_LANDING_TARGET_TYPE(t *testing.T) { + var e LANDING_TARGET_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mag_cal_status_test.go b/pkg/dialects/common/enum_mag_cal_status_test.go new file mode 100644 index 000000000..46b66917a --- /dev/null +++ b/pkg/dialects/common/enum_mag_cal_status_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAG_CAL_STATUS(t *testing.T) { + var e MAG_CAL_STATUS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_arm_auth_denied_reason_test.go b/pkg/dialects/common/enum_mav_arm_auth_denied_reason_test.go new file mode 100644 index 000000000..cec0cac98 --- /dev/null +++ b/pkg/dialects/common/enum_mav_arm_auth_denied_reason_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ARM_AUTH_DENIED_REASON(t *testing.T) { + var e MAV_ARM_AUTH_DENIED_REASON + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_battery_charge_state_test.go b/pkg/dialects/common/enum_mav_battery_charge_state_test.go new file mode 100644 index 000000000..f05d12f36 --- /dev/null +++ b/pkg/dialects/common/enum_mav_battery_charge_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_BATTERY_CHARGE_STATE(t *testing.T) { + var e MAV_BATTERY_CHARGE_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_battery_fault_test.go b/pkg/dialects/common/enum_mav_battery_fault_test.go new file mode 100644 index 000000000..6ed0cc9ec --- /dev/null +++ b/pkg/dialects/common/enum_mav_battery_fault_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_BATTERY_FAULT(t *testing.T) { + var e MAV_BATTERY_FAULT + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_battery_function_test.go b/pkg/dialects/common/enum_mav_battery_function_test.go new file mode 100644 index 000000000..109ffe11b --- /dev/null +++ b/pkg/dialects/common/enum_mav_battery_function_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_BATTERY_FUNCTION(t *testing.T) { + var e MAV_BATTERY_FUNCTION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_battery_mode_test.go b/pkg/dialects/common/enum_mav_battery_mode_test.go new file mode 100644 index 000000000..6df78ca7a --- /dev/null +++ b/pkg/dialects/common/enum_mav_battery_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_BATTERY_MODE(t *testing.T) { + var e MAV_BATTERY_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_battery_type_test.go b/pkg/dialects/common/enum_mav_battery_type_test.go new file mode 100644 index 000000000..7eba31caa --- /dev/null +++ b/pkg/dialects/common/enum_mav_battery_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_BATTERY_TYPE(t *testing.T) { + var e MAV_BATTERY_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_cmd_test.go b/pkg/dialects/common/enum_mav_cmd_test.go new file mode 100644 index 000000000..5b66b76fc --- /dev/null +++ b/pkg/dialects/common/enum_mav_cmd_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_CMD(t *testing.T) { + var e MAV_CMD + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_collision_action_test.go b/pkg/dialects/common/enum_mav_collision_action_test.go new file mode 100644 index 000000000..199a36e98 --- /dev/null +++ b/pkg/dialects/common/enum_mav_collision_action_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_COLLISION_ACTION(t *testing.T) { + var e MAV_COLLISION_ACTION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_collision_src_test.go b/pkg/dialects/common/enum_mav_collision_src_test.go new file mode 100644 index 000000000..b02b2d9c4 --- /dev/null +++ b/pkg/dialects/common/enum_mav_collision_src_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_COLLISION_SRC(t *testing.T) { + var e MAV_COLLISION_SRC + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_collision_threat_level_test.go b/pkg/dialects/common/enum_mav_collision_threat_level_test.go new file mode 100644 index 000000000..201579936 --- /dev/null +++ b/pkg/dialects/common/enum_mav_collision_threat_level_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_COLLISION_THREAT_LEVEL(t *testing.T) { + var e MAV_COLLISION_THREAT_LEVEL + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_data_stream_test.go b/pkg/dialects/common/enum_mav_data_stream_test.go new file mode 100644 index 000000000..f6434162c --- /dev/null +++ b/pkg/dialects/common/enum_mav_data_stream_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_DATA_STREAM(t *testing.T) { + var e MAV_DATA_STREAM + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_distance_sensor_test.go b/pkg/dialects/common/enum_mav_distance_sensor_test.go new file mode 100644 index 000000000..049f4a255 --- /dev/null +++ b/pkg/dialects/common/enum_mav_distance_sensor_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_DISTANCE_SENSOR(t *testing.T) { + var e MAV_DISTANCE_SENSOR + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_do_reposition_flags_test.go b/pkg/dialects/common/enum_mav_do_reposition_flags_test.go new file mode 100644 index 000000000..82da30720 --- /dev/null +++ b/pkg/dialects/common/enum_mav_do_reposition_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_DO_REPOSITION_FLAGS(t *testing.T) { + var e MAV_DO_REPOSITION_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_estimator_type_test.go b/pkg/dialects/common/enum_mav_estimator_type_test.go new file mode 100644 index 000000000..220a54bb6 --- /dev/null +++ b/pkg/dialects/common/enum_mav_estimator_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ESTIMATOR_TYPE(t *testing.T) { + var e MAV_ESTIMATOR_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_event_current_sequence_flags_test.go b/pkg/dialects/common/enum_mav_event_current_sequence_flags_test.go new file mode 100644 index 000000000..cde91c65b --- /dev/null +++ b/pkg/dialects/common/enum_mav_event_current_sequence_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_EVENT_CURRENT_SEQUENCE_FLAGS(t *testing.T) { + var e MAV_EVENT_CURRENT_SEQUENCE_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_event_error_reason_test.go b/pkg/dialects/common/enum_mav_event_error_reason_test.go new file mode 100644 index 000000000..395d17ac7 --- /dev/null +++ b/pkg/dialects/common/enum_mav_event_error_reason_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_EVENT_ERROR_REASON(t *testing.T) { + var e MAV_EVENT_ERROR_REASON + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_frame_test.go b/pkg/dialects/common/enum_mav_frame_test.go new file mode 100644 index 000000000..84b25ccd4 --- /dev/null +++ b/pkg/dialects/common/enum_mav_frame_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_FRAME(t *testing.T) { + var e MAV_FRAME + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_ftp_err_test.go b/pkg/dialects/common/enum_mav_ftp_err_test.go new file mode 100644 index 000000000..4a1163c8d --- /dev/null +++ b/pkg/dialects/common/enum_mav_ftp_err_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_FTP_ERR(t *testing.T) { + var e MAV_FTP_ERR + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_ftp_opcode_test.go b/pkg/dialects/common/enum_mav_ftp_opcode_test.go new file mode 100644 index 000000000..a2aafbdd1 --- /dev/null +++ b/pkg/dialects/common/enum_mav_ftp_opcode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_FTP_OPCODE(t *testing.T) { + var e MAV_FTP_OPCODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_generator_status_flag_test.go b/pkg/dialects/common/enum_mav_generator_status_flag_test.go new file mode 100644 index 000000000..3e0e85aa1 --- /dev/null +++ b/pkg/dialects/common/enum_mav_generator_status_flag_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_GENERATOR_STATUS_FLAG(t *testing.T) { + var e MAV_GENERATOR_STATUS_FLAG + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_goto_test.go b/pkg/dialects/common/enum_mav_goto_test.go new file mode 100644 index 000000000..2b6726f3c --- /dev/null +++ b/pkg/dialects/common/enum_mav_goto_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_GOTO(t *testing.T) { + var e MAV_GOTO + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_landed_state_test.go b/pkg/dialects/common/enum_mav_landed_state_test.go new file mode 100644 index 000000000..ece2a9b0b --- /dev/null +++ b/pkg/dialects/common/enum_mav_landed_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_LANDED_STATE(t *testing.T) { + var e MAV_LANDED_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_mission_result_test.go b/pkg/dialects/common/enum_mav_mission_result_test.go new file mode 100644 index 000000000..41a3bde78 --- /dev/null +++ b/pkg/dialects/common/enum_mav_mission_result_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_MISSION_RESULT(t *testing.T) { + var e MAV_MISSION_RESULT + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_mission_type_test.go b/pkg/dialects/common/enum_mav_mission_type_test.go new file mode 100644 index 000000000..921d903ec --- /dev/null +++ b/pkg/dialects/common/enum_mav_mission_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_MISSION_TYPE(t *testing.T) { + var e MAV_MISSION_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_mode_test.go b/pkg/dialects/common/enum_mav_mode_test.go new file mode 100644 index 000000000..06606f583 --- /dev/null +++ b/pkg/dialects/common/enum_mav_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_MODE(t *testing.T) { + var e MAV_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_mount_mode_test.go b/pkg/dialects/common/enum_mav_mount_mode_test.go new file mode 100644 index 000000000..a9676332a --- /dev/null +++ b/pkg/dialects/common/enum_mav_mount_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_MOUNT_MODE(t *testing.T) { + var e MAV_MOUNT_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_arm_status_test.go b/pkg/dialects/common/enum_mav_odid_arm_status_test.go new file mode 100644 index 000000000..8907064f2 --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_arm_status_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_ARM_STATUS(t *testing.T) { + var e MAV_ODID_ARM_STATUS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_auth_type_test.go b/pkg/dialects/common/enum_mav_odid_auth_type_test.go new file mode 100644 index 000000000..2f0f50c37 --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_auth_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_AUTH_TYPE(t *testing.T) { + var e MAV_ODID_AUTH_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_category_eu_test.go b/pkg/dialects/common/enum_mav_odid_category_eu_test.go new file mode 100644 index 000000000..00d7f4cae --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_category_eu_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_CATEGORY_EU(t *testing.T) { + var e MAV_ODID_CATEGORY_EU + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_class_eu_test.go b/pkg/dialects/common/enum_mav_odid_class_eu_test.go new file mode 100644 index 000000000..d710af99f --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_class_eu_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_CLASS_EU(t *testing.T) { + var e MAV_ODID_CLASS_EU + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_classification_type_test.go b/pkg/dialects/common/enum_mav_odid_classification_type_test.go new file mode 100644 index 000000000..411c9033b --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_classification_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_CLASSIFICATION_TYPE(t *testing.T) { + var e MAV_ODID_CLASSIFICATION_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_desc_type_test.go b/pkg/dialects/common/enum_mav_odid_desc_type_test.go new file mode 100644 index 000000000..d4a87bf0c --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_desc_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_DESC_TYPE(t *testing.T) { + var e MAV_ODID_DESC_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_height_ref_test.go b/pkg/dialects/common/enum_mav_odid_height_ref_test.go new file mode 100644 index 000000000..bd7deeffd --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_height_ref_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_HEIGHT_REF(t *testing.T) { + var e MAV_ODID_HEIGHT_REF + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_hor_acc_test.go b/pkg/dialects/common/enum_mav_odid_hor_acc_test.go new file mode 100644 index 000000000..e85a9e52f --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_hor_acc_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_HOR_ACC(t *testing.T) { + var e MAV_ODID_HOR_ACC + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_id_type_test.go b/pkg/dialects/common/enum_mav_odid_id_type_test.go new file mode 100644 index 000000000..6985f5cf0 --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_id_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_ID_TYPE(t *testing.T) { + var e MAV_ODID_ID_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_operator_id_type_test.go b/pkg/dialects/common/enum_mav_odid_operator_id_type_test.go new file mode 100644 index 000000000..a747a4d72 --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_operator_id_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_OPERATOR_ID_TYPE(t *testing.T) { + var e MAV_ODID_OPERATOR_ID_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_operator_location_type_test.go b/pkg/dialects/common/enum_mav_odid_operator_location_type_test.go new file mode 100644 index 000000000..7be8092b4 --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_operator_location_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_OPERATOR_LOCATION_TYPE(t *testing.T) { + var e MAV_ODID_OPERATOR_LOCATION_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_speed_acc_test.go b/pkg/dialects/common/enum_mav_odid_speed_acc_test.go new file mode 100644 index 000000000..9fbf0eb79 --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_speed_acc_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_SPEED_ACC(t *testing.T) { + var e MAV_ODID_SPEED_ACC + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_status_test.go b/pkg/dialects/common/enum_mav_odid_status_test.go new file mode 100644 index 000000000..5b24855d8 --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_status_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_STATUS(t *testing.T) { + var e MAV_ODID_STATUS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_time_acc_test.go b/pkg/dialects/common/enum_mav_odid_time_acc_test.go new file mode 100644 index 000000000..4d4df4be6 --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_time_acc_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_TIME_ACC(t *testing.T) { + var e MAV_ODID_TIME_ACC + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_ua_type_test.go b/pkg/dialects/common/enum_mav_odid_ua_type_test.go new file mode 100644 index 000000000..cf5a1b47a --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_ua_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_UA_TYPE(t *testing.T) { + var e MAV_ODID_UA_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_odid_ver_acc_test.go b/pkg/dialects/common/enum_mav_odid_ver_acc_test.go new file mode 100644 index 000000000..dbbbcadf0 --- /dev/null +++ b/pkg/dialects/common/enum_mav_odid_ver_acc_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ODID_VER_ACC(t *testing.T) { + var e MAV_ODID_VER_ACC + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_param_ext_type_test.go b/pkg/dialects/common/enum_mav_param_ext_type_test.go new file mode 100644 index 000000000..79e512cf8 --- /dev/null +++ b/pkg/dialects/common/enum_mav_param_ext_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_PARAM_EXT_TYPE(t *testing.T) { + var e MAV_PARAM_EXT_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_param_type_test.go b/pkg/dialects/common/enum_mav_param_type_test.go new file mode 100644 index 000000000..aa3038dfb --- /dev/null +++ b/pkg/dialects/common/enum_mav_param_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_PARAM_TYPE(t *testing.T) { + var e MAV_PARAM_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_power_status_test.go b/pkg/dialects/common/enum_mav_power_status_test.go new file mode 100644 index 000000000..414069c8e --- /dev/null +++ b/pkg/dialects/common/enum_mav_power_status_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_POWER_STATUS(t *testing.T) { + var e MAV_POWER_STATUS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_protocol_capability_test.go b/pkg/dialects/common/enum_mav_protocol_capability_test.go new file mode 100644 index 000000000..346f7985b --- /dev/null +++ b/pkg/dialects/common/enum_mav_protocol_capability_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_PROTOCOL_CAPABILITY(t *testing.T) { + var e MAV_PROTOCOL_CAPABILITY + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_result_test.go b/pkg/dialects/common/enum_mav_result_test.go new file mode 100644 index 000000000..3f797f269 --- /dev/null +++ b/pkg/dialects/common/enum_mav_result_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_RESULT(t *testing.T) { + var e MAV_RESULT + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_roi_test.go b/pkg/dialects/common/enum_mav_roi_test.go new file mode 100644 index 000000000..34420ae4c --- /dev/null +++ b/pkg/dialects/common/enum_mav_roi_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_ROI(t *testing.T) { + var e MAV_ROI + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_sensor_orientation_test.go b/pkg/dialects/common/enum_mav_sensor_orientation_test.go new file mode 100644 index 000000000..4e7b64b8e --- /dev/null +++ b/pkg/dialects/common/enum_mav_sensor_orientation_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_SENSOR_ORIENTATION(t *testing.T) { + var e MAV_SENSOR_ORIENTATION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_severity_test.go b/pkg/dialects/common/enum_mav_severity_test.go new file mode 100644 index 000000000..bd02d23ab --- /dev/null +++ b/pkg/dialects/common/enum_mav_severity_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_SEVERITY(t *testing.T) { + var e MAV_SEVERITY + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_sys_status_sensor_extended_test.go b/pkg/dialects/common/enum_mav_sys_status_sensor_extended_test.go new file mode 100644 index 000000000..98b2c9fea --- /dev/null +++ b/pkg/dialects/common/enum_mav_sys_status_sensor_extended_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_SYS_STATUS_SENSOR_EXTENDED(t *testing.T) { + var e MAV_SYS_STATUS_SENSOR_EXTENDED + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_sys_status_sensor_test.go b/pkg/dialects/common/enum_mav_sys_status_sensor_test.go new file mode 100644 index 000000000..48619a9ee --- /dev/null +++ b/pkg/dialects/common/enum_mav_sys_status_sensor_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_SYS_STATUS_SENSOR(t *testing.T) { + var e MAV_SYS_STATUS_SENSOR + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_tunnel_payload_type_test.go b/pkg/dialects/common/enum_mav_tunnel_payload_type_test.go new file mode 100644 index 000000000..2a5038f9b --- /dev/null +++ b/pkg/dialects/common/enum_mav_tunnel_payload_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_TUNNEL_PAYLOAD_TYPE(t *testing.T) { + var e MAV_TUNNEL_PAYLOAD_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_vtol_state_test.go b/pkg/dialects/common/enum_mav_vtol_state_test.go new file mode 100644 index 000000000..502ddeb59 --- /dev/null +++ b/pkg/dialects/common/enum_mav_vtol_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_VTOL_STATE(t *testing.T) { + var e MAV_VTOL_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mav_winch_status_flag_test.go b/pkg/dialects/common/enum_mav_winch_status_flag_test.go new file mode 100644 index 000000000..a3d152448 --- /dev/null +++ b/pkg/dialects/common/enum_mav_winch_status_flag_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAV_WINCH_STATUS_FLAG(t *testing.T) { + var e MAV_WINCH_STATUS_FLAG + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mavlink_data_stream_type_test.go b/pkg/dialects/common/enum_mavlink_data_stream_type_test.go new file mode 100644 index 000000000..147ea0293 --- /dev/null +++ b/pkg/dialects/common/enum_mavlink_data_stream_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MAVLINK_DATA_STREAM_TYPE(t *testing.T) { + var e MAVLINK_DATA_STREAM_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_mission_state_test.go b/pkg/dialects/common/enum_mission_state_test.go new file mode 100644 index 000000000..6b75299cb --- /dev/null +++ b/pkg/dialects/common/enum_mission_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MISSION_STATE(t *testing.T) { + var e MISSION_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_motor_test_order_test.go b/pkg/dialects/common/enum_motor_test_order_test.go new file mode 100644 index 000000000..988e25ad3 --- /dev/null +++ b/pkg/dialects/common/enum_motor_test_order_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MOTOR_TEST_ORDER(t *testing.T) { + var e MOTOR_TEST_ORDER + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_motor_test_throttle_type_test.go b/pkg/dialects/common/enum_motor_test_throttle_type_test.go new file mode 100644 index 000000000..a5333c3cb --- /dev/null +++ b/pkg/dialects/common/enum_motor_test_throttle_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_MOTOR_TEST_THROTTLE_TYPE(t *testing.T) { + var e MOTOR_TEST_THROTTLE_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_nav_vtol_land_options_test.go b/pkg/dialects/common/enum_nav_vtol_land_options_test.go new file mode 100644 index 000000000..33c64dfea --- /dev/null +++ b/pkg/dialects/common/enum_nav_vtol_land_options_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_NAV_VTOL_LAND_OPTIONS(t *testing.T) { + var e NAV_VTOL_LAND_OPTIONS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_orbit_yaw_behaviour_test.go b/pkg/dialects/common/enum_orbit_yaw_behaviour_test.go new file mode 100644 index 000000000..f1f7f22fa --- /dev/null +++ b/pkg/dialects/common/enum_orbit_yaw_behaviour_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_ORBIT_YAW_BEHAVIOUR(t *testing.T) { + var e ORBIT_YAW_BEHAVIOUR + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_parachute_action_test.go b/pkg/dialects/common/enum_parachute_action_test.go new file mode 100644 index 000000000..a4d6bdd08 --- /dev/null +++ b/pkg/dialects/common/enum_parachute_action_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_PARACHUTE_ACTION(t *testing.T) { + var e PARACHUTE_ACTION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_param_ack_test.go b/pkg/dialects/common/enum_param_ack_test.go new file mode 100644 index 000000000..478dc1247 --- /dev/null +++ b/pkg/dialects/common/enum_param_ack_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_PARAM_ACK(t *testing.T) { + var e PARAM_ACK + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_position_target_typemask_test.go b/pkg/dialects/common/enum_position_target_typemask_test.go new file mode 100644 index 000000000..539dc1201 --- /dev/null +++ b/pkg/dialects/common/enum_position_target_typemask_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_POSITION_TARGET_TYPEMASK(t *testing.T) { + var e POSITION_TARGET_TYPEMASK + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_precision_land_mode_test.go b/pkg/dialects/common/enum_precision_land_mode_test.go new file mode 100644 index 000000000..9235fe2ca --- /dev/null +++ b/pkg/dialects/common/enum_precision_land_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_PRECISION_LAND_MODE(t *testing.T) { + var e PRECISION_LAND_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_preflight_storage_mission_action_test.go b/pkg/dialects/common/enum_preflight_storage_mission_action_test.go new file mode 100644 index 000000000..1cbf0d12b --- /dev/null +++ b/pkg/dialects/common/enum_preflight_storage_mission_action_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_PREFLIGHT_STORAGE_MISSION_ACTION(t *testing.T) { + var e PREFLIGHT_STORAGE_MISSION_ACTION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_preflight_storage_parameter_action_test.go b/pkg/dialects/common/enum_preflight_storage_parameter_action_test.go new file mode 100644 index 000000000..5acf99a6a --- /dev/null +++ b/pkg/dialects/common/enum_preflight_storage_parameter_action_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_PREFLIGHT_STORAGE_PARAMETER_ACTION(t *testing.T) { + var e PREFLIGHT_STORAGE_PARAMETER_ACTION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_rc_type_test.go b/pkg/dialects/common/enum_rc_type_test.go new file mode 100644 index 000000000..0d2115afb --- /dev/null +++ b/pkg/dialects/common/enum_rc_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_RC_TYPE(t *testing.T) { + var e RC_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_rtk_baseline_coordinate_system_test.go b/pkg/dialects/common/enum_rtk_baseline_coordinate_system_test.go new file mode 100644 index 000000000..49e0e9c75 --- /dev/null +++ b/pkg/dialects/common/enum_rtk_baseline_coordinate_system_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_RTK_BASELINE_COORDINATE_SYSTEM(t *testing.T) { + var e RTK_BASELINE_COORDINATE_SYSTEM + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_safety_switch_state_test.go b/pkg/dialects/common/enum_safety_switch_state_test.go new file mode 100644 index 000000000..97d4a2f3b --- /dev/null +++ b/pkg/dialects/common/enum_safety_switch_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_SAFETY_SWITCH_STATE(t *testing.T) { + var e SAFETY_SWITCH_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_serial_control_dev_test.go b/pkg/dialects/common/enum_serial_control_dev_test.go new file mode 100644 index 000000000..46090405f --- /dev/null +++ b/pkg/dialects/common/enum_serial_control_dev_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_SERIAL_CONTROL_DEV(t *testing.T) { + var e SERIAL_CONTROL_DEV + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_serial_control_flag_test.go b/pkg/dialects/common/enum_serial_control_flag_test.go new file mode 100644 index 000000000..c5e954a77 --- /dev/null +++ b/pkg/dialects/common/enum_serial_control_flag_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_SERIAL_CONTROL_FLAG(t *testing.T) { + var e SERIAL_CONTROL_FLAG + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_set_focus_type_test.go b/pkg/dialects/common/enum_set_focus_type_test.go new file mode 100644 index 000000000..ccc4ca7f2 --- /dev/null +++ b/pkg/dialects/common/enum_set_focus_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_SET_FOCUS_TYPE(t *testing.T) { + var e SET_FOCUS_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_speed_type_test.go b/pkg/dialects/common/enum_speed_type_test.go new file mode 100644 index 000000000..d82139cfc --- /dev/null +++ b/pkg/dialects/common/enum_speed_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_SPEED_TYPE(t *testing.T) { + var e SPEED_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_storage_status_test.go b/pkg/dialects/common/enum_storage_status_test.go new file mode 100644 index 000000000..b7bd68a49 --- /dev/null +++ b/pkg/dialects/common/enum_storage_status_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_STORAGE_STATUS(t *testing.T) { + var e STORAGE_STATUS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_storage_type_test.go b/pkg/dialects/common/enum_storage_type_test.go new file mode 100644 index 000000000..a09633b00 --- /dev/null +++ b/pkg/dialects/common/enum_storage_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_STORAGE_TYPE(t *testing.T) { + var e STORAGE_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_storage_usage_flag_test.go b/pkg/dialects/common/enum_storage_usage_flag_test.go new file mode 100644 index 000000000..a704f51e0 --- /dev/null +++ b/pkg/dialects/common/enum_storage_usage_flag_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_STORAGE_USAGE_FLAG(t *testing.T) { + var e STORAGE_USAGE_FLAG + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_tune_format_test.go b/pkg/dialects/common/enum_tune_format_test.go new file mode 100644 index 000000000..47cafe711 --- /dev/null +++ b/pkg/dialects/common/enum_tune_format_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_TUNE_FORMAT(t *testing.T) { + var e TUNE_FORMAT + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_uavcan_node_health_test.go b/pkg/dialects/common/enum_uavcan_node_health_test.go new file mode 100644 index 000000000..0ba3d2595 --- /dev/null +++ b/pkg/dialects/common/enum_uavcan_node_health_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_UAVCAN_NODE_HEALTH(t *testing.T) { + var e UAVCAN_NODE_HEALTH + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_uavcan_node_mode_test.go b/pkg/dialects/common/enum_uavcan_node_mode_test.go new file mode 100644 index 000000000..c90011a9b --- /dev/null +++ b/pkg/dialects/common/enum_uavcan_node_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_UAVCAN_NODE_MODE(t *testing.T) { + var e UAVCAN_NODE_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_utm_data_avail_flags_test.go b/pkg/dialects/common/enum_utm_data_avail_flags_test.go new file mode 100644 index 000000000..e388c99a8 --- /dev/null +++ b/pkg/dialects/common/enum_utm_data_avail_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_UTM_DATA_AVAIL_FLAGS(t *testing.T) { + var e UTM_DATA_AVAIL_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_utm_flight_state_test.go b/pkg/dialects/common/enum_utm_flight_state_test.go new file mode 100644 index 000000000..8d8e4c895 --- /dev/null +++ b/pkg/dialects/common/enum_utm_flight_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_UTM_FLIGHT_STATE(t *testing.T) { + var e UTM_FLIGHT_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_video_stream_encoding_test.go b/pkg/dialects/common/enum_video_stream_encoding_test.go new file mode 100644 index 000000000..cdb1751b5 --- /dev/null +++ b/pkg/dialects/common/enum_video_stream_encoding_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_VIDEO_STREAM_ENCODING(t *testing.T) { + var e VIDEO_STREAM_ENCODING + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_video_stream_status_flags_test.go b/pkg/dialects/common/enum_video_stream_status_flags_test.go new file mode 100644 index 000000000..400a38b39 --- /dev/null +++ b/pkg/dialects/common/enum_video_stream_status_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_VIDEO_STREAM_STATUS_FLAGS(t *testing.T) { + var e VIDEO_STREAM_STATUS_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_video_stream_type_test.go b/pkg/dialects/common/enum_video_stream_type_test.go new file mode 100644 index 000000000..7f75cc129 --- /dev/null +++ b/pkg/dialects/common/enum_video_stream_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_VIDEO_STREAM_TYPE(t *testing.T) { + var e VIDEO_STREAM_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_vtol_transition_heading_test.go b/pkg/dialects/common/enum_vtol_transition_heading_test.go new file mode 100644 index 000000000..817ed1524 --- /dev/null +++ b/pkg/dialects/common/enum_vtol_transition_heading_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_VTOL_TRANSITION_HEADING(t *testing.T) { + var e VTOL_TRANSITION_HEADING + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_wifi_config_ap_mode_test.go b/pkg/dialects/common/enum_wifi_config_ap_mode_test.go new file mode 100644 index 000000000..511d491cc --- /dev/null +++ b/pkg/dialects/common/enum_wifi_config_ap_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_WIFI_CONFIG_AP_MODE(t *testing.T) { + var e WIFI_CONFIG_AP_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_wifi_config_ap_response_test.go b/pkg/dialects/common/enum_wifi_config_ap_response_test.go new file mode 100644 index 000000000..c820294ac --- /dev/null +++ b/pkg/dialects/common/enum_wifi_config_ap_response_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_WIFI_CONFIG_AP_RESPONSE(t *testing.T) { + var e WIFI_CONFIG_AP_RESPONSE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/common/enum_winch_actions_test.go b/pkg/dialects/common/enum_winch_actions_test.go new file mode 100644 index 000000000..04ee147da --- /dev/null +++ b/pkg/dialects/common/enum_winch_actions_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package common + +import ( + "testing" +) + +func TestEnum_WINCH_ACTIONS(t *testing.T) { + var e WINCH_ACTIONS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/csairlink/dialect_test.go b/pkg/dialects/csairlink/dialect_test.go index 0b00e425b..e816f6f57 100644 --- a/pkg/dialects/csairlink/dialect_test.go +++ b/pkg/dialects/csairlink/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package csairlink + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/csairlink/enum_airlink_auth_response_type_test.go b/pkg/dialects/csairlink/enum_airlink_auth_response_type_test.go new file mode 100644 index 000000000..515c7d80c --- /dev/null +++ b/pkg/dialects/csairlink/enum_airlink_auth_response_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package csairlink + +import ( + "testing" +) + +func TestEnum_AIRLINK_AUTH_RESPONSE_TYPE(t *testing.T) { + var e AIRLINK_AUTH_RESPONSE_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/csairlink/enum_airlink_eye_gs_hole_push_resp_type_test.go b/pkg/dialects/csairlink/enum_airlink_eye_gs_hole_push_resp_type_test.go new file mode 100644 index 000000000..176b7054a --- /dev/null +++ b/pkg/dialects/csairlink/enum_airlink_eye_gs_hole_push_resp_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package csairlink + +import ( + "testing" +) + +func TestEnum_AIRLINK_EYE_GS_HOLE_PUSH_RESP_TYPE(t *testing.T) { + var e AIRLINK_EYE_GS_HOLE_PUSH_RESP_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/csairlink/enum_airlink_eye_hole_push_type_test.go b/pkg/dialects/csairlink/enum_airlink_eye_hole_push_type_test.go new file mode 100644 index 000000000..bb27c5e53 --- /dev/null +++ b/pkg/dialects/csairlink/enum_airlink_eye_hole_push_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package csairlink + +import ( + "testing" +) + +func TestEnum_AIRLINK_EYE_HOLE_PUSH_TYPE(t *testing.T) { + var e AIRLINK_EYE_HOLE_PUSH_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/csairlink/enum_airlink_eye_ip_version_test.go b/pkg/dialects/csairlink/enum_airlink_eye_ip_version_test.go new file mode 100644 index 000000000..6b5f3bf0b --- /dev/null +++ b/pkg/dialects/csairlink/enum_airlink_eye_ip_version_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package csairlink + +import ( + "testing" +) + +func TestEnum_AIRLINK_EYE_IP_VERSION(t *testing.T) { + var e AIRLINK_EYE_IP_VERSION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/csairlink/enum_airlink_eye_turn_init_type_test.go b/pkg/dialects/csairlink/enum_airlink_eye_turn_init_type_test.go new file mode 100644 index 000000000..ce060dc0a --- /dev/null +++ b/pkg/dialects/csairlink/enum_airlink_eye_turn_init_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package csairlink + +import ( + "testing" +) + +func TestEnum_AIRLINK_EYE_TURN_INIT_TYPE(t *testing.T) { + var e AIRLINK_EYE_TURN_INIT_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/cubepilot/dialect_test.go b/pkg/dialects/cubepilot/dialect_test.go index 604c346f7..2031f3f63 100644 --- a/pkg/dialects/cubepilot/dialect_test.go +++ b/pkg/dialects/cubepilot/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package cubepilot + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/development/dialect_test.go b/pkg/dialects/development/dialect_test.go index 635e83b93..5b85ef46d 100644 --- a/pkg/dialects/development/dialect_test.go +++ b/pkg/dialects/development/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package development + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/development/enum_airspeed_sensor_flags_test.go b/pkg/dialects/development/enum_airspeed_sensor_flags_test.go new file mode 100644 index 000000000..c490e8fe5 --- /dev/null +++ b/pkg/dialects/development/enum_airspeed_sensor_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_AIRSPEED_SENSOR_FLAGS(t *testing.T) { + var e AIRSPEED_SENSOR_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_gps_authentication_state_test.go b/pkg/dialects/development/enum_gps_authentication_state_test.go new file mode 100644 index 000000000..a764a43c4 --- /dev/null +++ b/pkg/dialects/development/enum_gps_authentication_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_GPS_AUTHENTICATION_STATE(t *testing.T) { + var e GPS_AUTHENTICATION_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_gps_jamming_state_test.go b/pkg/dialects/development/enum_gps_jamming_state_test.go new file mode 100644 index 000000000..8931bb98f --- /dev/null +++ b/pkg/dialects/development/enum_gps_jamming_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_GPS_JAMMING_STATE(t *testing.T) { + var e GPS_JAMMING_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_gps_raim_state_test.go b/pkg/dialects/development/enum_gps_raim_state_test.go new file mode 100644 index 000000000..914027ef5 --- /dev/null +++ b/pkg/dialects/development/enum_gps_raim_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_GPS_RAIM_STATE(t *testing.T) { + var e GPS_RAIM_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_gps_spoofing_state_test.go b/pkg/dialects/development/enum_gps_spoofing_state_test.go new file mode 100644 index 000000000..d7c6c9833 --- /dev/null +++ b/pkg/dialects/development/enum_gps_spoofing_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_GPS_SPOOFING_STATE(t *testing.T) { + var e GPS_SPOOFING_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_gps_system_error_flags_test.go b/pkg/dialects/development/enum_gps_system_error_flags_test.go new file mode 100644 index 000000000..a8269dd7f --- /dev/null +++ b/pkg/dialects/development/enum_gps_system_error_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_GPS_SYSTEM_ERROR_FLAGS(t *testing.T) { + var e GPS_SYSTEM_ERROR_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_mav_battery_status_flags_test.go b/pkg/dialects/development/enum_mav_battery_status_flags_test.go new file mode 100644 index 000000000..d1182e012 --- /dev/null +++ b/pkg/dialects/development/enum_mav_battery_status_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_MAV_BATTERY_STATUS_FLAGS(t *testing.T) { + var e MAV_BATTERY_STATUS_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_mav_cmd_test.go b/pkg/dialects/development/enum_mav_cmd_test.go new file mode 100644 index 000000000..db5d001ad --- /dev/null +++ b/pkg/dialects/development/enum_mav_cmd_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_MAV_CMD(t *testing.T) { + var e MAV_CMD + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_mav_fuel_type_test.go b/pkg/dialects/development/enum_mav_fuel_type_test.go new file mode 100644 index 000000000..d042dd7a2 --- /dev/null +++ b/pkg/dialects/development/enum_mav_fuel_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_MAV_FUEL_TYPE(t *testing.T) { + var e MAV_FUEL_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_mav_mode_property_test.go b/pkg/dialects/development/enum_mav_mode_property_test.go new file mode 100644 index 000000000..26f8ab348 --- /dev/null +++ b/pkg/dialects/development/enum_mav_mode_property_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_MAV_MODE_PROPERTY(t *testing.T) { + var e MAV_MODE_PROPERTY + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_mav_standard_mode_test.go b/pkg/dialects/development/enum_mav_standard_mode_test.go new file mode 100644 index 000000000..0483e40ab --- /dev/null +++ b/pkg/dialects/development/enum_mav_standard_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_MAV_STANDARD_MODE(t *testing.T) { + var e MAV_STANDARD_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_param_transaction_action_test.go b/pkg/dialects/development/enum_param_transaction_action_test.go new file mode 100644 index 000000000..29a68c881 --- /dev/null +++ b/pkg/dialects/development/enum_param_transaction_action_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_PARAM_TRANSACTION_ACTION(t *testing.T) { + var e PARAM_TRANSACTION_ACTION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_param_transaction_transport_test.go b/pkg/dialects/development/enum_param_transaction_transport_test.go new file mode 100644 index 000000000..24e600e1b --- /dev/null +++ b/pkg/dialects/development/enum_param_transaction_transport_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_PARAM_TRANSACTION_TRANSPORT(t *testing.T) { + var e PARAM_TRANSACTION_TRANSPORT + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_radio_rc_channels_flags_test.go b/pkg/dialects/development/enum_radio_rc_channels_flags_test.go new file mode 100644 index 000000000..121a771d5 --- /dev/null +++ b/pkg/dialects/development/enum_radio_rc_channels_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_RADIO_RC_CHANNELS_FLAGS(t *testing.T) { + var e RADIO_RC_CHANNELS_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_target_absolute_sensor_capability_flags_test.go b/pkg/dialects/development/enum_target_absolute_sensor_capability_flags_test.go new file mode 100644 index 000000000..baa045dc8 --- /dev/null +++ b/pkg/dialects/development/enum_target_absolute_sensor_capability_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_TARGET_ABSOLUTE_SENSOR_CAPABILITY_FLAGS(t *testing.T) { + var e TARGET_ABSOLUTE_SENSOR_CAPABILITY_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_target_obs_frame_test.go b/pkg/dialects/development/enum_target_obs_frame_test.go new file mode 100644 index 000000000..10e6b0d42 --- /dev/null +++ b/pkg/dialects/development/enum_target_obs_frame_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_TARGET_OBS_FRAME(t *testing.T) { + var e TARGET_OBS_FRAME + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/development/enum_wifi_network_security_test.go b/pkg/dialects/development/enum_wifi_network_security_test.go new file mode 100644 index 000000000..4d63d28e5 --- /dev/null +++ b/pkg/dialects/development/enum_wifi_network_security_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package development + +import ( + "testing" +) + +func TestEnum_WIFI_NETWORK_SECURITY(t *testing.T) { + var e WIFI_NETWORK_SECURITY + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/icarous/dialect_test.go b/pkg/dialects/icarous/dialect_test.go index 490f5a639..6caebfc47 100644 --- a/pkg/dialects/icarous/dialect_test.go +++ b/pkg/dialects/icarous/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package icarous + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/icarous/enum_icarous_fms_state_test.go b/pkg/dialects/icarous/enum_icarous_fms_state_test.go new file mode 100644 index 000000000..6dc0b0ba9 --- /dev/null +++ b/pkg/dialects/icarous/enum_icarous_fms_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package icarous + +import ( + "testing" +) + +func TestEnum_ICAROUS_FMS_STATE(t *testing.T) { + var e ICAROUS_FMS_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/icarous/enum_icarous_track_band_types_test.go b/pkg/dialects/icarous/enum_icarous_track_band_types_test.go new file mode 100644 index 000000000..c6f26c0e4 --- /dev/null +++ b/pkg/dialects/icarous/enum_icarous_track_band_types_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package icarous + +import ( + "testing" +) + +func TestEnum_ICAROUS_TRACK_BAND_TYPES(t *testing.T) { + var e ICAROUS_TRACK_BAND_TYPES + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/matrixpilot/dialect_test.go b/pkg/dialects/matrixpilot/dialect_test.go index 07af1bc88..6586a8e72 100644 --- a/pkg/dialects/matrixpilot/dialect_test.go +++ b/pkg/dialects/matrixpilot/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package matrixpilot + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/matrixpilot/enum_mav_cmd_test.go b/pkg/dialects/matrixpilot/enum_mav_cmd_test.go new file mode 100644 index 000000000..aeeda0309 --- /dev/null +++ b/pkg/dialects/matrixpilot/enum_mav_cmd_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package matrixpilot + +import ( + "testing" +) + +func TestEnum_MAV_CMD(t *testing.T) { + var e MAV_CMD + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/matrixpilot/enum_mav_preflight_storage_action_test.go b/pkg/dialects/matrixpilot/enum_mav_preflight_storage_action_test.go new file mode 100644 index 000000000..dcd4747c8 --- /dev/null +++ b/pkg/dialects/matrixpilot/enum_mav_preflight_storage_action_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package matrixpilot + +import ( + "testing" +) + +func TestEnum_MAV_PREFLIGHT_STORAGE_ACTION(t *testing.T) { + var e MAV_PREFLIGHT_STORAGE_ACTION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/minimal/dialect_test.go b/pkg/dialects/minimal/dialect_test.go index a3a425119..e2331ed24 100644 --- a/pkg/dialects/minimal/dialect_test.go +++ b/pkg/dialects/minimal/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package minimal + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/minimal/enum_mav_autopilot_test.go b/pkg/dialects/minimal/enum_mav_autopilot_test.go new file mode 100644 index 000000000..7a6ba4a69 --- /dev/null +++ b/pkg/dialects/minimal/enum_mav_autopilot_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package minimal + +import ( + "testing" +) + +func TestEnum_MAV_AUTOPILOT(t *testing.T) { + var e MAV_AUTOPILOT + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/minimal/enum_mav_component_test.go b/pkg/dialects/minimal/enum_mav_component_test.go new file mode 100644 index 000000000..86349b722 --- /dev/null +++ b/pkg/dialects/minimal/enum_mav_component_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package minimal + +import ( + "testing" +) + +func TestEnum_MAV_COMPONENT(t *testing.T) { + var e MAV_COMPONENT + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/minimal/enum_mav_mode_flag_decode_position_test.go b/pkg/dialects/minimal/enum_mav_mode_flag_decode_position_test.go new file mode 100644 index 000000000..fd1971de8 --- /dev/null +++ b/pkg/dialects/minimal/enum_mav_mode_flag_decode_position_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package minimal + +import ( + "testing" +) + +func TestEnum_MAV_MODE_FLAG_DECODE_POSITION(t *testing.T) { + var e MAV_MODE_FLAG_DECODE_POSITION + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/minimal/enum_mav_mode_flag_test.go b/pkg/dialects/minimal/enum_mav_mode_flag_test.go new file mode 100644 index 000000000..bcdd0f777 --- /dev/null +++ b/pkg/dialects/minimal/enum_mav_mode_flag_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package minimal + +import ( + "testing" +) + +func TestEnum_MAV_MODE_FLAG(t *testing.T) { + var e MAV_MODE_FLAG + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/minimal/enum_mav_state_test.go b/pkg/dialects/minimal/enum_mav_state_test.go new file mode 100644 index 000000000..e1d18ff49 --- /dev/null +++ b/pkg/dialects/minimal/enum_mav_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package minimal + +import ( + "testing" +) + +func TestEnum_MAV_STATE(t *testing.T) { + var e MAV_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/minimal/enum_mav_type_test.go b/pkg/dialects/minimal/enum_mav_type_test.go new file mode 100644 index 000000000..ec916a064 --- /dev/null +++ b/pkg/dialects/minimal/enum_mav_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package minimal + +import ( + "testing" +) + +func TestEnum_MAV_TYPE(t *testing.T) { + var e MAV_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/package_test.go b/pkg/dialects/package_test.go index 2b84ffa39..6e01df757 100644 --- a/pkg/dialects/package_test.go +++ b/pkg/dialects/package_test.go @@ -9,102 +9,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/bluenviron/gomavlib/v3/pkg/dialect" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/all" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/ardupilotmega" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/asluav" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/avssuas" "github.com/bluenviron/gomavlib/v3/pkg/dialects/common" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/csairlink" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/cubepilot" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/development" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/icarous" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/matrixpilot" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/minimal" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/paparazzi" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/pythonarraytest" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/standard" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/storm32" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/test" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/ualberta" - "github.com/bluenviron/gomavlib/v3/pkg/dialects/uavionix" ) -func TestDialects(t *testing.T) { - func() { - _, err := dialect.NewReadWriter(asluav.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(avssuas.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(all.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(ardupilotmega.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(common.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(csairlink.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(cubepilot.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(development.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(icarous.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(matrixpilot.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(minimal.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(paparazzi.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(pythonarraytest.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(standard.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(storm32.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(test.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(uavionix.Dialect) - require.NoError(t, err) - }() - func() { - _, err := dialect.NewReadWriter(ualberta.Dialect) - require.NoError(t, err) - }() -} - var casesEnum = []struct { name string dec encoding.TextMarshaler diff --git a/pkg/dialects/paparazzi/dialect_test.go b/pkg/dialects/paparazzi/dialect_test.go index 48f0a70df..302b4d4ef 100644 --- a/pkg/dialects/paparazzi/dialect_test.go +++ b/pkg/dialects/paparazzi/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package paparazzi + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/pythonarraytest/dialect_test.go b/pkg/dialects/pythonarraytest/dialect_test.go index 7054e1ff1..7c55ff3de 100644 --- a/pkg/dialects/pythonarraytest/dialect_test.go +++ b/pkg/dialects/pythonarraytest/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package pythonarraytest + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/standard/dialect_test.go b/pkg/dialects/standard/dialect_test.go index 18b3bd0e9..86827f7e0 100644 --- a/pkg/dialects/standard/dialect_test.go +++ b/pkg/dialects/standard/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package standard + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/storm32/dialect_test.go b/pkg/dialects/storm32/dialect_test.go index d28f30697..5e9bca1de 100644 --- a/pkg/dialects/storm32/dialect_test.go +++ b/pkg/dialects/storm32/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package storm32 + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/storm32/enum_mav_cmd_test.go b/pkg/dialects/storm32/enum_mav_cmd_test.go new file mode 100644 index 000000000..0a893a0b5 --- /dev/null +++ b/pkg/dialects/storm32/enum_mav_cmd_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package storm32 + +import ( + "testing" +) + +func TestEnum_MAV_CMD(t *testing.T) { + var e MAV_CMD + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/storm32/enum_mav_qshot_mode_test.go b/pkg/dialects/storm32/enum_mav_qshot_mode_test.go new file mode 100644 index 000000000..a231b929b --- /dev/null +++ b/pkg/dialects/storm32/enum_mav_qshot_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package storm32 + +import ( + "testing" +) + +func TestEnum_MAV_QSHOT_MODE(t *testing.T) { + var e MAV_QSHOT_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/storm32/enum_mav_storm32_camera_prearm_flags_test.go b/pkg/dialects/storm32/enum_mav_storm32_camera_prearm_flags_test.go new file mode 100644 index 000000000..e05e41fa8 --- /dev/null +++ b/pkg/dialects/storm32/enum_mav_storm32_camera_prearm_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package storm32 + +import ( + "testing" +) + +func TestEnum_MAV_STORM32_CAMERA_PREARM_FLAGS(t *testing.T) { + var e MAV_STORM32_CAMERA_PREARM_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_cap_flags_test.go b/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_cap_flags_test.go new file mode 100644 index 000000000..2a1a0fa93 --- /dev/null +++ b/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_cap_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package storm32 + +import ( + "testing" +) + +func TestEnum_MAV_STORM32_GIMBAL_MANAGER_CAP_FLAGS(t *testing.T) { + var e MAV_STORM32_GIMBAL_MANAGER_CAP_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_client_test.go b/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_client_test.go new file mode 100644 index 000000000..d4910a79f --- /dev/null +++ b/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_client_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package storm32 + +import ( + "testing" +) + +func TestEnum_MAV_STORM32_GIMBAL_MANAGER_CLIENT(t *testing.T) { + var e MAV_STORM32_GIMBAL_MANAGER_CLIENT + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_flags_test.go b/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_flags_test.go new file mode 100644 index 000000000..474bf655a --- /dev/null +++ b/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package storm32 + +import ( + "testing" +) + +func TestEnum_MAV_STORM32_GIMBAL_MANAGER_FLAGS(t *testing.T) { + var e MAV_STORM32_GIMBAL_MANAGER_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_profile_test.go b/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_profile_test.go new file mode 100644 index 000000000..38a0aa5c6 --- /dev/null +++ b/pkg/dialects/storm32/enum_mav_storm32_gimbal_manager_profile_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package storm32 + +import ( + "testing" +) + +func TestEnum_MAV_STORM32_GIMBAL_MANAGER_PROFILE(t *testing.T) { + var e MAV_STORM32_GIMBAL_MANAGER_PROFILE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/storm32/enum_mav_storm32_gimbal_prearm_flags_test.go b/pkg/dialects/storm32/enum_mav_storm32_gimbal_prearm_flags_test.go new file mode 100644 index 000000000..af9982930 --- /dev/null +++ b/pkg/dialects/storm32/enum_mav_storm32_gimbal_prearm_flags_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package storm32 + +import ( + "testing" +) + +func TestEnum_MAV_STORM32_GIMBAL_PREARM_FLAGS(t *testing.T) { + var e MAV_STORM32_GIMBAL_PREARM_FLAGS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/storm32/enum_mav_storm32_tunnel_payload_type_test.go b/pkg/dialects/storm32/enum_mav_storm32_tunnel_payload_type_test.go new file mode 100644 index 000000000..6d601cbdf --- /dev/null +++ b/pkg/dialects/storm32/enum_mav_storm32_tunnel_payload_type_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package storm32 + +import ( + "testing" +) + +func TestEnum_MAV_STORM32_TUNNEL_PAYLOAD_TYPE(t *testing.T) { + var e MAV_STORM32_TUNNEL_PAYLOAD_TYPE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/test/dialect_test.go b/pkg/dialects/test/dialect_test.go index f781401e4..30174070e 100644 --- a/pkg/dialects/test/dialect_test.go +++ b/pkg/dialects/test/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package test + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/ualberta/dialect_test.go b/pkg/dialects/ualberta/dialect_test.go index 20dcc6ae2..e2d7c785e 100644 --- a/pkg/dialects/ualberta/dialect_test.go +++ b/pkg/dialects/ualberta/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package ualberta + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/ualberta/enum_ualberta_autopilot_mode_test.go b/pkg/dialects/ualberta/enum_ualberta_autopilot_mode_test.go new file mode 100644 index 000000000..b214aecaf --- /dev/null +++ b/pkg/dialects/ualberta/enum_ualberta_autopilot_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ualberta + +import ( + "testing" +) + +func TestEnum_UALBERTA_AUTOPILOT_MODE(t *testing.T) { + var e UALBERTA_AUTOPILOT_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ualberta/enum_ualberta_nav_mode_test.go b/pkg/dialects/ualberta/enum_ualberta_nav_mode_test.go new file mode 100644 index 000000000..2ccb3c68e --- /dev/null +++ b/pkg/dialects/ualberta/enum_ualberta_nav_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ualberta + +import ( + "testing" +) + +func TestEnum_UALBERTA_NAV_MODE(t *testing.T) { + var e UALBERTA_NAV_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/ualberta/enum_ualberta_pilot_mode_test.go b/pkg/dialects/ualberta/enum_ualberta_pilot_mode_test.go new file mode 100644 index 000000000..5929c0c37 --- /dev/null +++ b/pkg/dialects/ualberta/enum_ualberta_pilot_mode_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package ualberta + +import ( + "testing" +) + +func TestEnum_UALBERTA_PILOT_MODE(t *testing.T) { + var e UALBERTA_PILOT_MODE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/uavionix/dialect_test.go b/pkg/dialects/uavionix/dialect_test.go index d28b03a5f..17cc4ae9b 100644 --- a/pkg/dialects/uavionix/dialect_test.go +++ b/pkg/dialects/uavionix/dialect_test.go @@ -1,3 +1,16 @@ //autogenerated:yes //nolint:revive package uavionix + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/bluenviron/gomavlib/v3/pkg/dialect" +) + +func TestDialect(t *testing.T) { + _, err := dialect.NewReadWriter(Dialect) + require.NoError(t, err) +} diff --git a/pkg/dialects/uavionix/enum_uavionix_adsb_emergency_status_test.go b/pkg/dialects/uavionix/enum_uavionix_adsb_emergency_status_test.go new file mode 100644 index 000000000..7fc557961 --- /dev/null +++ b/pkg/dialects/uavionix/enum_uavionix_adsb_emergency_status_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package uavionix + +import ( + "testing" +) + +func TestEnum_UAVIONIX_ADSB_EMERGENCY_STATUS(t *testing.T) { + var e UAVIONIX_ADSB_EMERGENCY_STATUS + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_aircraft_size_test.go b/pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_aircraft_size_test.go new file mode 100644 index 000000000..ba4f9f9bd --- /dev/null +++ b/pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_aircraft_size_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package uavionix + +import ( + "testing" +) + +func TestEnum_UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE(t *testing.T) { + var e UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_gps_offset_lat_test.go b/pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_gps_offset_lat_test.go new file mode 100644 index 000000000..489b556b0 --- /dev/null +++ b/pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_gps_offset_lat_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package uavionix + +import ( + "testing" +) + +func TestEnum_UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT(t *testing.T) { + var e UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_gps_offset_lon_test.go b/pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_gps_offset_lon_test.go new file mode 100644 index 000000000..587875bce --- /dev/null +++ b/pkg/dialects/uavionix/enum_uavionix_adsb_out_cfg_gps_offset_lon_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package uavionix + +import ( + "testing" +) + +func TestEnum_UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON(t *testing.T) { + var e UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/uavionix/enum_uavionix_adsb_out_dynamic_gps_fix_test.go b/pkg/dialects/uavionix/enum_uavionix_adsb_out_dynamic_gps_fix_test.go new file mode 100644 index 000000000..a84142007 --- /dev/null +++ b/pkg/dialects/uavionix/enum_uavionix_adsb_out_dynamic_gps_fix_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package uavionix + +import ( + "testing" +) + +func TestEnum_UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX(t *testing.T) { + var e UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/uavionix/enum_uavionix_adsb_out_dynamic_state_test.go b/pkg/dialects/uavionix/enum_uavionix_adsb_out_dynamic_state_test.go new file mode 100644 index 000000000..d6f2e2c32 --- /dev/null +++ b/pkg/dialects/uavionix/enum_uavionix_adsb_out_dynamic_state_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package uavionix + +import ( + "testing" +) + +func TestEnum_UAVIONIX_ADSB_OUT_DYNAMIC_STATE(t *testing.T) { + var e UAVIONIX_ADSB_OUT_DYNAMIC_STATE + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/uavionix/enum_uavionix_adsb_out_rf_select_test.go b/pkg/dialects/uavionix/enum_uavionix_adsb_out_rf_select_test.go new file mode 100644 index 000000000..59adec05a --- /dev/null +++ b/pkg/dialects/uavionix/enum_uavionix_adsb_out_rf_select_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package uavionix + +import ( + "testing" +) + +func TestEnum_UAVIONIX_ADSB_OUT_RF_SELECT(t *testing.T) { + var e UAVIONIX_ADSB_OUT_RF_SELECT + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +} diff --git a/pkg/dialects/uavionix/enum_uavionix_adsb_rf_health_test.go b/pkg/dialects/uavionix/enum_uavionix_adsb_rf_health_test.go new file mode 100644 index 000000000..9f7b876cb --- /dev/null +++ b/pkg/dialects/uavionix/enum_uavionix_adsb_rf_health_test.go @@ -0,0 +1,14 @@ +//autogenerated:yes +//nolint:revive,govet,errcheck +package uavionix + +import ( + "testing" +) + +func TestEnum_UAVIONIX_ADSB_RF_HEALTH(t *testing.T) { + var e UAVIONIX_ADSB_RF_HEALTH + e.UnmarshalText([]byte{}) + e.MarshalText() + e.String() +}