Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1119)

Unified Diff: visual_studio/NativeClientVSAddIn/UnitTests/BaseCompileTest.cs

Issue 14122017: [VS Addin] Add visual studio 2012 support (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: visual_studio/NativeClientVSAddIn/UnitTests/BaseCompileTest.cs
diff --git a/visual_studio/NativeClientVSAddIn/UnitTests/BaseCompileTest.cs b/visual_studio/NativeClientVSAddIn/UnitTests/BaseCompileTest.cs
index ab7c58e85cf7cfe1472848ff3716fb31e8815c7c..03959c31bb8f61b8df4808a091def5c98d8a9fe9 100644
--- a/visual_studio/NativeClientVSAddIn/UnitTests/BaseCompileTest.cs
+++ b/visual_studio/NativeClientVSAddIn/UnitTests/BaseCompileTest.cs
@@ -103,16 +103,7 @@ namespace UnitTests
private void SetProjectType(string projectType, string platformName)
{
Project project = dte_.Solution.Projects.Item(TestUtilities.NaClProjectUniqueName);
- VCConfiguration config;
- IVCRulePropertyStorage rule;
-
- config = TestUtilities.GetVCConfiguration(project, "Debug", platformName);
- rule = config.Rules.Item("ConfigurationGeneral");
- rule.SetPropertyValue("ConfigurationType", projectType);
-
- config = TestUtilities.GetVCConfiguration(project, "Release", platformName);
- rule = config.Rules.Item("ConfigurationGeneral");
- rule.SetPropertyValue("ConfigurationType", projectType);
+ TestUtilities.SetProjectType(project, projectType, platformName);
}
protected void CheckCompile(string platform, bool dll)

Powered by Google App Engine
This is Rietveld 408576698