Uses of Package
org.apache.solr.util
Packages that use org.apache.solr.util
Package
Description
Common base classes for implementing tests.
Base classes and utilities for creating and testing Solr Cloud clusters.
Classes for running embedded Solr Jetty Servers in tests.
Mock classes for testing search.
Misc utilities useful when implementing test cases.
-
Classes in org.apache.solr.util used by org.apache.solrClassDescriptionProvides an EmbeddedSolrServer for tests.Marker annotation indicating when SSL Randomization should be used for a test class, and if so what the typical odds of using SSL should for that test class.A
SolrClientTestRulethat provides a Solr instance running in Jetty, an HTTP server.An SSLConfig that providesSSLConfigandHttpClientUtil.SocketFactoryRegistryProviderfor both clients and servers that supports reading key/trust store information directly from resource files provided with the Solr test-framework classesThis class provides a simple harness that may be useful when writing testcases.A Factory that generates LocalSolrQueryRequest objects using a specified set of default options. -
Classes in org.apache.solr.util used by org.apache.solr.cloudClassDescriptionFacilitates testing Solr's REST API via a provided embedded JettyKindly borrowed the idea and base implementation from the ActiveMQ project; useful for blocking traffic on a specified port.
-
Classes in org.apache.solr.util used by org.apache.solr.embeddedClassDescriptionKindly borrowed the idea and base implementation from the ActiveMQ project; useful for blocking traffic on a specified port.
-
Classes in org.apache.solr.util used by org.apache.solr.search
-
Classes in org.apache.solr.util used by org.apache.solr.utilClassDescriptionHelper code for "Muting" ERROR log messages that you expect as a result of the things you are testing, so they aren't a distraction in test logs.Helper code to listen for
LogEventmessages (via aBlockingQueue) that you expect as a result of the things you are testing, So you can make assertions about when a particular action should/shouldn't cause Solr to produce a particular Log messageA simple data structure for encapsulating the effective values to be used when randomizing SSL in a test, based on the configured values in theRandomizeSSLannotation.AMergePolicywith a no-arg constructor that proxies to an instance retrieved fromLuceneTestCase.newMergePolicy(java.util.Random).Facilitates testing Solr's REST API via a provided embedded JettyProvides access to aSolrClientinstance and a running Solr in tests.An SSLConfig that providesSSLConfigandHttpClientUtil.SocketFactoryRegistryProviderfor both clients and servers that supports reading key/trust store information directly from resource files provided with the Solr test-framework classesA Factory that generates LocalSolrQueryRequest objects using a specified set of default options.