mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Move machine to same name model as DatItem
This commit is contained in:
@@ -31,7 +31,7 @@ namespace SabreTools.DatFiles.Test
|
||||
Source source = new Source(0, source: null);
|
||||
|
||||
Machine machine = new Machine();
|
||||
machine.SetFieldValue<string?>(Models.Metadata.Machine.NameKey, "key");
|
||||
machine.SetName("key");
|
||||
|
||||
DatItem rom = new Rom();
|
||||
rom.SetName("rom");
|
||||
@@ -73,7 +73,7 @@ namespace SabreTools.DatFiles.Test
|
||||
Source source = new Source(0, source: null);
|
||||
|
||||
Machine machine = new Machine();
|
||||
machine.SetFieldValue<string?>(Models.Metadata.Machine.NameKey, "game-1");
|
||||
machine.SetName("game-1");
|
||||
|
||||
DatItem datItem = new Rom();
|
||||
datItem.SetFieldValue<Source?>(DatItem.SourceKey, source);
|
||||
@@ -92,7 +92,7 @@ namespace SabreTools.DatFiles.Test
|
||||
Source source = new Source(0, source: null);
|
||||
|
||||
Machine machine = new Machine();
|
||||
machine.SetFieldValue<string?>(Models.Metadata.Machine.NameKey, "game-1");
|
||||
machine.SetName("game-1");
|
||||
|
||||
DatItem datItem = new Rom();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user