30#include <boost/filesystem.hpp>
31#include "gtest/gtest.h"
49 catch (
const std::exception& e)
51 LOG_ERROR(
"failed to generate wallet: " << e.what());
75 EXPECT_EQ(test_label, w1.get_subaddress_label(subaddress_index));
80 std::string label =
"test adding subaddress";
81 w1.add_subaddress(0, label);
82 EXPECT_EQ(label, w1.get_subaddress_label({0, 1}));
89 w1.get_subaddress_label({1,0});
91 catch(
const std::exception& e)
97 w1.get_subaddress_label({0,2});
99 catch(
const std::exception& e)
const std::string test_label
const cryptonote::subaddress_index subaddress_index
const std::string password
crypto::secret_key recovery_key
#define TEST_F(test_fixture, test_name)
#define EXPECT_EQ(val1, val2)
#define EXPECT_STREQ(s1, s2)
epee::mlocked< tools::scrubbed< ec_scalar > > secret_key