mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-09 02:26:02 +03:00
Remove old maps from tests and seperate model more
This commit is contained in:
parent
33f1f4dcb7
commit
4aebf1d67b
43 changed files with 290 additions and 1296 deletions
|
@ -6,6 +6,8 @@ public static partial class TestData
|
|||
{
|
||||
public static XmlReader GetXmlReaderFor(string testDataFile)
|
||||
{
|
||||
var names = typeof(TestData).Assembly.GetManifestResourceNames();
|
||||
|
||||
var fullyQualifiedTestDataFile = $"DotTiled.Tests.{testDataFile}";
|
||||
using var stream = typeof(TestData).Assembly.GetManifestResourceStream(fullyQualifiedTestDataFile)
|
||||
?? throw new ArgumentException($"Test data file '{fullyQualifiedTestDataFile}' not found");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue