Anoncoin
0.9.4
P2P Digital Currency
Main Page
Namespaces
Classes
Files
File List
File Members
src
qt
test
paymentservertests.h
Go to the documentation of this file.
1
#ifndef PAYMENTSERVERTESTS_H
2
#define PAYMENTSERVERTESTS_H
3
4
#include "../paymentserver.h"
5
6
#include <QObject>
7
#include <QTest>
8
9
class
PaymentServerTests
:
public
QObject
10
{
11
Q_OBJECT
12
13
private
slots:
14
void
paymentServerTests
();
15
};
16
17
// Dummy class to receive paymentserver signals.
18
// If SendCoinsRecipient was a proper QObject, then we could use
19
// QSignalSpy... but it's not.
20
class
RecipientCatcher
:
public
QObject
21
{
22
Q_OBJECT
23
24
public
slots:
25
void
getRecipient
(
SendCoinsRecipient
r);
26
27
public
:
28
SendCoinsRecipient
recipient
;
29
};
30
31
#endif // PAYMENTSERVERTESTS_H
RecipientCatcher::recipient
SendCoinsRecipient recipient
Definition:
paymentservertests.h:28
RecipientCatcher::getRecipient
void getRecipient(SendCoinsRecipient r)
Definition:
paymentservertests.cpp:109
SendCoinsRecipient
Definition:
walletmodel.h:37
RecipientCatcher
Definition:
paymentservertests.h:20
PaymentServerTests
Definition:
paymentservertests.h:9
PaymentServerTests::paymentServerTests
void paymentServerTests()
Definition:
paymentservertests.cpp:57
Generated on Fri Feb 6 2015 10:48:15 for Anoncoin by
1.8.9.1