VcsManager: Add unit tests

Add some unit tests to the VcsManager to test the detection and
caching of version control systems.

Change-Id: I2b3f9218c12aebde8a8120fc869efc76c36ae41a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-12-06 13:38:36 +01:00
parent d20dd06abb
commit f82b12e36c
4 changed files with 297 additions and 0 deletions

View File

@@ -57,6 +57,12 @@ public:
public slots:
void fileOpenRequest(const QString&);
private slots:
#if defined(WITH_TESTS)
void testVcsManager_data();
void testVcsManager();
#endif
private:
void parseArguments(const QStringList & arguments);