Electroneum
Loading...
Searching...
No Matches
WalletManagerTest Struct Reference
Inheritance diagram for WalletManagerTest:
Collaboration diagram for WalletManagerTest:

Public Member Functions

 WalletManagerTest ()
 ~WalletManagerTest ()
Public Member Functions inherited from testing::Test
virtual ~Test ()
virtual ~Test ()

Public Attributes

Electroneum::WalletManagerwmgr

Additional Inherited Members

Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
Static Public Member Functions inherited from testing::Test
static void SetUpTestCase ()
static void TearDownTestCase ()
static bool HasFatalFailure ()
static bool HasNonfatalFailure ()
static bool HasFailure ()
static void RecordProperty (const std::string &key, const std::string &value)
static void RecordProperty (const std::string &key, int value)
static void SetUpTestCase ()
static void TearDownTestCase ()
static bool HasFatalFailure ()
static bool HasNonfatalFailure ()
static bool HasFailure ()
static void RecordProperty (const std::string &key, const std::string &value)
static void RecordProperty (const std::string &key, int value)
Protected Member Functions inherited from testing::Test
 Test ()
virtual void SetUp ()
virtual void TearDown ()
 Test ()
virtual void SetUp ()
virtual void TearDown ()

Detailed Description

Definition at line 142 of file main.cpp.

Constructor & Destructor Documentation

◆ WalletManagerTest()

WalletManagerTest::WalletManagerTest ( )
inline

Definition at line 147 of file main.cpp.

148 {
149 std::cout << __FUNCTION__ << std::endl;
151 // Electroneum::WalletManagerFactory::setLogLevel(Electroneum::WalletManagerFactory::LogLevel_4);
153 Utils::deleteDir(boost::filesystem::path(WALLET_NAME_WITH_DIR).parent_path().string());
154 }
const char * WALLET_NAME
Definition main.cpp:63
const char * WALLET_NAME_WITH_DIR
Definition main.cpp:66
static WalletManager * getWalletManager()
static void deleteWallet(const std::string &walletname)
Definition main.cpp:103
static void deleteDir(const std::string &path)
Definition main.cpp:111
Electroneum::WalletManager * wmgr
Definition main.cpp:144
Here is the call graph for this function:

◆ ~WalletManagerTest()

WalletManagerTest::~WalletManagerTest ( )
inline

Definition at line 157 of file main.cpp.

158 {
159 std::cout << __FUNCTION__ << std::endl;
160 //deleteWallet(WALLET_NAME);
161 }

Member Data Documentation

◆ wmgr

Electroneum::WalletManager* WalletManagerTest::wmgr

Definition at line 144 of file main.cpp.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/libwallet_api_tests/main.cpp