企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] ## 通讯宏 ``` QBENCHMARK QBENCHMARK_ONCE QCOMPARE(actual, expected) QEXPECT_FAIL(dataIndex, comment, mode) QFAIL(message) QFETCH(type, name) QFINDTESTDATA(filename) QSKIP(description) QTEST(actual, testElement) QTEST_APPLESS_MAIN(TestClass) QTEST_GUILESS_MAIN(TestClass) QTEST_MAIN(TestClass) QTRY_COMPARE(actual, expected) QTRY_COMPARE_WITH_TIMEOUT(actual, expected, timeout) QTRY_VERIFY2(condition, message) QTRY_VERIFY(condition) QTRY_VERIFY2_WITH_TIMEOUT(condition, message, timeout) QTRY_VERIFY_WITH_TIMEOUT(condition, timeout) QVERIFY2(condition, message) QVERIFY(condition) QVERIFY_EXCEPTION_THROWN(expression, exceptiontype) QWARN(message) ```