/** * Override configuration - BLOBS index uses a non-default threashold. */ public void test_blobsSupport_nonDefaultBlobsIndexThresholdConfiguration() { final Properties p = new Properties(getProperties()); final int overrideThreshold = Integer.valueOf(AbstractTripleStore.Options.DEFAULT_BLOBS_THRESHOLD) * 2; p.setProperty(AbstractTripleStore.Options.BLOBS_THRESHOLD, Integer.toString(overrideThreshold)); final AbstractTripleStore store = getStore(p); try { final IIndex blobsIndex = store.getLexiconRelation().getBlobsIndex(); assertNotNull(blobsIndex); assertEquals(store.getLexiconRelation().getLexiconConfiguration().getBlobsThreshold(), overrideThreshold); } finally { store.__tearDownUnitTest(); } }
/** * Override configuration - BLOBS index uses a non-default threashold. */ public void test_blobsSupport_nonDefaultBlobsIndexThresholdConfiguration() { final Properties p = new Properties(getProperties()); final int overrideThreshold = Integer.valueOf(AbstractTripleStore.Options.DEFAULT_BLOBS_THRESHOLD) * 2; p.setProperty(AbstractTripleStore.Options.BLOBS_THRESHOLD, Integer.toString(overrideThreshold)); final AbstractTripleStore store = getStore(p); try { final IIndex blobsIndex = store.getLexiconRelation().getBlobsIndex(); assertNotNull(blobsIndex); assertEquals(store.getLexiconRelation().getLexiconConfiguration().getBlobsThreshold(), overrideThreshold); } finally { store.__tearDownUnitTest(); } }
/** * Default configuration - verify that BLOBS index exists. */ public void test_blobsSupport_defaultConfiguration() { final AbstractTripleStore store = getStore(); try { final IIndex blobsIndex = store.getLexiconRelation().getBlobsIndex(); assertNotNull(blobsIndex); assertEquals(store.getLexiconRelation().getLexiconConfiguration().getBlobsThreshold(), Integer.valueOf(AbstractTripleStore.Options.DEFAULT_BLOBS_THRESHOLD).intValue()); } finally { store.__tearDownUnitTest(); } }
/** * Default configuration - verify that BLOBS index exists. */ public void test_blobsSupport_defaultConfiguration() { final AbstractTripleStore store = getStore(); try { final IIndex blobsIndex = store.getLexiconRelation().getBlobsIndex(); assertNotNull(blobsIndex); assertEquals(store.getLexiconRelation().getLexiconConfiguration().getBlobsThreshold(), Integer.valueOf(AbstractTripleStore.Options.DEFAULT_BLOBS_THRESHOLD).intValue()); } finally { store.__tearDownUnitTest(); } }
/** * Override configuration - BLOBS index uses a non-default threashold. */ public void test_blobsSupport_nonDefaultBlobsIndexThresholdConfiguration() { final Properties p = new Properties(getProperties()); final int overrideThreshold = Integer.valueOf(AbstractTripleStore.Options.DEFAULT_BLOBS_THRESHOLD) * 2; p.setProperty(AbstractTripleStore.Options.BLOBS_THRESHOLD, Integer.toString(overrideThreshold)); final AbstractTripleStore store = getStore(p); try { final IIndex blobsIndex = store.getLexiconRelation().getBlobsIndex(); assertNotNull(blobsIndex); assertEquals(store.getLexiconRelation().getLexiconConfiguration().getBlobsThreshold(), overrideThreshold); } finally { store.__tearDownUnitTest(); } }
/** * Default configuration - verify that BLOBS index exists. */ public void test_blobsSupport_defaultConfiguration() { final AbstractTripleStore store = getStore(); try { final IIndex blobsIndex = store.getLexiconRelation().getBlobsIndex(); assertNotNull(blobsIndex); assertEquals(store.getLexiconRelation().getLexiconConfiguration().getBlobsThreshold(), Integer.valueOf(AbstractTripleStore.Options.DEFAULT_BLOBS_THRESHOLD).intValue()); } finally { store.__tearDownUnitTest(); } }