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
e0ddc775
Commit
e0ddc775
authored
13 years ago
by
kaloyane
Browse files
Options
Downloads
Patches
Plain Diff
minor: fix test expectations
SVN: 22172
parent
debd27d0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sanofi/sourceTest/java/ch/systemsx/cisd/sanofi/dss/test/SanofiDropboxJythonTest.java
+14
-16
14 additions, 16 deletions
...ystemsx/cisd/sanofi/dss/test/SanofiDropboxJythonTest.java
with
14 additions
and
16 deletions
sanofi/sourceTest/java/ch/systemsx/cisd/sanofi/dss/test/SanofiDropboxJythonTest.java
+
14
−
16
View file @
e0ddc775
...
...
@@ -107,7 +107,7 @@ public class SanofiDropboxJythonTest extends AbstractJythonDataSetHandlerTest
private
static
final
String
NEGATIVE_CONTROL_TYPE
=
"NEGATIVE_CONTROL"
;
private
static
final
String
COMPOUND_WELL_TYPE
=
"COMPOUND_WELL"
;
private
static
final
String
COMPOUND_WELL_TYPE
=
"COMPOUND_
BATCH_
WELL"
;
private
static
final
String
COMPOUND_WELL_CONCENTRATION_PROPNAME
=
"CONCENTRATION_M"
;
...
...
@@ -272,12 +272,11 @@ public class SanofiDropboxJythonTest extends AbstractJythonDataSetHandlerTest
assertEquals
(
"Dear openBIS user,\n"
+
" \n"
+
" Registering new data for plate plateCode.variant has failed with error 'No information for plate 'TEST-PLATE' stored in the ABASE DB.'.\n"
+
" The name of the incoming folder 'batchNr_plateCode.variant_2011.07.05' was added to '.faulty_paths'. Please,\n"
+
" repair the problem and remove the entry from '.faulty_paths' to retry registration.\n"
+
" \n"
+
" This email has been generated automatically.\n"
+
" \n"
+
" Administrator"
,
email
.
recordedObject
().
trim
());
+
"Registering new data for plate plateCode.variant has failed with error 'No information for plate 'TEST-PLATE' stored in the ABASE DB.'.\n"
+
"The name of the incoming folder 'batchNr_plateCode.variant_2011.07.05' was added to '.faulty_paths'. Please,\n"
+
"repair the problem and remove the entry from '.faulty_paths' to retry registration.\n"
+
" \n"
+
"This email has been generated automatically.\n"
+
" \n"
+
"Administrator"
,
email
.
recordedObject
().
trim
());
appender
.
verifyLogHasHappened
();
context
.
assertIsSatisfied
();
...
...
@@ -410,7 +409,7 @@ public class SanofiDropboxJythonTest extends AbstractJythonDataSetHandlerTest
AssertionUtil
.
assertContains
(
"New data from folder 'batchNr_plateCode.variant_2011.07.05' has been successfully registered for plate "
+
"
<a href='
http
s
://bwl27.
sanofi-aventis.com:8443
/openbis#entity=SAMPLE&sample_type=PLATE&action=SEARCH&code=plateCode.variant
'>plateCode.variant</a>
"
,
+
"http://bw
d
l27.
bw.f2.enterprise:8080
/openbis#entity=SAMPLE&sample_type=PLATE&action=SEARCH&code=plateCode.variant"
,
email
.
recordedObject
());
context
.
assertIsSatisfied
();
}
...
...
@@ -456,13 +455,12 @@ public class SanofiDropboxJythonTest extends AbstractJythonDataSetHandlerTest
.
getRecordedObjects
().
get
(
0
));
assertEquals
(
"Dear openBIS user,\n"
+
" \n"
+
" Registering new data from incoming folder 'batchNr_plateCode.variant_2011.07.05' has failed due to a system error.\n"
+
"Registering new data from incoming folder 'batchNr_plateCode.variant_2011.07.05' has failed due to a system error.\n"
+
" \n"
+
"
openBIS has sent a notification to the responsible system administrators and they should be \n"
+
"
fixing the problem as soon as possible. \n"
+
" \n"
+
"
We are sorry for any inconveniences this may have caused. \n"
+
" \n"
+
"
openBIS Administrators"
,
email
.
getRecordedObjects
()
+
"openBIS has sent a notification to the responsible system administrators and they should be \n"
+
"fixing the problem as soon as possible. \n"
+
" \n"
+
"We are sorry for any inconveniences this may have caused. \n"
+
" \n"
+
"openBIS Administrators"
,
email
.
getRecordedObjects
()
.
get
(
1
).
trim
());
context
.
assertIsSatisfied
();
...
...
@@ -546,7 +544,7 @@ public class SanofiDropboxJythonTest extends AbstractJythonDataSetHandlerTest
AssertionUtil
.
assertContains
(
"New data from folder 'batchNr_plateCode.variant_2011.07.05' has been successfully registered for plate "
+
"
<a href='
http
s
://bwl27.
sanofi-aventis.com:8443
/openbis#entity=SAMPLE&sample_type=PLATE&action=SEARCH&code=plateCode.variant
'>plateCode.variant</a>
"
,
+
"http://bw
d
l27.
bw.f2.enterprise:8080
/openbis#entity=SAMPLE&sample_type=PLATE&action=SEARCH&code=plateCode.variant"
,
email
.
recordedObject
());
context
.
assertIsSatisfied
();
...
...
@@ -636,7 +634,7 @@ public class SanofiDropboxJythonTest extends AbstractJythonDataSetHandlerTest
AssertionUtil
.
assertContains
(
"New data from folder 'batchNr_plateCode.variant_2011.07.05' has been successfully registered for plate "
+
"
<a href='
http
s
://bwl27.
sanofi-aventis.com:8443
/openbis#entity=SAMPLE&sample_type=PLATE&action=SEARCH&code=plateCode.variant
'>plateCode.variant</a>
"
,
+
"http://bw
d
l27.
bw.f2.enterprise:8080
/openbis#entity=SAMPLE&sample_type=PLATE&action=SEARCH&code=plateCode.variant"
,
email
.
recordedObject
());
context
.
assertIsSatisfied
();
}
...
...
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