mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove test.cpp, switch Makefile to use main.cpp
This commit is contained in:
2
Makefile
2
Makefile
@@ -66,7 +66,7 @@ HEADERS = \
|
|||||||
Wallet.h
|
Wallet.h
|
||||||
|
|
||||||
SRCS= keystore.cpp BitcoinUtil.cpp \
|
SRCS= keystore.cpp BitcoinUtil.cpp \
|
||||||
test.cpp Hanko.cpp Transaction.cpp SHAMap.cpp SHAMapNodes.cpp Serializer.cpp Ledger.cpp \
|
main.cpp Hanko.cpp Transaction.cpp SHAMap.cpp SHAMapNodes.cpp Serializer.cpp Ledger.cpp \
|
||||||
AccountState.cpp Wallet.cpp NewcoinAddress.cpp Config.cpp PackedMessage.cpp \
|
AccountState.cpp Wallet.cpp NewcoinAddress.cpp Config.cpp PackedMessage.cpp \
|
||||||
Application.cpp TimingService.cpp KnownNodeList.cpp ConnectionPool.cpp Peer.cpp \
|
Application.cpp TimingService.cpp KnownNodeList.cpp ConnectionPool.cpp Peer.cpp \
|
||||||
PeerDoor.cpp RPCDoor.cpp RPCServer.cpp rpc.cpp Conversion.cpp RequestParser.cpp HashedObject.cpp \
|
PeerDoor.cpp RPCDoor.cpp RPCServer.cpp rpc.cpp Conversion.cpp RequestParser.cpp HashedObject.cpp \
|
||||||
|
|||||||
25
test.cpp
25
test.cpp
@@ -1,25 +0,0 @@
|
|||||||
#include <string>
|
|
||||||
#include "Application.h"
|
|
||||||
#include "ScopedLock.h"
|
|
||||||
#include "Serializer.h"
|
|
||||||
#include "Wallet.h"
|
|
||||||
#include "Ledger.h"
|
|
||||||
#include "SHAMap.h"
|
|
||||||
|
|
||||||
extern void DKunitTest();
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
|
|
||||||
// Wallet::unitTest();
|
|
||||||
|
|
||||||
theApp = new Application();
|
|
||||||
theApp->run();
|
|
||||||
|
|
||||||
|
|
||||||
Serializer::TestSerializer();
|
|
||||||
SHAMapNode::ClassInit();
|
|
||||||
SHAMap::TestSHAMap();
|
|
||||||
Ledger::unitTest();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user