|
Monero
|
#include "gtest/gtest.h"#include <vector>#include "common/util.h"#include "cryptonote_basic/cryptonote_basic.h"#include "cryptonote_basic/tx_extra.h"#include "cryptonote_core/cryptonote_tx_utils.h"
Functions | |
| TEST (parse_tx_extra, handles_empty_extra) | |
| TEST (parse_tx_extra, handles_padding_only_size_1) | |
| TEST (parse_tx_extra, handles_padding_only_size_2) | |
| TEST (parse_tx_extra, handles_padding_only_max_size) | |
| TEST (parse_tx_extra, handles_padding_only_exceed_max_size) | |
| TEST (parse_tx_extra, handles_invalid_padding_only) | |
| TEST (parse_tx_extra, handles_pub_key_only) | |
| TEST (parse_tx_extra, handles_extra_nonce_only) | |
| TEST (parse_tx_extra, handles_pub_key_and_padding) | |
| TEST (parse_and_validate_tx_extra, is_valid_tx_extra_parsed) | |
| TEST (parse_and_validate_tx_extra, fails_on_big_extra_nonce) | |
| TEST (parse_and_validate_tx_extra, fails_on_wrong_size_in_extra_nonce) | |
| TEST (validate_parse_amount_case, validate_parse_amount) | |
| TEST (sort_tx_extra, empty) | |
| TEST (sort_tx_extra, pubkey) | |
| TEST (sort_tx_extra, two_pubkeys) | |
| TEST (sort_tx_extra, keep_order) | |
| TEST (sort_tx_extra, switch_order) | |
| TEST (sort_tx_extra, invalid) | |
| TEST (sort_tx_extra, invalid_suffix_strict) | |
| TEST (sort_tx_extra, invalid_suffix_partial) | |
| TEST (remove_field_from_tx_extra, remove_first) | |
| TEST (remove_field_from_tx_extra, remove_last) | |
| TEST (remove_field_from_tx_extra, remove_middle) | |
| TEST (remove_field_from_tx_extra, invalid_varint) | |
| TEST | ( | parse_and_validate_tx_extra | , |
| fails_on_big_extra_nonce | ) |
| TEST | ( | parse_and_validate_tx_extra | , |
| fails_on_wrong_size_in_extra_nonce | ) |
| TEST | ( | parse_and_validate_tx_extra | , |
| is_valid_tx_extra_parsed | ) |
| TEST | ( | parse_tx_extra | , |
| handles_empty_extra | ) |
| TEST | ( | parse_tx_extra | , |
| handles_extra_nonce_only | ) |
| TEST | ( | parse_tx_extra | , |
| handles_invalid_padding_only | ) |
| TEST | ( | parse_tx_extra | , |
| handles_padding_only_exceed_max_size | ) |
| TEST | ( | parse_tx_extra | , |
| handles_padding_only_max_size | ) |
| TEST | ( | parse_tx_extra | , |
| handles_padding_only_size_1 | ) |
| TEST | ( | parse_tx_extra | , |
| handles_padding_only_size_2 | ) |
| TEST | ( | parse_tx_extra | , |
| handles_pub_key_and_padding | ) |
| TEST | ( | parse_tx_extra | , |
| handles_pub_key_only | ) |
| TEST | ( | remove_field_from_tx_extra | , |
| invalid_varint | ) |
| TEST | ( | remove_field_from_tx_extra | , |
| remove_first | ) |
| TEST | ( | remove_field_from_tx_extra | , |
| remove_last | ) |
| TEST | ( | remove_field_from_tx_extra | , |
| remove_middle | ) |
| TEST | ( | sort_tx_extra | , |
| empty | ) |
| TEST | ( | sort_tx_extra | , |
| invalid | ) |
| TEST | ( | sort_tx_extra | , |
| invalid_suffix_partial | ) |
| TEST | ( | sort_tx_extra | , |
| invalid_suffix_strict | ) |
| TEST | ( | sort_tx_extra | , |
| keep_order | ) |
| TEST | ( | sort_tx_extra | , |
| pubkey | ) |
| TEST | ( | sort_tx_extra | , |
| switch_order | ) |
| TEST | ( | sort_tx_extra | , |
| two_pubkeys | ) |
| TEST | ( | validate_parse_amount_case | , |
| validate_parse_amount | ) |