Commit 51e39c43 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

drugbank updated data

parent c1afe673
Pipeline #22696 passed with stage
in 12 minutes and 49 seconds
......@@ -36,17 +36,16 @@ public class DrugbankHTMLParserTest extends AnnotationTestFunctions {
private PermanentDatabaseLevelCacheInterface permanentDatabaseLevelCache;
public void test1FindDrug() throws Exception {
public void testFindUrokinase() throws Exception {
Drug test = drugBankHTMLParser.findDrug("Urokinase");
assertEquals(MiriamType.DRUGBANK, test.getSources().get(0).getDataType());
assertEquals("DB00013", test.getSources().get(0).getResource());
assertEquals("Urokinase", test.getName());
boolean res = test.getDescription().contains(
"Low molecular weight form of human urokinase, that consists of an A chain of 2,000 daltons linked by a sulfhydryl bond to a B chain of 30,400 daltons. Recombinant urokinase plasminogen activator");
boolean res = test.getDescription().contains("Urokinase is an endogenous peptide that is cleaved");
assertEquals(10, test.getTargets().size());
assertEquals(8, test.getTargets().size());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment