Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libqtsparql] Fix endpoint test on 64-bit. Fixes JB#57283 #5

Merged
merged 1 commit into from Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/auto/qsparql_endpoint/EndpointServer.cpp
Expand Up @@ -64,7 +64,7 @@ void EndpointServer::stop()
close();
}

void EndpointServer::incomingConnection(int socket)
void EndpointServer::incomingConnection(qintptr socket)
{
if (disabled)
return;
Expand Down
3 changes: 2 additions & 1 deletion tests/auto/qsparql_endpoint/EndpointServer.h
Expand Up @@ -55,8 +55,9 @@ class EndpointServer : public QTcpServer
void pause();
bool resume();
void stop();
protected:
void incomingConnection(qintptr socket) override;
private:
void incomingConnection(int socket);
QString sparqlData(QString url);
private Q_SLOTS:
void readClient();
Expand Down
1 change: 0 additions & 1 deletion tests/auto/qsparql_endpoint/tst_qsparql_endpoint.cpp
Expand Up @@ -78,7 +78,6 @@ tst_QSparqlEndpoint::~tst_QSparqlEndpoint()

void tst_QSparqlEndpoint::initTestCase()
{

endpointService = new EndpointService(8080);
endpointService->start();
while (!endpointService->isRunning())
Expand Down