mirror of
https://github.com/QuasarApp/Heart.git
synced 2025-05-10 16:39:41 +00:00
remove support windows for big data
This commit is contained in:
parent
fba44e7d39
commit
43abcee098
@ -86,8 +86,11 @@ BigDataTest::~BigDataTest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void BigDataTest::test() {
|
void BigDataTest::test() {
|
||||||
|
#ifdef Q_OS_LINUX
|
||||||
|
|
||||||
QVERIFY(connectTest());
|
QVERIFY(connectTest());
|
||||||
QVERIFY(sendDataTest());
|
QVERIFY(sendDataTest());
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BigDataTest::connectTest() {
|
bool BigDataTest::connectTest() {
|
||||||
@ -101,8 +104,9 @@ bool BigDataTest::connectTest() {
|
|||||||
|
|
||||||
bool BigDataTest::sendDataTest() {
|
bool BigDataTest::sendDataTest() {
|
||||||
|
|
||||||
|
|
||||||
QByteArray testData;
|
QByteArray testData;
|
||||||
for (int i = 0; i < 128999; i++) {
|
for (int i = 0; i < 1289990; i++) {
|
||||||
testData.push_back(rand());
|
testData.push_back(rand());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user