Files

39 lines
1.1 KiB
C++
Raw Permalink Normal View History

2019-05-24 23:32:20 +02:00
/*
* This file is part of the Flowee project
* Copyright (C) 2019-2021 Tom Zander <tom@flowee.org>
2019-05-24 23:32:20 +02:00
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TESTAPI_H
#define TESTAPI_H
2019-06-16 00:23:09 +02:00
#include "BlackBoxTest.h"
2019-05-24 23:32:20 +02:00
class TestApiLive : public BlackBoxTest
{
Q_OBJECT
private slots:
void testBasic();
2019-05-25 14:31:36 +02:00
void testSendTx();
2019-06-10 16:44:17 +02:00
void testUtxo();
2020-12-24 12:52:25 +01:00
void testGetMempoolInfo();
void testGetTransaction();
2019-06-10 16:44:17 +02:00
private:
// Mine 100 blocks onto a new address and return address
Streaming::ConstBuffer generate100(int nodeId = 0);
2019-05-24 23:32:20 +02:00
};
#endif