summaryrefslogtreecommitdiff
path: root/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-04-10 18:23:57 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-04-10 18:23:57 -0400
commit13f31e8b725e46ca8442a943a5675723d22b4fdc (patch)
tree3ab8d45c71032e9960dbb87d888eea07f7ef9a32 /src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley
parentc6c2302baf830a441b269ef7402068bd9dece22e (diff)
downloadSMAPI-13f31e8b725e46ca8442a943a5675723d22b4fdc.tar.gz
SMAPI-13f31e8b725e46ca8442a943a5675723d22b4fdc.tar.bz2
SMAPI-13f31e8b725e46ca8442a943a5675723d22b4fdc.zip
warn for fields which no longer work (#471)
Diffstat (limited to 'src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley')
-rw-r--r--src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley/Farmer.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley/Farmer.cs b/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley/Farmer.cs
new file mode 100644
index 00000000..e0f0e30c
--- /dev/null
+++ b/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley/Farmer.cs
@@ -0,0 +1,11 @@
+// ReSharper disable CheckNamespace, InconsistentNaming -- matches Stardew Valley's code
+using System.Collections.Generic;
+
+namespace StardewValley
+{
+ /// <summary>A simplified version of Stardew Valley's <c>StardewValley.Farmer</c> class for unit testing.</summary>
+ internal class Farmer
+ {
+ public IDictionary<string, int[]> friendships;
+ }
+}