From 67c64b5c4a87e0f86db0efdfb15cc46ff1bb5ba7 Mon Sep 17 00:00:00 2001 From: buczekp <buczekp> Date: Mon, 6 Sep 2010 08:33:45 +0000 Subject: [PATCH] [LMS-1663] fixed test expectations SVN: 17718 --- .../bsse/cisd/dsu/dss/FlowLaneFeederTest.java | 25 +++---------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/deep_sequencing_unit/sourceTest/java/ch/ethz/bsse/cisd/dsu/dss/FlowLaneFeederTest.java b/deep_sequencing_unit/sourceTest/java/ch/ethz/bsse/cisd/dsu/dss/FlowLaneFeederTest.java index ac74fbcb5e4..5fdfdc9a2e1 100644 --- a/deep_sequencing_unit/sourceTest/java/ch/ethz/bsse/cisd/dsu/dss/FlowLaneFeederTest.java +++ b/deep_sequencing_unit/sourceTest/java/ch/ethz/bsse/cisd/dsu/dss/FlowLaneFeederTest.java @@ -513,29 +513,12 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase File[] transferedFiles = transferDropBox.listFiles(); Arrays.sort(transferedFiles); - assertEquals(6, transferedFiles.length); - - assertEquals("2.fasta", transferedFiles[0].getName()); - assertEquals("2.srf", transferedFiles[1].getName()); - assertEquals("2_boxplot.pdf", transferedFiles[2].getName()); - assertEquals("2abc.xxx", transferedFiles[3].getName()); - assertEquals("2dir", transferedFiles[4].getName()); - File metaFile = transferedFiles[5]; + assertEquals(2, transferedFiles.length); + assertEquals("2.srf", transferedFiles[0].getName()); + File metaFile = transferedFiles[1]; assertEquals(META_DATA_PREFIX + SAMPLE_CODE + "_2" + FlowLaneFeeder.META_DATA_FILE_TYPE, metaFile.getName()); - assertHardLinkOnSameFile(originalFlowLane2Fasta, transferedFiles[0]); - assertHardLinkOnSameFile(originalFlowLane2, transferedFiles[1]); - assertHardLinkOnSameFile(originalFlowLane2Pdf, transferedFiles[2]); - assertHardLinkOnSameFile(originalFlowLane2Xxx, transferedFiles[3]); - - File[] internalDirFiles = transferedFiles[4].listFiles(); - Arrays.sort(internalDirFiles); - assertEquals(2, internalDirFiles.length); - - assertEquals("file1", internalDirFiles[0].getName()); - assertEquals("file2", internalDirFiles[1].getName()); - assertHardLinkOnSameFile(internalDirFile1, internalDirFiles[0]); - assertHardLinkOnSameFile(internalDirFile2, internalDirFiles[1]); + assertHardLinkOnSameFile(originalFlowLane2, transferedFiles[0]); context.assertIsSatisfied(); } -- GitLab