![]() |
1
0
您可以使用Google mock编写类的模拟,如Qt文档中所述 https://doc.qt.io/qt-5/qttest-best-practices-qdoc.html#writing-testable-code |