Skip to content

Commit a296860

Browse files
committed
Update RoboCommandPortableTests.cs
Trigger RoboCommandPortable to test against the RoboCommand test suite
1 parent 3040a94 commit a296860

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

RoboSharp.Extensions.UnitTests/RoboCommandPortableTests.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ protected override IRoboCommand GenerateCommand(bool UseLargerFileSet, bool List
3838
}
3939
}
4040

41+
42+
/// <summary>
43+
/// <br/> Runs the full <see cref="CommandTests{T}"/> suite against <see cref="RoboCommandPortable"/>.
44+
/// <br/> Failures here indicate bugs in the portable implementation, not in the test expectations (which are validated by <see cref="RoboCommand_Tests"/>).
45+
/// </summary>
46+
[TestClass]
47+
public class RoboCommandPortable_CommandTests : CommandTests<RoboCommandPortable>
48+
{
49+
protected override RoboCommandPortable GetCommand() => new RoboCommandPortable(StreamedCopierFactory.DefaultFactory);
50+
}
51+
4152
/// <summary>
4253
/// Validate that the command works the same as robocopy
4354
/// </summary>

0 commit comments

Comments
 (0)