OPENJPA-900: Remove hint key ordering for performance overhead

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782783 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2009-06-08 21:05:12 +00:00
parent 43de09873b
commit 6a8483460d
1 changed files with 0 additions and 13 deletions

View File

@ -169,19 +169,6 @@ public class TestQueryHints extends SingleEMFTestCase {
} }
} }
public void testParts() {
HintHandler.HintKeyComparator test =
new HintHandler.HintKeyComparator();
assertEquals(0, test.countDots("a"));
assertEquals(1, test.countDots("a.b"));
assertEquals(2, test.countDots("a.b.c"));
assertEquals(3, test.countDots("a.b.c.d"));
assertEquals(4, test.countDots("a.b.c.d."));
assertEquals(1, test.countDots("."));
assertEquals(0, test.countDots(""));
assertEquals(0, test.countDots(null));
}
void assertSupportedHint(String hint, boolean contains) { void assertSupportedHint(String hint, boolean contains) {
if (contains) if (contains)
assertTrue("Expected supported hint [" + hint + "]", assertTrue("Expected supported hint [" + hint + "]",