Class SolrTests

  • All Implemented Interfaces:
    junit.framework.Test

    public class SolrTests
    extends OFBizTestCase
    • 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 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SolrTests

        public SolrTests​(java.lang.String name)
    • Method Detail

      • setUp

        protected void setUp()
                      throws java.lang.Exception
        Overrides:
        setUp in class junit.framework.TestCase
        Throws:
        java.lang.Exception
      • tearDown

        protected void tearDown()
                         throws java.lang.Exception
        Overrides:
        tearDown in class junit.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