Author: jm
Date: 2012-04-09 10:39:09 -0700 (Mon, 09 Apr 2012)
New Revision: 28767
Modified:
core3/impl/trunk/model-impl/impl/src/test/java/org/cytoscape/model/internal/LongTHashTest.java
Log:
References #850: Added fully-reproducible test case
Modified:
core3/impl/trunk/model-impl/impl/src/test/java/org/cytoscape/model/internal/LongTHashTest.java
===================================================================
---
core3/impl/trunk/model-impl/impl/src/test/java/org/cytoscape/model/internal/LongTHashTest.java
2012-04-07 00:15:11 UTC (rev 28766)
+++
core3/impl/trunk/model-impl/impl/src/test/java/org/cytoscape/model/internal/LongTHashTest.java
2012-04-09 17:39:09 UTC (rev 28767)
@@ -77,4 +77,17 @@
ith.put(6L,"smithers");
}
+ //@Test
+ public void testTicket849() {
+ LongTHash<String> hash = new LongTHash<String>(String.class);
+ hash.put(3476L, "A");
+ hash.put(3477L, "B");
+ hash.put(3478L, "C");
+ hash.put(3479L, "D");
+ hash.put(3490L, "E");
+ hash.put(3491L, "F");
+
+ hash.remove(3490L);
+ assertEquals("F", hash.get(3491L));
+ }
}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.