Skip to content

Commit c1a63d5

Browse files
committed
1 parent dd57cf8 commit c1a63d5

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

test/Renci.SshNet.IntegrationTests/ScpTests.cs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public void SetUp()
2020
}
2121

2222
[TestMethod]
23-
[DynamicData(nameof(GetScpDownloadStreamDirectoryDoesNotExistData), DynamicDataSourceType.Method)]
23+
[DynamicData(nameof(GetScpDownloadStreamDirectoryDoesNotExistData))]
2424
public void Scp_Download_Stream_DirectoryDoesNotExist(IRemotePathTransformation remotePathTransformation,
2525
string remotePath,
2626
string remoteFile)
@@ -94,7 +94,7 @@ public void Scp_Download_Stream_DirectoryDoesNotExist(IRemotePathTransformation
9494
}
9595

9696
[TestMethod]
97-
[DynamicData(nameof(GetScpDownloadStreamFileDoesNotExistData), DynamicDataSourceType.Method)]
97+
[DynamicData(nameof(GetScpDownloadStreamFileDoesNotExistData))]
9898
public void Scp_Download_Stream_FileDoesNotExist(IRemotePathTransformation remotePathTransformation,
9999
string remotePath,
100100
string remoteFile)
@@ -170,7 +170,7 @@ public void Scp_Download_Stream_FileDoesNotExist(IRemotePathTransformation remot
170170
}
171171

