mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-09 02:26:02 +03:00
Add tests for custom type properties in maps
This commit is contained in:
parent
5fd05683f6
commit
7b7e499b0d
8 changed files with 243 additions and 4 deletions
|
@ -28,10 +28,11 @@ public static partial class TestData
|
|||
return stringReader.ReadToEnd();
|
||||
}
|
||||
|
||||
public static IEnumerable<object[]> MapsThatHaveTmxAndTmj =>
|
||||
public static IEnumerable<object[]> MapTests =>
|
||||
[
|
||||
["Serialization.TestData.Map.default_map.default-map", TestData.DefaultMap(), Array.Empty<CustomTypeDefinition>()],
|
||||
["Serialization.TestData.Map.map_with_common_props.map-with-common-props", TestData.MapWithCommonProps(), Array.Empty<CustomTypeDefinition>()]
|
||||
["Serialization.TestData.Map.map_with_common_props.map-with-common-props", TestData.MapWithCommonProps(), Array.Empty<CustomTypeDefinition>()],
|
||||
["Serialization.TestData.Map.map_with_custom_type_props.map-with-custom-type-props", TestData.MapWithCustomTypeProps(), TestData.MapWithCustomTypePropsCustomTypeDefinitions()]
|
||||
];
|
||||
|
||||
private static CustomTypeDefinition[] typedefs = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue