mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-02 12:39:35 +00:00
22 lines
469 B
C
22 lines
469 B
C
|
#ifndef TESTUTILS_H
|
||
|
#define TESTUTILS_H
|
||
|
|
||
|
#include <QSet>
|
||
|
|
||
|
class TestUtils
|
||
|
{
|
||
|
public:
|
||
|
TestUtils();
|
||
|
QSet<QString> getTree( const QString& path);
|
||
|
/**
|
||
|
* @brief compareTree - compare 2 tree
|
||
|
* @param leftTree
|
||
|
* @param rightTree
|
||
|
* @return hash with pathes and indexes( 1 - missing left and -1 - missing right)
|
||
|
*/
|
||
|
QHash<QString, int> compareTree(const QSet<QString>& leftTree, const QSet<QString>& rightTree);
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // TESTUTILS_H
|