up:远端不存在目录校验功能测试完毕。

This commit is contained in:
2025-11-08 18:11:52 +08:00
parent bd1f0ffb8c
commit 910c1598f2
15 changed files with 777 additions and 37 deletions

View File

@@ -2,6 +2,8 @@
#include <QDebug>
#include <QElapsedTimer>
#include <InfoMsg.h>
#include <InfoPack.hpp>
int infoTest1()
{
@@ -80,4 +82,15 @@ void performanceTest()
in >> val;
}
qDebug() << "New streams:" << timer.elapsed() << "ms";
}
}
int infoTest3()
{
InfoMsg msg1;
msg1.mapData["C++"].command = "exec";
msg1.command = "FFASS0";
auto bytes = infoPack<InfoMsg>(msg1);
auto msg2 = infoUnpack<InfoMsg>(bytes);
return 0;
}

View File

@@ -5,6 +5,7 @@
int infoTest1();
int infoTest2();
int infoTest3();
void performanceTest();
#endif
#endif

View File

@@ -22,7 +22,7 @@ int test1()
int main()
{
setConsoleMsgHandler();
test1();
//setConsoleMsgHandler();
infoTest3();
return 0;
}
}