#include "flutter/shell/platform/linux/public/flutter_linux/fl_method_response.h"
#include "gtest/gtest.h"
Go to the source code of this file.
Functions | |
TEST (FlMethodResponseTest, Success) | |
TEST (FlMethodResponseTest, Error) | |
TEST (FlMethodResponseTest, ErrorMessage) | |
TEST (FlMethodResponseTest, ErrorDetails) | |
TEST (FlMethodResponseTest, ErrorMessageAndDetails) | |
TEST (FlMethodResponseTest, NotImplemented) | |
TEST (FlMethodResponseTest, SuccessGetResult) | |
TEST (FlMethodResponseTest, ErrorGetResult) | |
TEST (FlMethodResponseTest, NotImplementedGetResult) | |
TEST | ( | FlMethodResponseTest | , |
Error | |||
) |
Definition at line 17 of file fl_method_response_test.cc.
References fl_method_error_response_get_code(), fl_method_error_response_get_details(), fl_method_error_response_get_message(), and fl_method_error_response_new().
TEST | ( | FlMethodResponseTest | , |
ErrorDetails | |||
) |
Definition at line 33 of file fl_method_response_test.cc.
References fl_method_error_response_get_code(), fl_method_error_response_get_details(), fl_method_error_response_get_message(), fl_method_error_response_new(), fl_value_equal(), and fl_value_new_int().
TEST | ( | FlMethodResponseTest | , |
ErrorGetResult | |||
) |
Definition at line 76 of file fl_method_response_test.cc.
References error, fl_method_error_response_new(), FL_METHOD_RESPONSE_ERROR, FL_METHOD_RESPONSE_ERROR_REMOTE_ERROR, fl_method_response_get_result(), and result.
TEST | ( | FlMethodResponseTest | , |
ErrorMessage | |||
) |
Definition at line 25 of file fl_method_response_test.cc.
References fl_method_error_response_get_code(), fl_method_error_response_get_details(), fl_method_error_response_get_message(), and fl_method_error_response_new().
TEST | ( | FlMethodResponseTest | , |
ErrorMessageAndDetails | |||
) |
Definition at line 44 of file fl_method_response_test.cc.
References fl_method_error_response_get_code(), fl_method_error_response_get_details(), fl_method_error_response_get_message(), fl_method_error_response_new(), fl_value_equal(), and fl_value_new_int().
TEST | ( | FlMethodResponseTest | , |
NotImplemented | |||
) |
Definition at line 55 of file fl_method_response_test.cc.
References fl_method_not_implemented_response_new().
TEST | ( | FlMethodResponseTest | , |
NotImplementedGetResult | |||
) |
Definition at line 87 of file fl_method_response_test.cc.
References error, fl_method_not_implemented_response_new(), FL_METHOD_RESPONSE_ERROR, FL_METHOD_RESPONSE_ERROR_NOT_IMPLEMENTED, fl_method_response_get_result(), and result.
TEST | ( | FlMethodResponseTest | , |
Success | |||
) |
Definition at line 8 of file fl_method_response_test.cc.
References fl_method_success_response_get_result(), fl_method_success_response_new(), fl_value_equal(), fl_value_new_int(), and result.
TEST | ( | FlMethodResponseTest | , |
SuccessGetResult | |||
) |
Definition at line 63 of file fl_method_response_test.cc.
References error, fl_method_response_get_result(), fl_method_success_response_new(), fl_value_equal(), fl_value_new_int(), and result.