From e7c51ebd0595b61734b41a84d5a9789b5645c65f Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Mon, 21 Oct 2013 11:59:26 +0200 Subject: [PATCH] Abi: Add unit tests for MSVC2013 detection Change-Id: I7ab801761d88c4dde45fe1fb9f6731b65ac3d0f0 Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/abi.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp index 2ce26a195dd..b0c45aa001a 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"));