Package org.apache.ofbiz.solr.test
Class SolrTests
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.ofbiz.entity.testtools.EntityTestCase
org.apache.ofbiz.service.testtools.OFBizTestCase
org.apache.ofbiz.solr.test.SolrTests
- All Implemented Interfaces:
junit.framework.Test
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
tearDown()
void
Test add list to solr index.void
Test add list to solr index invalid products.void
Test add product to index.void
Test add to solr index.void
Test add to solr index invalid product.Methods inherited from class org.apache.ofbiz.service.testtools.OFBizTestCase
from, from, getDispatcher, getUserLogin, getUserLogin, logError, logInfo, logWarning, select, select, setDispatcher
Methods inherited from class org.apache.ofbiz.entity.testtools.EntityTestCase
getDelegator, setDelegator
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, toString
-
Constructor Details
-
SolrTests
-
-
Method Details
-
tearDown
- Overrides:
tearDown
in classjunit.framework.TestCase
- Throws:
Exception
-
testAddProductToIndex
Test add product to index.- Throws:
Exception
- the exception
-
testAddToSolrIndex
Test add to solr index.- Throws:
Exception
- the exception
-
testAddToSolrIndexInvalidProduct
Test add to solr index invalid product.- Throws:
Exception
- the exception
-
testAddListToSolrIndex
Test add list to solr index.- Throws:
Exception
- the exception
-
testAddListToSolrIndexInvalidProducts
Test add list to solr index invalid products.- Throws:
Exception
- the exception
-