Browse Source

remove MoveNonceToTempDir

cl-refactor
subtly 10 years ago
parent
commit
b65ca8d254
  1. 5
      test/TestUtils.cpp
  2. 8
      test/TestUtils.h
  3. 2
      test/libdevcrypto/SecretStore.cpp
  4. 2
      test/libdevcrypto/crypto.cpp

5
test/TestUtils.cpp

@ -120,8 +120,3 @@ void ParallelClientBaseFixture::enumerateClients(std::function<void(Json::Value
});
}
MoveNonceToTempDir::MoveNonceToTempDir()
{
crypto::Nonce::seedFilePath(m_dir.path() + "/seed");
}

8
test/TestUtils.h

@ -79,13 +79,5 @@ struct JsonRpcFixture: public ClientBaseFixture
};
struct MoveNonceToTempDir
{
MoveNonceToTempDir();
~MoveNonceToTempDir() {}
private:
TransientDirectory m_dir;
};
}
}

2
test/libdevcrypto/SecretStore.cpp

@ -37,8 +37,6 @@ using namespace dev::test;
namespace js = json_spirit;
namespace fs = boost::filesystem;
BOOST_GLOBAL_FIXTURE( MoveNonceToTempDir )
BOOST_AUTO_TEST_SUITE(KeyStore)
BOOST_AUTO_TEST_CASE(basic_tests)

2
test/libdevcrypto/crypto.cpp

@ -40,8 +40,6 @@ using namespace dev::test;
using namespace dev::crypto;
using namespace CryptoPP;
BOOST_GLOBAL_FIXTURE( MoveNonceToTempDir )
BOOST_AUTO_TEST_SUITE(devcrypto)
static Secp256k1PP s_secp256k1;

Loading…
Cancel
Save