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;
@Test
public void test1FindDrug() throws Exception {
public void testFindUrokinase() throws Exception {
Drug test = drugBankHTMLParser.findDrug("Urokinase");
assertNotNull(test);
assertEquals(MiriamType.DRUGBANK, test.getSources().get(0).getDataType());
assertEquals("DB00013", test.getSources().get(0).getResource());
assertEquals("Urokinase", test.getName());
assertTrue(test.getBloodBrainBarrier().equalsIgnoreCase("N/A"));
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");
assertTrue(res);
assertEquals(10, test.getTargets().size());
assertEquals(8, test.getTargets().size());
assertNull(test.getApproved());
}
......
Markdown is supported
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