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
public class SolrTests extends OFBizTestCase
-
-
Field Summary
Fields Modifier and Type Field Description protected GenericValue
userLogin
-
Fields inherited from class org.apache.ofbiz.service.testtools.OFBizTestCase
dispatcher
-
Fields inherited from class org.apache.ofbiz.entity.testtools.EntityTestCase
delegator
-
-
Constructor Summary
Constructors Constructor Description SolrTests(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setUp()
protected void
tearDown()
void
testAddListToSolrIndex()
void
testAddListToSolrIndexInvalidProducts()
Test add list to solr index invalid products.void
testAddProductToIndex()
void
testAddToSolrIndex()
Test add to solr index.void
testAddToSolrIndexInvalidProduct()
Test add to solr index invalid product.-
Methods inherited from class org.apache.ofbiz.service.testtools.OFBizTestCase
getDispatcher, 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, toString
-
-
-
-
Field Detail
-
userLogin
protected GenericValue userLogin
-
-
Method Detail
-
setUp
protected void setUp() throws java.lang.Exception
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
java.lang.Exception
-
tearDown
protected void tearDown() throws java.lang.Exception
- Overrides:
tearDown
in classjunit.framework.TestCase
- Throws:
java.lang.Exception
-
testAddProductToIndex
public void testAddProductToIndex() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAddToSolrIndex
public void testAddToSolrIndex() throws java.lang.Exception
Test add to solr index.- Throws:
java.lang.Exception
- the exception
-
testAddToSolrIndexInvalidProduct
public void testAddToSolrIndexInvalidProduct() throws java.lang.Exception
Test add to solr index invalid product.- Throws:
java.lang.Exception
- the exception
-
testAddListToSolrIndex
public void testAddListToSolrIndex() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAddListToSolrIndexInvalidProducts
public void testAddListToSolrIndexInvalidProducts() throws java.lang.Exception
Test add list to solr index invalid products.- Throws:
java.lang.Exception
- the exception
-
-