Skip to content

Commit

Permalink
Add curve option test
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Ferrazzo committed Apr 4, 2015
1 parent a881622 commit 5e07c65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testsocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ void TestSocket::testSockOptions_data()
QTest::addColumn<QVariant>("value");

QTest::newRow("sndhwm") << ZMQSocket::SndHwm << QVariant(3);
#if ZMQ_VERSION_MAJOR > 3
QTest::newRow("curve") << ZMQSocket::CurveServerKey << QVariant(QByteArray("Yne@$w-vo<fVvi]a<NY6T1ed:M$fCG*[IaLV{hID"));
#endif
}

void TestSocket::testSockOptions()
Expand Down

0 comments on commit 5e07c65

Please sign in to comment.