aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-10-21 11:59:26 +0200
committerTobias Hunger <tobias.hunger@digia.com>2013-10-21 12:00:40 +0200
commite7c51ebd0595b61734b41a84d5a9789b5645c65f (patch)
tree5da5e57697733b31927bb752460ae52dd1dead78 /src
parent67a7eba6faf7fdd4f1007dba5ad7cceb0785ae51 (diff)
Abi: Add unit tests for MSVC2013 detection
Change-Id: I7ab801761d88c4dde45fe1fb9f6731b65ac3d0f0 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/projectexplorer/abi.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp
index 2ce26a195d..b0c45aa001 100644
--- a/src/plugins/projectexplorer/abi.cpp
+++ b/src/plugins/projectexplorer/abi.cpp
@@ -893,6 +893,18 @@ void ProjectExplorer::ProjectExplorerPlugin::testAbiOfBinary_data()
<< QString::fromLatin1("ppc-macos-generic-mach_o-32bit")
<< QString::fromLatin1("x86-macos-generic-mach_o-64bit"));
+ QTest::newRow("executable: win msvc2013 64bit")
+ << QString::fromLatin1("%1/executables/x86-windows-mvsc2013-pe-64bit.exe").arg(prefix)
+ << (QStringList() << QString::fromLatin1("x86-windows-msvc2013-pe-64bit"));
+ QTest::newRow("executable: win msvc2013 32bit")
+ << QString::fromLatin1("%1/executables/x86-windows-mvsc2013-pe-32bit.exe").arg(prefix)
+ << (QStringList() << QString::fromLatin1("x86-windows-msvc2013-pe-32bit"));
+ QTest::newRow("dynamic: win msvc2013 64bit")
+ << QString::fromLatin1("%1/dynamic/x86-windows-mvsc2013-pe-64bit.dll").arg(prefix)
+ << (QStringList() << QString::fromLatin1("x86-windows-msvc2013-pe-64bit"));
+ QTest::newRow("dynamic: win msvc2013 32bit")
+ << QString::fromLatin1("%1/dynamic/x86-windows-mvsc2013-pe-32bit.dll").arg(prefix)
+ << (QStringList() << QString::fromLatin1("x86-windows-msvc2013-pe-32bit"));
QTest::newRow("dynamic QtCore: win msvc2010 64bit")
<< QString::fromLatin1("%1/dynamic/win-msvc2010-64bit.dll").arg(prefix)
<< (QStringList() << QString::fromLatin1("x86-windows-msvc2010-pe-64bit"));