public static FileInfo createIncompleteTestEntity()
 => new FileInfo(
     new Uri(@"\test\test.file", UriKind.Relative),
     DateTime.Now.AddMinutes(-5),
     null,
     DateTime.Now,
     DirectorySetupId.New(),
     100,
     false);
 public static FileInfo createTestEntity()
 => new FileInfo(
     new Uri(@"\test\test.file", UriKind.Relative),
     DateTime.Now.AddMinutes(-5),
     new FileHash(new byte[] { 00, 01, 02, 03, 04, 05 }),
     DateTime.Now,
     DirectorySetupId.New(),
     100,
     false);
Beispiel #3
0
 private DirectorySetup createTestEntity()
 => new DirectorySetup(new Uri(@"C:\test\test.test"), (DirectorySetupName)"testDir", (Description)"testDesc", DirectorySetupId.New(), DateTime.Now.AddMinutes(-5), DateTime.Now);