Changeset 441 for trunk/benchmarking/test
- Timestamp:
- 08/30/10 16:05:59 (21 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/benchmarking/test/org/bridgedb/benchmarking/Base.java
r247 r441 12 12 import org.bridgedb.IDMapperException; 13 13 import org.bridgedb.Xref; 14 import org.bridgedb.bio.BioDataSource; 14 15 15 16 import buildsystem.Measure; … … 20 21 { 21 22 static final Xref NONEXISTENT = new Xref("123", DataSource.getBySystemCode("??")); 23 static final Xref HALFNULL1 = new Xref("123", null); 24 static final Xref HALFNULL2 = new Xref(null, BioDataSource.ENTREZ_GENE); 22 25 23 26 /** … … 47 50 // check that xrefexists doesn't lead to exception 48 51 assertFalse (mapper.xrefExists(NONEXISTENT)); 52 assertFalse (mapper.xrefExists(HALFNULL1)); 53 assertFalse (mapper.xrefExists(HALFNULL2)); 49 54 assertTrue (mapper.xrefExists(from)); 50 55 assertTrue (mapper.xrefExists(to));
