MCPcopy Create free account
hub / github.com/Atarity/Lightpack / init

Method init

Software/tests/LightpackApiTest.cpp:87–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void LightpackApiTest::init()
88{
89 if (m_socket == NULL)
90 m_socket = new QTcpSocket();
91
92 // Reconnect to host before each test case
93 m_socket->connectToHost("127.0.0.1", 3636);
94
95 // Wait 5 second for connected
96 QVERIFY(m_socket->waitForConnected(5000));
97
98 // Check version of API and version of API Tests on match
99 QVERIFY(checkVersion(m_socket));
100
101 m_sockReadLineOk = false;
102}
103
104void LightpackApiTest::cleanup()
105{

Callers 2

jmpHookTestCaseMethod · 0.45
vfTableHookTestCaseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected