diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-10 18:27:09 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-10 18:27:09 -0400 |
commit | 77b4d1e9a2187b3fb1222da5a7209c1bbb6f6d3c (patch) | |
tree | a04fdb9e5e0b1bdd49ac5097487f6186797abfc0 /src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley/Object.cs | |
parent | 9fba3c12667555958e2eb6ecf1d2ebe47fd77c58 (diff) | |
parent | b74b530a8acd850a0fa04f24347b91f02be7cbb6 (diff) | |
download | SMAPI-77b4d1e9a2187b3fb1222da5a7209c1bbb6f6d3c.tar.gz SMAPI-77b4d1e9a2187b3fb1222da5a7209c1bbb6f6d3c.tar.bz2 SMAPI-77b4d1e9a2187b3fb1222da5a7209c1bbb6f6d3c.zip |
Merge branch 'feature/mod-code-analysis' into develop
Diffstat (limited to 'src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley/Object.cs')
-rw-r--r-- | src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley/Object.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley/Object.cs b/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley/Object.cs new file mode 100644 index 00000000..3dd66a6d --- /dev/null +++ b/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/StardewValley/Object.cs @@ -0,0 +1,12 @@ +// ReSharper disable CheckNamespace, InconsistentNaming -- matches Stardew Valley's code +using Netcode; + +namespace StardewValley +{ + /// <summary>A simplified version of Stardew Valley's <c>StardewValley.Object</c> class for unit testing.</summary> + public class Object : Item + { + /// <summary>A net int field with an equivalent non-net property.</summary> + public NetInt type = new NetInt { Value = 42 }; + } +} |