mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
Remove underscores from Test method's name
This commit is contained in:
@@ -47,7 +47,7 @@ public class SCPFileTransferTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void should_SCP_Upload_File() throws IOException {
|
public void shouldSCPUpload_File() throws IOException {
|
||||||
SCPFileTransfer scpFileTransfer = sshClient.newSCPFileTransfer();
|
SCPFileTransfer scpFileTransfer = sshClient.newSCPFileTransfer();
|
||||||
assertFalse(targetFile.exists());
|
assertFalse(targetFile.exists());
|
||||||
scpFileTransfer.upload(sourceFile.getAbsolutePath(), targetDir.getAbsolutePath());
|
scpFileTransfer.upload(sourceFile.getAbsolutePath(), targetDir.getAbsolutePath());
|
||||||
@@ -55,7 +55,7 @@ public class SCPFileTransferTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void should_SCP_Upload_File_With_Bandwidth_Limit() throws IOException {
|
public void shouldSCPUploadFileWithBandwidthLimit() throws IOException {
|
||||||
// Limit upload transfert at 2Mo/s
|
// Limit upload transfert at 2Mo/s
|
||||||
SCPFileTransfer scpFileTransfer = sshClient.newSCPFileTransfer().bandwidthLimit(16000);
|
SCPFileTransfer scpFileTransfer = sshClient.newSCPFileTransfer().bandwidthLimit(16000);
|
||||||
assertFalse(targetFile.exists());
|
assertFalse(targetFile.exists());
|
||||||
@@ -64,7 +64,7 @@ public class SCPFileTransferTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void should_SCP_Download_File() throws IOException {
|
public void shouldSCPDownloadFile() throws IOException {
|
||||||
SCPFileTransfer scpFileTransfer = sshClient.newSCPFileTransfer();
|
SCPFileTransfer scpFileTransfer = sshClient.newSCPFileTransfer();
|
||||||
assertFalse(targetFile.exists());
|
assertFalse(targetFile.exists());
|
||||||
scpFileTransfer.download(sourceFile.getAbsolutePath(), targetDir.getAbsolutePath());
|
scpFileTransfer.download(sourceFile.getAbsolutePath(), targetDir.getAbsolutePath());
|
||||||
@@ -72,7 +72,7 @@ public class SCPFileTransferTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void should_SCP_Download_File_With_Bandwidth_Limit() throws IOException {
|
public void shouldSCPDownloadFileWithBandwidthLimit() throws IOException {
|
||||||
// Limit download transfert at 128Ko/s
|
// Limit download transfert at 128Ko/s
|
||||||
SCPFileTransfer scpFileTransfer = sshClient.newSCPFileTransfer().bandwidthLimit(1024);
|
SCPFileTransfer scpFileTransfer = sshClient.newSCPFileTransfer().bandwidthLimit(1024);
|
||||||
assertFalse(targetFile.exists());
|
assertFalse(targetFile.exists());
|
||||||
|
|||||||
Reference in New Issue
Block a user