|
Electroneum
|
#include "gtest/gtest.h"#include "wallet/api/wallet2_api.h"#include "wallet/wallet2.h"#include "include_base_utils.h"#include "common/util.h"#include <boost/chrono/chrono.hpp>#include <boost/filesystem.hpp>#include <boost/algorithm/string.hpp>#include <boost/asio.hpp>#include <boost/date_time/posix_time/posix_time.hpp>#include <boost/thread/condition_variable.hpp>#include <boost/thread/mutex.hpp>#include <boost/thread/thread.hpp>#include <iostream>#include <vector>#include <atomic>#include <functional>
Go to the source code of this file.
Classes | |
| struct | Utils |
| struct | WalletManagerTest |
| struct | WalletManagerMainnetTest |
| struct | WalletTest1 |
| struct | WalletTest2 |
| struct | MyWalletListener |
Namespaces | |
| Consts | |
Functions | |
| TEST_F (WalletManagerTest, WalletManagerCreatesWallet) | |
| TEST_F (WalletManagerTest, WalletManagerOpensWallet) | |
| TEST_F (WalletManagerTest, WalletMaxAmountAsString) | |
| TEST_F (WalletManagerTest, WalletAmountFromString) | |
| void | open_wallet_helper (Electroneum::WalletManager *wmgr, Electroneum::Wallet **wallet, const std::string &pass, boost::mutex *mutex) |
| TEST_F (WalletManagerTest, WalletManagerOpensWalletWithPasswordAndReopen) | |
| TEST_F (WalletManagerTest, WalletManagerStoresWallet) | |
| TEST_F (WalletManagerTest, WalletManagerMovesWallet) | |
| TEST_F (WalletManagerTest, WalletManagerChangesPassword) | |
| TEST_F (WalletManagerTest, WalletManagerRecoversWallet) | |
| TEST_F (WalletManagerTest, WalletManagerStoresWallet1) | |
| TEST_F (WalletManagerTest, WalletManagerStoresWallet2) | |
| TEST_F (WalletManagerTest, WalletManagerStoresWallet3) | |
| TEST_F (WalletManagerTest, WalletManagerStoresWallet4) | |
| TEST_F (WalletManagerTest, WalletManagerFindsWallet) | |
| TEST_F (WalletTest1, WalletGeneratesPaymentId) | |
| TEST_F (WalletTest1, WalletGeneratesIntegratedAddress) | |
| TEST_F (WalletTest1, WalletShowsBalance) | |
| TEST_F (WalletTest1, WalletReturnsCurrentBlockHeight) | |
| TEST_F (WalletTest1, WalletReturnsDaemonBlockHeight) | |
| TEST_F (WalletTest1, WalletRefresh) | |
| TEST_F (WalletTest1, WalletConvertsToString) | |
| TEST_F (WalletTest1, WalletTransaction) | |
| TEST_F (WalletTest1, WalletTransactionWithMixin) | |
| TEST_F (WalletTest1, WalletTransactionWithPriority) | |
| TEST_F (WalletTest1, WalletHistory) | |
| TEST_F (WalletTest1, WalletTransactionAndHistory) | |
| TEST_F (WalletTest1, WalletTransactionWithPaymentId) | |
| TEST_F (WalletTest2, WalletCallBackRefreshedSync) | |
| TEST_F (WalletTest2, WalletCallBackRefreshedAsync) | |
| TEST_F (WalletTest2, WalletCallbackSent) | |
| TEST_F (WalletTest2, WalletCallbackReceived) | |
| TEST_F (WalletTest2, WalletCallbackNewBlock) | |
| TEST_F (WalletManagerMainnetTest, CreateOpenAndRefreshWalletMainNetSync) | |
| TEST_F (WalletManagerMainnetTest, CreateAndRefreshWalletMainNetAsync) | |
| TEST_F (WalletManagerMainnetTest, OpenAndRefreshWalletMainNetAsync) | |
| TEST_F (WalletManagerMainnetTest, RecoverAndRefreshWalletMainNetAsync) | |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 1141 of file main.cpp.

| void open_wallet_helper | ( | Electroneum::WalletManager * | wmgr, |
| Electroneum::Wallet ** | wallet, | ||
| const std::string & | pass, | ||
| boost::mutex * | mutex | ||
| ) |
Definition at line 260 of file main.cpp.


