git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4343 patch for JAL-4347 uniprot non-pos feature parsing
[jalview.git]
/
test
/
jalview
/
ws
/
dbsources
/
UniprotTest.java
diff --git
a/test/jalview/ws/dbsources/UniprotTest.java
b/test/jalview/ws/dbsources/UniprotTest.java
index
f2d3b66
..
a95d520
100644
(file)
--- a/
test/jalview/ws/dbsources/UniprotTest.java
+++ b/
test/jalview/ws/dbsources/UniprotTest.java
@@
-242,6
+242,13
@@
public class UniprotTest
// FIXME: Jim needs to specify what (promoted) means !! - or perhaps we just
// ignore it !
assertEquals("1 (promoted)", (res.get(0).getVersion()));
// FIXME: Jim needs to specify what (promoted) means !! - or perhaps we just
// ignore it !
assertEquals("1 (promoted)", (res.get(0).getVersion()));
+
+ List<SequenceFeature> features = seq.getFeatures().findFeatures(41, 41,
+ "sequence variant");
+ // verify single position features are parsed correctly JAL-4347
+ assertNotNull(features);
+ assertEquals(3, features.size());
+
}
/**
}
/**