Merge pull request #4850
1ffb99b
[Qt] copyright, style and indentation cleanup of Qt tests (Philip Kaufmann)
This commit is contained in:
commit
5e824181c1
6 changed files with 30 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
// Copyright (c) 2009-2014 The Bitcoin developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
//
|
||||
// Data for paymentservertests.cpp
|
||||
//
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
// Copyright (c) 2009-2014 The Bitcoin developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include "paymentservertests.h"
|
||||
|
||||
#include "optionsmodel.h"
|
||||
|
@ -21,7 +25,6 @@ X509 *parse_b64der_cert(const char* cert_data)
|
|||
return cert;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Test payment request handling
|
||||
//
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
// Copyright (c) 2009-2014 The Bitcoin developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef PAYMENTSERVERTESTS_H
|
||||
#define PAYMENTSERVERTESTS_H
|
||||
|
||||
|
@ -15,8 +19,8 @@ private slots:
|
|||
};
|
||||
|
||||
// Dummy class to receive paymentserver signals.
|
||||
// If SendCoinsRecipient was a proper QObject, then we could use
|
||||
// QSignalSpy... but it's not.
|
||||
// If SendCoinsRecipient was a proper QObject, then
|
||||
// we could use QSignalSpy... but it's not.
|
||||
class RecipientCatcher : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -1,11 +1,16 @@
|
|||
// Copyright (c) 2009-2014 The Bitcoin developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#if defined(HAVE_CONFIG_H)
|
||||
#include "config/bitcoin-config.h"
|
||||
#endif
|
||||
|
||||
#include "uritests.h"
|
||||
|
||||
#ifdef ENABLE_WALLET
|
||||
#include "paymentservertests.h"
|
||||
#endif
|
||||
#include "uritests.h"
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QObject>
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
// Copyright (c) 2009-2014 The Bitcoin developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include "uritests.h"
|
||||
|
||||
#include "guiutil.h"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
// Copyright (c) 2009-2014 The Bitcoin developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef URITESTS_H
|
||||
#define URITESTS_H
|
||||
|
||||
|
|
Loading…
Reference in a new issue