Changeset View
Changeset View
Standalone View
Standalone View
src/qt/test/bitcoinaddressvalidatortests.cpp
// Copyright (c) 2017 The Bitcoin Developers | // Copyright (c) 2017 The Bitcoin Developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "qt/test/bitcoinaddressvalidatortests.h" | #include <qt/bitcoinaddressvalidator.h> | ||||
#include "chainparams.h" | #include <qt/test/bitcoinaddressvalidatortests.h> | ||||
#include "qt/bitcoinaddressvalidator.h" | |||||
#include <chainparams.h> | |||||
#include <QValidator> | #include <QValidator> | ||||
void BitcoinAddressValidatorTests::inputTests() { | void BitcoinAddressValidatorTests::inputTests() { | ||||
const auto params = CreateChainParams(CBaseChainParams::MAIN); | const auto params = CreateChainParams(CBaseChainParams::MAIN); | ||||
const std::string prefix = params->CashAddrPrefix(); | const std::string prefix = params->CashAddrPrefix(); | ||||
BitcoinAddressEntryValidator v(prefix, nullptr); | BitcoinAddressEntryValidator v(prefix, nullptr); | ||||
int unused = 0; | int unused = 0; | ||||
Show All 39 Lines |