/** * Test the ESTCARD method (fast range count). */ public void test_ESTCARD() throws Exception { doInsertbyURL("POST", packagePath + "test_estcard.ttl"); /* * Note: In this case, it should work out that the exact size and the * fast range count are the same. However, we want the FAST RANGE COUNT * here since that is what we are testing. */ final long rangeCount = m_repo.size(); assertEquals(7, rangeCount); }
/** * Test the ESTCARD method (fast range count). */ public void test_ESTCARD() throws Exception { doInsertbyURL("POST", packagePath + "test_estcard.ttl"); /* * Note: In this case, it should work out that the exact size and the * fast range count are the same. However, we want the FAST RANGE COUNT * here since that is what we are testing. */ final long rangeCount = m_repo.size(); assertEquals(7, rangeCount); }