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

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

Issue 11266051: Add PNaCl support for VS addin. (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: fix nits and tests Created 8 years, 2 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/MockPropertyManager.cs
diff --git a/visual_studio/NativeClientVSAddIn/UnitTests/MockPropertyManager.cs b/visual_studio/NativeClientVSAddIn/UnitTests/MockPropertyManager.cs
index 71891504d1f1f5b69203ec8392665c056111e964..65f98733f6433bebbff2343ac833b33cb9fcddce 100644
--- a/visual_studio/NativeClientVSAddIn/UnitTests/MockPropertyManager.cs
+++ b/visual_studio/NativeClientVSAddIn/UnitTests/MockPropertyManager.cs
@@ -30,7 +30,11 @@ namespace NativeClientVSAddIn
public MockPropertyManager(
ProjectPlatformType platformType, PropertyGetter getter, PropertySetter setter)
{
- this.ProjectPlatform = platformType;
+ this.PlatformType = platformType;
+ if (platformType == ProjectPlatformType.NaCl)
+ this.PlatformName = Strings.NaCl64PlatformName;
+ else
+ this.PlatformName = Strings.PepperPlatformName;
getter_ = getter;
setter_ = setter;
}

Powered by Google App Engine
This is Rietveld 408576698