Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
a6506cf3
Commit
a6506cf3
authored
15 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
tests fixed
SVN: 14875
parent
6fc62f64
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
deep_sequencing_unit/etc/service.properties
+1
-0
1 addition, 0 deletions
deep_sequencing_unit/etc/service.properties
deep_sequencing_unit/sourceTest/java/ch/ethz/bsse/cisd/dsu/dss/FlowLaneFeederTest.java
+7
-4
7 additions, 4 deletions
...st/java/ch/ethz/bsse/cisd/dsu/dss/FlowLaneFeederTest.java
with
8 additions
and
4 deletions
deep_sequencing_unit/etc/service.properties
+
1
−
0
View file @
a6506cf3
...
...
@@ -127,6 +127,7 @@ flow-cell.storage-processor.processor = ch.systemsx.cisd.etlserver.DefaultStorag
flow-cell.storage-processor.flow-lane-drop-box-template
=
targets/playground/drop-box-{0}
flow-cell.storage-processor.entity-separator
=
${data-set-file-name-entity-separator}
flow-cell.storage-processor.transfer.FMI
=
targets/playground/drop-box-fmi
flow-cell.storage-processor.meta-data-file-prefix
=
PREFIX_FOR_TSV
# -------- Flow Lane 1 --------------------------------------
fl1.incoming-dir
=
targets/playground/drop-box-1
...
...
This diff is collapsed.
Click to expand it.
deep_sequencing_unit/sourceTest/java/ch/ethz/bsse/cisd/dsu/dss/FlowLaneFeederTest.java
+
7
−
4
View file @
a6506cf3
...
...
@@ -57,6 +57,8 @@ import ch.systemsx.cisd.openbis.generic.shared.dto.identifier.SampleIdentifierFa
*/
public
class
FlowLaneFeederTest
extends
AbstractFileSystemTestCase
{
private
static
final
String
META_DATA_PREFIX
=
"meta-"
;
private
static
final
String
AFFILIATION
=
"fmi"
;
private
static
final
String
EXTERNAL_SAMPLE_NAME
=
"ext23"
;
...
...
@@ -265,7 +267,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
assertEquals
(
2
,
transferedFiles
.
length
);
assertEquals
(
"2.srf"
,
transferedFiles
[
0
].
getName
());
File
metaFile
=
transferedFiles
[
1
];
assertEquals
(
SAMPLE_CODE
+
"_2"
+
FlowLaneFeeder
.
META_DATA_FILE_TYPE
,
metaFile
.
getName
());
assertEquals
(
META_DATA_PREFIX
+
SAMPLE_CODE
+
"_2"
+
FlowLaneFeeder
.
META_DATA_FILE_TYPE
,
metaFile
.
getName
());
assertHardLinkOnSameFile
(
originalFlowLane2
,
transferedFiles
[
0
]);
context
.
assertIsSatisfied
();
...
...
@@ -304,7 +306,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
assertEquals
(
2
,
transferedFiles
.
length
);
assertEquals
(
"2.srf"
,
transferedFiles
[
0
].
getName
());
File
metaFile
=
transferedFiles
[
1
];
assertEquals
(
SAMPLE_CODE
+
"_2"
+
FlowLaneFeeder
.
META_DATA_FILE_TYPE
,
metaFile
assertEquals
(
META_DATA_PREFIX
+
SAMPLE_CODE
+
"_2"
+
FlowLaneFeeder
.
META_DATA_FILE_TYPE
,
metaFile
.
getName
());
List
<
String
>
metaData
=
FileUtilities
.
loadToStringList
(
metaFile
);
String
lastLine
=
metaData
.
remove
(
metaData
.
size
()
-
1
);
...
...
@@ -452,8 +454,8 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
assertEquals
(
FileUtilities
.
loadToString
(
originalFlowLane
),
FileUtilities
.
loadToString
(
flowLane
));
assertHardLinkOnSameFile
(
originalFlowLane
,
flowLane
);
String
metaDataFileName
=
(
SAMPLE_CODE
+
"_"
+
FlowLaneFeeder
.
escapeSampleCode
(
flowLaneNumber
))
+
FlowLaneFeeder
.
META_DATA_FILE_TYPE
;
String
metaDataFileName
=
META_DATA_PREFIX
+
(
SAMPLE_CODE
+
"_"
+
FlowLaneFeeder
.
escapeSampleCode
(
flowLaneNumber
))
+
FlowLaneFeeder
.
META_DATA_FILE_TYPE
;
assertEquals
(
true
,
new
File
(
ds
,
FlowLaneFeeder
.
escapeSampleCode
(
metaDataFileName
)).
exists
());
assertEquals
(
true
,
new
File
(
dropBox
,
Constants
.
IS_FINISHED_PREFIX
+
FlowLaneFeeder
.
escapeSampleCode
(
fileName
)).
exists
());
}
...
...
@@ -488,6 +490,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
properties
.
setProperty
(
FlowLaneFeeder
.
FLOW_LANE_DROP_BOX_TEMPLATE
,
new
File
(
workingDirectory
,
DROP_BOX_PREFIX
).
getAbsolutePath
()
+
"{0}"
);
properties
.
setProperty
(
FlowLaneFeeder
.
META_DATA_FILE_PREFIX
,
META_DATA_PREFIX
);
properties
.
setProperty
(
FlowLaneFeeder
.
TRANSFER_PREFIX
+
AFFILIATION
,
transferDropBox
.
getAbsolutePath
());
if
(
srfInfoScriptOrNull
!=
null
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment