Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
8c263871
Commit
8c263871
authored
Jan 31, 2017
by
Piotr Gawron
Browse files
sensitivity of chembl test adjusted (case insensitivity)
parent
41cb552b
Changes
1
Hide whitespace changes
Inline
Side-by-side
annotation/src/test/java/lcsb/mapviewer/annotation/services/ChEMBLParserTest.java
View file @
8c263871
...
...
@@ -72,8 +72,11 @@ public class ChEMBLParserTest extends AnnotationTestFunctions {
assertEquals
(
"CABOZANTINIB"
,
drug
.
getName
());
assertNull
(
drug
.
getDescription
());
assertEquals
(
2
,
drug
.
getTargets
().
size
());
logger
.
debug
(
drug
.
getSynonyms
());
assertTrue
(
drug
.
getSynonyms
().
contains
(
"Cabozantinib"
));
List
<
String
>
lowerCaseSynonyms
=
new
ArrayList
<>();
for
(
String
s:
drug
.
getSynonyms
())
{
lowerCaseSynonyms
.
add
(
s
.
toLowerCase
());
}
assertTrue
(
lowerCaseSynonyms
.
contains
(
"cabozantinib"
));
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment