From 06fa0c255580552beab23598956a0fb48fed1a6f Mon Sep 17 00:00:00 2001 From: brinn <brinn> Date: Sun, 7 Oct 2007 10:44:47 +0000 Subject: [PATCH] minor: use better variable names SVN: 2020 --- .../filesystem/remote/rsync/RsyncCopierTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/datamover/sourceTest/java/ch/systemsx/cisd/datamover/filesystem/remote/rsync/RsyncCopierTest.java b/datamover/sourceTest/java/ch/systemsx/cisd/datamover/filesystem/remote/rsync/RsyncCopierTest.java index 144498707d0..d36522330ad 100644 --- a/datamover/sourceTest/java/ch/systemsx/cisd/datamover/filesystem/remote/rsync/RsyncCopierTest.java +++ b/datamover/sourceTest/java/ch/systemsx/cisd/datamover/filesystem/remote/rsync/RsyncCopierTest.java @@ -94,8 +94,8 @@ public class RsyncCopierTest { "requires_unix" }) public void testRsyncOK() throws IOException, InterruptedException { - final File buggyRsyncBinary = createRsync(0); - final RsyncCopier copier = new RsyncCopier(buggyRsyncBinary, null, false); + final File dummyRsyncBinary = createRsync(0); + final RsyncCopier copier = new RsyncCopier(dummyRsyncBinary, null, false); Status status = copier.copy(sourceFile, destinationDirectory); assert Status.OK == status; } @@ -105,8 +105,8 @@ public class RsyncCopierTest public void testRsyncRetriableFailure() throws IOException, InterruptedException { final int exitValue = 11; - final File buggyRsyncBinary = createRsync(exitValue); - final RsyncCopier copier = new RsyncCopier(buggyRsyncBinary, null, false); + final File dummyRsyncBinary = createRsync(exitValue); + final RsyncCopier copier = new RsyncCopier(dummyRsyncBinary, null, false); Status status = copier.copy(sourceFile, destinationDirectory); assertEquals(StatusFlag.RETRIABLE_ERROR, status.getFlag()); assertEquals(RsyncExitValueTranslator.getMessage(exitValue), status.getMessage()); @@ -117,8 +117,8 @@ public class RsyncCopierTest public void testRsyncFatalFailure() throws IOException, InterruptedException { final int exitValue = 1; - final File buggyRsyncBinary = createRsync(exitValue); - final RsyncCopier copier = new RsyncCopier(buggyRsyncBinary, null, false); + final File dummyRsyncBinary = createRsync(exitValue); + final RsyncCopier copier = new RsyncCopier(dummyRsyncBinary, null, false); Status status = copier.copy(sourceFile, destinationDirectory); assertEquals(StatusFlag.FATAL_ERROR, status.getFlag()); assertEquals(RsyncExitValueTranslator.getMessage(exitValue), status.getMessage()); -- GitLab