Skip to content

Commit

Permalink
Removed: Temporary leftovers from future ADR/PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Sep 27, 2023
1 parent 615642e commit 724be11
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@ public interface IModInstallDestination
/// GamePath to which the relative mod file paths should appended to.
/// </summary>
public GamePath DestinationGamePath { get; }

/// <summary>
/// List of known recognizable file extensions for direct children of the target <see cref="DestinationGamePath"/>.
/// NOTE: Only include file extensions that are only likely to appear at this level of the folder hierarchy.
/// </summary>
public IEnumerable<Extension> KnownValidFileExtensions { get; }

/// <summary>
/// List of file extensions to discard when installing to this target.
/// </summary>
public IEnumerable<Extension> FileExtensionsToDiscard { get; }
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public void FromInstallFolderTargets_WithoutChild()
for (var i = 0; i < result.Count; i++)
{
result[i].DestinationGamePath.Should().Be(targets[i].DestinationGamePath);
result[i].KnownValidFileExtensions.Should().Equal(targets[i].KnownValidFileExtensions);
}
}

Expand All @@ -40,10 +39,6 @@ public void FromInstallFolderTargets_DetectsNestedChildren()
// Assert
result.Should().NotBeNull();
result.Should().HaveCount(2);

// Verify nested element is present at any index.
result.Should().Contain(x =>
x.KnownValidFileExtensions.SequenceEqual(DataInstallFolderTarget.KnownValidFileExtensions));
}

static readonly InstallFolderTarget DataInstallFolderTarget = new()
Expand Down

0 comments on commit 724be11

Please sign in to comment.