18 |
#include "../network/lscpserver.h" |
#include "../network/lscpserver.h" |
19 |
|
|
20 |
using namespace std; |
using namespace std; |
21 |
|
using namespace LinuxSampler; |
22 |
|
|
23 |
class LSCPTest : public CppUnit::TestFixture { |
class LSCPTest : public CppUnit::TestFixture { |
24 |
|
|
42 |
bool closeConnectionToLSCPServer(); |
bool closeConnectionToLSCPServer(); |
43 |
|
|
44 |
void sendCommandToLSCPServer(string cmd); |
void sendCommandToLSCPServer(string cmd); |
45 |
string receiveSingleLineAnswerFromLSCPServer(uint timeout_seconds = 0) throw (LinuxSamplerException); |
string receiveSingleLineAnswerFromLSCPServer(uint timeout_seconds = 0) throw (Exception); |
46 |
vector<string> receiveMultiLineAnswerFromLSCPServer(uint timeout_seconds = 0) throw (LinuxSamplerException); |
vector<string> receiveMultiLineAnswerFromLSCPServer(uint timeout_seconds = 0) throw (Exception); |
47 |
string receiveAnswerFromLSCPServer(string delimiter, uint timeout_seconds = 0) throw (LinuxSamplerException); |
string receiveAnswerFromLSCPServer(string delimiter, uint timeout_seconds = 0) throw (Exception); |
48 |
void clearInputBuffer(); |
void clearInputBuffer(); |
49 |
public: |
public: |
50 |
void setUp(); |
void setUp(); |