| TEST_F | ( | WalletManagerTest | , |
| WalletManagerCreatesWallet | |||
| ) |
Definition at line 209 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletManagerOpensWallet | |||
| ) |
Definition at line 226 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletMaxAmountAsString | |||
| ) |
Definition at line 239 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletAmountFromString | |||
| ) |
Definition at line 247 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletManagerOpensWalletWithPasswordAndReopen | |||
| ) |
Definition at line 302 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletManagerStoresWallet | |||
| ) |
Definition at line 327 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletManagerMovesWallet | |||
| ) |
Definition at line 340 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletManagerChangesPassword | |||
| ) |
Definition at line 356 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletManagerRecoversWallet | |||
| ) |
Definition at line 372 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletManagerStoresWallet1 | |||
| ) |
Definition at line 388 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletManagerStoresWallet2 | |||
| ) |
Definition at line 405 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletManagerStoresWallet3 | |||
| ) |
Definition at line 422 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletManagerStoresWallet4 | |||
| ) |
Definition at line 446 of file main.cpp.

| TEST_F | ( | WalletManagerTest | , |
| WalletManagerFindsWallet | |||
| ) |
| TEST_F | ( | WalletTest1 | , |
| WalletGeneratesPaymentId | |||
| ) |
| TEST_F | ( | WalletTest1 | , |
| WalletGeneratesIntegratedAddress | |||
| ) |
Definition at line 488 of file main.cpp.

| TEST_F | ( | WalletTest1 | , |
| WalletShowsBalance | |||
| ) |
Definition at line 498 of file main.cpp.

| TEST_F | ( | WalletTest1 | , |
| WalletReturnsCurrentBlockHeight | |||
| ) |
Definition at line 516 of file main.cpp.

| TEST_F | ( | WalletTest1 | , |
| WalletReturnsDaemonBlockHeight | |||
| ) |
Definition at line 524 of file main.cpp.

| TEST_F | ( | WalletTest1 | , |
| WalletRefresh | |||
| ) |
Definition at line 542 of file main.cpp.

| TEST_F | ( | WalletTest1 | , |
| WalletConvertsToString | |||
| ) |
Definition at line 554 of file main.cpp.

| TEST_F | ( | WalletTest1 | , |
| WalletTransaction | |||
| ) |
Definition at line 567 of file main.cpp.

| TEST_F | ( | WalletTest1 | , |
| WalletTransactionWithMixin | |||
| ) |
Definition at line 600 of file main.cpp.

| TEST_F | ( | WalletTest1 | , |
| WalletTransactionWithPriority | |||
| ) |
Definition at line 641 of file main.cpp.

| TEST_F | ( | WalletTest1 | , |
| WalletHistory | |||
| ) |
Definition at line 684 of file main.cpp.

| TEST_F | ( | WalletTest1 | , |
| WalletTransactionAndHistory | |||
| ) |
Definition at line 701 of file main.cpp.

| TEST_F | ( | WalletTest1 | , |
| WalletTransactionWithPaymentId | |||
| ) |
Definition at line 740 of file main.cpp.

| TEST_F | ( | WalletTest2 | , |
| WalletCallBackRefreshedSync | |||
| ) |
Definition at line 882 of file main.cpp.

| TEST_F | ( | WalletTest2 | , |
| WalletCallBackRefreshedAsync | |||
| ) |
Definition at line 899 of file main.cpp.

| TEST_F | ( | WalletTest2 | , |
| WalletCallbackSent | |||
| ) |
Definition at line 921 of file main.cpp.

| TEST_F | ( | WalletTest2 | , |
| WalletCallbackReceived | |||
| ) |
Definition at line 960 of file main.cpp.

| TEST_F | ( | WalletTest2 | , |
| WalletCallbackNewBlock | |||
| ) |
Definition at line 1007 of file main.cpp.

| TEST_F | ( | WalletManagerMainnetTest | , |
| CreateOpenAndRefreshWalletMainNetSync | |||
| ) |
Definition at line 1034 of file main.cpp.

| TEST_F | ( | WalletManagerMainnetTest | , |
| CreateAndRefreshWalletMainNetAsync | |||
| ) |
Definition at line 1051 of file main.cpp.

| TEST_F | ( | WalletManagerMainnetTest | , |
| OpenAndRefreshWalletMainNetAsync | |||
| ) |
Definition at line 1074 of file main.cpp.

| TEST_F | ( | WalletManagerMainnetTest | , |
| RecoverAndRefreshWalletMainNetAsync | |||
| ) |
Definition at line 1101 of file main.cpp.
