#include "gtest/gtest.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_event_channel.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_method_channel.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_standard_method_codec.h"#include "flutter/shell/platform/linux/testing/fl_mock_binary_messenger.h"Go to the source code of this file.
Functions | |
| TEST (FlEventChannelTest, Listen) | |
| TEST (FlEventChannelTest, ListenException) | |
| TEST (FlEventChannelTest, Cancel) | |
| TEST (FlEventChannelTest, CancelException) | |
| TEST (FlEventChannelTest, Args) | |
| TEST (FlEventChannelTest, SendEvents) | |
| TEST (FlEventChannelTest, ReuseChannel) | |
| TEST (FlEventChannelTest, ReplaceChannel) | |
| TEST | ( | FlEventChannelTest | , |
| Args | |||
| ) |
Definition at line 156 of file fl_event_channel_test.cc.
References args, channel, fl_event_channel_new(), fl_event_channel_set_stream_handlers(), fl_mock_binary_messenger_invoke_standard_method(), fl_mock_binary_messenger_new(), fl_standard_method_codec_new(), fl_value_equal(), fl_value_new_string(), g_autoptr(), and user_data.
| TEST | ( | FlEventChannelTest | , |
| Cancel | |||
| ) |
Definition at line 80 of file fl_event_channel_test.cc.
References args, channel, fl_event_channel_new(), fl_event_channel_set_stream_handlers(), fl_method_success_response_get_result(), fl_mock_binary_messenger_invoke_standard_method(), fl_mock_binary_messenger_new(), fl_standard_method_codec_new(), fl_value_get_type(), FL_VALUE_TYPE_NULL, g_autoptr(), TRUE, and user_data.
| TEST | ( | FlEventChannelTest | , |
| CancelException | |||
| ) |
Definition at line 117 of file fl_event_channel_test.cc.
References args, channel, fl_event_channel_new(), fl_event_channel_set_stream_handlers(), fl_method_error_response_get_code(), fl_method_error_response_get_message(), fl_method_error_response_new(), fl_mock_binary_messenger_invoke_standard_method(), fl_mock_binary_messenger_new(), fl_standard_method_codec_new(), g_autoptr(), TRUE, and user_data.
| TEST | ( | FlEventChannelTest | , |
| Listen | |||
| ) |
Definition at line 14 of file fl_event_channel_test.cc.
References args, channel, fl_event_channel_new(), fl_event_channel_set_stream_handlers(), fl_method_success_response_get_result(), fl_mock_binary_messenger_invoke_standard_method(), fl_mock_binary_messenger_new(), fl_standard_method_codec_new(), fl_value_get_type(), FL_VALUE_TYPE_NULL, g_autoptr(), TRUE, and user_data.
| TEST | ( | FlEventChannelTest | , |
| ListenException | |||
| ) |
Definition at line 46 of file fl_event_channel_test.cc.
References args, channel, fl_event_channel_new(), fl_event_channel_set_stream_handlers(), fl_method_error_response_get_code(), fl_method_error_response_get_message(), fl_method_error_response_new(), fl_mock_binary_messenger_invoke_standard_method(), fl_mock_binary_messenger_new(), fl_standard_method_codec_new(), g_autoptr(), TRUE, and user_data.
| TEST | ( | FlEventChannelTest | , |
| ReplaceChannel | |||
| ) |
Definition at line 325 of file fl_event_channel_test.cc.
References args, channel, error, fl_event_channel_new(), fl_event_channel_send(), fl_event_channel_set_stream_handlers(), fl_mock_binary_messenger_invoke_standard_method(), fl_mock_binary_messenger_new(), fl_mock_binary_messenger_set_standard_event_channel(), fl_standard_method_codec_new(), fl_value_get_int(), fl_value_get_type(), fl_value_new_int(), FL_VALUE_TYPE_INT, g_autoptr(), i, message, and user_data.
| TEST | ( | FlEventChannelTest | , |
| ReuseChannel | |||
| ) |
Definition at line 254 of file fl_event_channel_test.cc.
References args, channel, error, fl_event_channel_new(), fl_event_channel_send(), fl_event_channel_set_stream_handlers(), fl_mock_binary_messenger_invoke_standard_method(), fl_mock_binary_messenger_new(), fl_mock_binary_messenger_set_standard_event_channel(), fl_standard_method_codec_new(), fl_value_get_int(), fl_value_get_type(), fl_value_new_int(), FL_VALUE_TYPE_INT, g_autoptr(), i, message, and user_data.
| TEST | ( | FlEventChannelTest | , |
| SendEvents | |||
| ) |
Definition at line 203 of file fl_event_channel_test.cc.
References args, channel, error, fl_event_channel_new(), fl_event_channel_send(), fl_event_channel_set_stream_handlers(), fl_mock_binary_messenger_invoke_standard_method(), fl_mock_binary_messenger_new(), fl_mock_binary_messenger_set_standard_event_channel(), fl_standard_method_codec_new(), fl_value_get_int(), fl_value_get_type(), fl_value_new_int(), FL_VALUE_TYPE_INT, g_autoptr(), i, message, and user_data.