172172
[TestMethod]
173-
[DynamicData(nameof(GetScpDownloadDirectoryInfoDirectoryDoesNotExistData), DynamicDataSourceType.Method)]
173+
[DynamicData(nameof(GetScpDownloadDirectoryInfoDirectoryDoesNotExistData))]
174174
public void Scp_Download_DirectoryInfo_DirectoryDoesNotExist(IRemotePathTransformation remotePathTransformation,
175175
string remotePath)
176176
{
@@ -228,7 +228,7 @@ public void Scp_Download_DirectoryInfo_DirectoryDoesNotExist(IRemotePathTransfor
228228
}
229229

230230
[TestMethod]
231-
[DynamicData(nameof(GetScpDownloadDirectoryInfoExistingFileData), DynamicDataSourceType.Method)]
231+
[DynamicData(nameof(GetScpDownloadDirectoryInfoExistingFileData))]
232232
public void Scp_Download_DirectoryInfo_ExistingFile(IRemotePathTransformation remotePathTransformation,
233233
string remotePath)
234234
{
@@ -291,7 +291,7 @@ public void Scp_Download_DirectoryInfo_ExistingFile(IRemotePathTransformation re
291291
}
292292

293293
[TestMethod]
294-
[DynamicData(nameof(GetScpDownloadDirectoryInfoExistingDirectoryData), DynamicDataSourceType.Method)]
294+
[DynamicData(nameof(GetScpDownloadDirectoryInfoExistingDirectoryData))]
295295
public void Scp_Download_DirectoryInfo_ExistingDirectory(IRemotePathTransformation remotePathTransformation,
296296
string remotePath)
297297
{
@@ -434,7 +434,7 @@ public void Scp_Download_DirectoryInfo_ExistingDirectory(IRemotePathTransformati
434434
}
435435

436436
[TestMethod]
437-
[DynamicData(nameof(GetScpDownloadFileInfoDirectoryDoesNotExistData), DynamicDataSourceType.Method)]
437+
[DynamicData(nameof(GetScpDownloadFileInfoDirectoryDoesNotExistData))]
438438
public void Scp_Download_FileInfo_DirectoryDoesNotExist(IRemotePathTransformation remotePathTransformation,
439439
string remotePath,
440440
string remoteFile)
@@ -506,7 +506,7 @@ public void Scp_Download_FileInfo_DirectoryDoesNotExist(IRemotePathTransformatio
506506
}
507507

508508
[TestMethod]
509-
[DynamicData(nameof(GetScpDownloadFileInfoFileDoesNotExistData), DynamicDataSourceType.Method)]
509+
[DynamicData(nameof(GetScpDownloadFileInfoFileDoesNotExistData))]
510510
public void Scp_Download_FileInfo_FileDoesNotExist(IRemotePathTransformation remotePathTransformation,
511511
string remotePath,
512512
string remoteFile)
@@ -580,7 +580,7 @@ public void Scp_Download_FileInfo_FileDoesNotExist(IRemotePathTransformation rem
580580
}
581581

582582
[TestMethod]
583-
[DynamicData(nameof(GetScpDownloadFileInfoExistingDirectoryData), DynamicDataSourceType.Method)]
583+
[DynamicData(nameof(GetScpDownloadFileInfoExistingDirectoryData))]
584584
public void Scp_Download_FileInfo_ExistingDirectory(IRemotePathTransformation remotePathTransformation,
585585
string remotePath)
586586
{
@@ -649,7 +649,7 @@ public void Scp_Download_FileInfo_ExistingDirectory(IRemotePathTransformation re
649649
}
650650

651651
[TestMethod]
652-
[DynamicData(nameof(GetScpDownloadFileInfoExistingFileData), DynamicDataSourceType.Method)]
652+
[DynamicData(nameof(GetScpDownloadFileInfoExistingFileData))]
653653
public void Scp_Download_FileInfo_ExistingFile(IRemotePathTransformation remotePathTransformation,
654654
string remotePath,
655655
string remoteFile,
@@ -741,7 +741,7 @@ public void Scp_Download_FileInfo_ExistingFile(IRemotePathTransformation remoteP
741741
}
742742

743743
[TestMethod]
744-
[DynamicData(nameof(GetScpDownloadStreamExistingDirectoryData), DynamicDataSourceType.Method)]
744+
[DynamicData(nameof(GetScpDownloadStreamExistingDirectoryData))]
745745
public void Scp_Download_Stream_ExistingDirectory(IRemotePathTransformation remotePathTransformation,
746746
string remotePath)
747747
{
@@ -809,7 +809,7 @@ public void Scp_Download_Stream_ExistingDirectory(IRemotePathTransformation remo
809809
}
810810

811811
[TestMethod]
812-
[DynamicData(nameof(GetScpDownloadStreamExistingFileData), DynamicDataSourceType.Method)]
812+
[DynamicData(nameof(GetScpDownloadStreamExistingFileData))]
813813
public void Scp_Download_Stream_ExistingFile(IRemotePathTransformation remotePathTransformation,
814814
string remotePath,
815815
string remoteFile,
@@ -896,7 +896,7 @@ public void Scp_Download_Stream_ExistingFile(IRemotePathTransformation remotePat
896896
}
897897

898898
[TestMethod]
899-
[DynamicData(nameof(GetScpUploadFileStreamDirectoryDoesNotExistData), DynamicDataSourceType.Method)]
899+
[DynamicData(nameof(GetScpUploadFileStreamDirectoryDoesNotExistData))]
900900
public void Scp_Upload_FileStream_DirectoryDoesNotExist(IRemotePathTransformation remotePathTransformation,
901901
string remotePath,
902902
string remoteFile)
@@ -966,7 +966,7 @@ public void Scp_Upload_FileStream_DirectoryDoesNotExist(IRemotePathTransformatio
966966
}
967967

968968
[TestMethod]
969-
[DynamicData(nameof(GetScpUploadFileStreamExistingDirectoryData), DynamicDataSourceType.Method)]
969+
[DynamicData(nameof(GetScpUploadFileStreamExistingDirectoryData))]
970970
public void Scp_Upload_FileStream_ExistingDirectory(IRemotePathTransformation remotePathTransformation,
971971
string remoteFile)
972972
{
@@ -1029,7 +1029,7 @@ public void Scp_Upload_FileStream_ExistingDirectory(IRemotePathTransformation re
10291029
}
10301030

10311031
[TestMethod]
1032-
[DynamicData(nameof(ScpUploadFileStreamExistingFileData), DynamicDataSourceType.Method)]
1032+
[DynamicData(nameof(ScpUploadFileStreamExistingFileData))]
10331033
public void Scp_Upload_FileStream_ExistingFile(IRemotePathTransformation remotePathTransformation,
10341034
string remoteFile)
10351035
{
@@ -1098,7 +1098,7 @@ public void Scp_Upload_FileStream_ExistingFile(IRemotePathTransformation remoteP
10981098
}
10991099

11001100
[TestMethod]
1101-
[DynamicData(nameof(GetScpUploadFileStreamFileDoesNotExistData), DynamicDataSourceType.Method)]
1101+
[DynamicData(nameof(GetScpUploadFileStreamFileDoesNotExistData))]
11021102
public void Scp_Upload_FileStream_FileDoesNotExist(IRemotePathTransformation remotePathTransformation,
11031103
string remotePath,
11041104
string remoteFile,
@@ -1197,7 +1197,7 @@ public void Scp_Upload_FileStream_FileDoesNotExist(IRemotePathTransformation rem
11971197
/// https://github.com/sshnet/SSH.NET/issues/289
11981198
/// </summary>
11991199
[TestMethod]
1200-
[DynamicData(nameof(GetScpUploadFileInfoDirectoryDoesNotExistData), DynamicDataSourceType.Method)]
1200+
[DynamicData(nameof(GetScpUploadFileInfoDirectoryDoesNotExistData))]
12011201
public void Scp_Upload_FileInfo_DirectoryDoesNotExist(IRemotePathTransformation remotePathTransformation,
12021202
string remotePath,
12031203
string remoteFile)
@@ -1277,7 +1277,7 @@ public void Scp_Upload_FileInfo_DirectoryDoesNotExist(IRemotePathTransformation
12771277
/// https://github.com/sshnet/SSH.NET/issues/286
12781278
/// </summary>
12791279
[TestMethod]
1280-
[DynamicData(nameof(GetScpUploadFileInfoExistingDirectoryData), DynamicDataSourceType.Method)]
1280+
[DynamicData(nameof(GetScpUploadFileInfoExistingDirectoryData))]
12811281
public void Scp_Upload_FileInfo_ExistingDirectory(IRemotePathTransformation remotePathTransformation,
12821282
string remoteFile)
12831283
{
@@ -1339,7 +1339,7 @@ public void Scp_Upload_FileInfo_ExistingDirectory(IRemotePathTransformation remo
13391339
}
13401340

13411341
[TestMethod]
1342-
[DynamicData(nameof(GetScpUploadFileInfoExistingFileData), DynamicDataSourceType.Method)]
1342+
[DynamicData(nameof(GetScpUploadFileInfoExistingFileData))]
13431343
public void Scp_Upload_FileInfo_ExistingFile(IRemotePathTransformation remotePathTransformation,
13441344
string remoteFile)
13451345
{
@@ -1417,7 +1417,7 @@ public void Scp_Upload_FileInfo_ExistingFile(IRemotePathTransformation remotePat
14171417
}
14181418

14191419
[TestMethod]
1420-
[DynamicData(nameof(GetScpUploadFileInfoFileDoesNotExistData), DynamicDataSourceType.Method)]
1420+
[DynamicData(nameof(GetScpUploadFileInfoFileDoesNotExistData))]
14211421
public void Scp_Upload_FileInfo_FileDoesNotExist(IRemotePathTransformation remotePathTransformation,
14221422
string remotePath,
14231423
string remoteFile,
@@ -1522,7 +1522,7 @@ public void Scp_Upload_FileInfo_FileDoesNotExist(IRemotePathTransformation remot
15221522
}
15231523

15241524
[TestMethod]
1525-
[DynamicData(nameof(GetScpUploadDirectoryInfoDirectoryDoesNotExistData), DynamicDataSourceType.Method)]
1525+
[DynamicData(nameof(GetScpUploadDirectoryInfoDirectoryDoesNotExistData))]
15261526
public void Scp_Upload_DirectoryInfo_DirectoryDoesNotExist(IRemotePathTransformation remotePathTransformation,
15271527
string remoteDirectory)
15281528
{
@@ -1587,7 +1587,7 @@ public void Scp_Upload_DirectoryInfo_DirectoryDoesNotExist(IRemotePathTransforma
15871587
}
15881588

15891589
[TestMethod]
1590-
[DynamicData(nameof(GetScpUploadDirectoryInfoExistingDirectoryData), DynamicDataSourceType.Method)]
1590+
[DynamicData(nameof(GetScpUploadDirectoryInfoExistingDirectoryData))]
15911591
public void Scp_Upload_DirectoryInfo_ExistingDirectory(IRemotePathTransformation remotePathTransformation,
15921592
string remoteDirectory)
15931593
{
@@ -1791,7 +1791,7 @@ public void Scp_Upload_DirectoryInfo_ExistingDirectory(IRemotePathTransformation
17911791
}
17921792

17931793
[TestMethod]
1794-
[DynamicData(nameof(GetScpUploadDirectoryInfoExistingFileData), DynamicDataSourceType.Method)]
1794+
[DynamicData(nameof(GetScpUploadDirectoryInfoExistingFileData))]
17951795
public void Scp_Upload_DirectoryInfo_ExistingFile(IRemotePathTransformation remotePathTransformation,
17961796
string remoteDirectory)
17971797
{

test/Renci.SshNet.IntegrationTests/SftpTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void SetUp()
2626
}
2727

2828
[TestMethod]
29-
[DynamicData(nameof(GetSftpUploadFileFileStreamData), DynamicDataSourceType.Method)]
29+
[DynamicData(nameof(GetSftpUploadFileFileStreamData))]
3030
public void Sftp_UploadFile_FileStream(int size)
3131
{
3232
var file = CreateTempFile(size);

0 commit comments

Comments
 (0)