assertTrue(testee.equals("A12345,"));
assertTrue(testee.equals("A12345?"));
assertTrue(testee.equals("A12345_"));
+ /*
+ * case insensitive matching
+ */
+ assertTrue(testee.equals("a12345"));
/*
* matcher name = target name + word separator...
assertTrue(testee.equals("A12345"));
/*
+ * case insensitive matching
+ */
+ assertTrue(testee.equals("a12345"));
+
+ /*
* miscellaneous failing cases
*/
testee = sequenceIdMatcher.new SeqIdName("A12345");
assertFalse(testee.equals((Object) null));
assertFalse(testee.equals(""));
- assertFalse(testee.equals("a12345"));
assertFalse(testee.equals("A12346|A12345"));
+ /*
+ * case insensitive matching
+ */
+ assertTrue(testee.equals("a12345"));
testee = sequenceIdMatcher.new SeqIdName("A12345?B23456");
assertFalse(testee.equals("B23456"));
testee = sequenceIdMatcher.new SeqIdName("A12345<");
assertFalse(testee.equals("A12345?"));
assertTrue(testee.equals("A12345<")); // bug? inconsistent
+ /*
+ * case insensitive matching
+ */
+ assertTrue(testee.equals("a12345"));
}
}