# Package org.apache.solr.util

Misc utilities useful when implementing test cases.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  RESTfulServerProvider |

- Class Summary
  Class | Description
  --- | ---
  AbstractSolrTestCase | An Abstract base class that makes writing Solr JUnit tests "easier"
  BadHdfsThreadsFilter |
  BadMrClusterThreadsFilter |
  BadZookeeperThreadsFilter |
  BaseTestHarness |
  DOMUtilTestBase |
  ExternalPaths | Some tests need to reach outside the classpath to get certain resources (e.g.
  LogLevel.Configurer |
  RandomForceMergePolicy | A `MergePolicy` with a no-arg constructor that proxies to a `ForceMergePolicy` wrapped instance retrieved from `LuceneTestCase.newMergePolicy(java.util.Random)`.
  RandomForceMergePolicyFactory | A `MergePolicyFactory` for `RandomForceMergePolicy`.
  RandomizeSSL.SSLRandomizer | A simple data structure for encapsulating the effective values to be used when randomizing SSL in a test, based on the configured values in the `RandomizeSSL` annotation.
  RandomMergePolicy | A `MergePolicy` with a no-arg constructor that proxies to an instance retrieved from `LuceneTestCase.newMergePolicy(java.util.Random)`.
  RandomMergePolicyFactory | A `MergePolicyFactory` for `RandomMergePolicy`.
  ReadOnlyCoresLocator |
  RestTestBase |
  RestTestHarness | Facilitates testing Solr's REST API via a provided embedded Jetty
  RevertDefaultThreadHandlerRule |
  SSLTestConfig | An `SSLConfig` that supports reading key/trust store information directly from resource files provided with the Solr test-framework classes
  TestHarness | This class provides a simple harness that may be useful when writing testcases.
  TestHarness.TestCoresLocator |

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  LogLevel | Annotation specifying the log level for a particular test case or method Log levels are set for different classes by passing a configuration string to the annotation, like this: `@LogLevel("org.apache.solr=DEBUG;org.apache.solr.core=INFO")`
  RandomizeSSL | 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.

## Package org.apache.solr.util Description

Misc utilities useful when implementing test cases.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.