Package-level declarations
Types
A TestRule that guarantees the execution of .after even if an exception has been thrown from delegate Statement. This is much like AfterClass or After annotations but can be used with RuleChain to guarantee the order of execution.
A generator emitting simple ASCII alphanumeric letters and numbers from the set (newlines not counted):
A generator emitting simple ASCII characters from the set (newlines not counted):
A generator emitting simple ASCII characters from the set (newlines not counted):
Base test case for BitSets.
Base test class for DocIdSets.
Utility classes for selecting numbers at random, but not necessarily in an uniform way. The implementation will try to pick "evil" numbers more often than uniform selection would. This includes exact range boundaries, numbers very close to range boundaries, numbers very close (or equal) to zero, etc.
A string generator from a predefined set of codepoints or characters.
Hackidy-Hack-Hack to cause a test to fail on non-bulk merges
Minimal port of benchmark's LneDocSource + DocMaker, so tests can enum docs from a line file created by benchmark's WriteLineDoc task
An InfoStream implementation that disables all logging. It also asserts if message is called while disabled.
Crawls object graph to collect RAM usage for testing
ported from package RandomizedTest
port of com.carrotsearch.randomizedtesting.generators.RandomPicks
A facade to various implementations of StringGenerator interface.
A string generator that emits valid unicodeGenerator codepoints.
A StringGenerator generates random strings composed of characters. What these characters are and their distribution depends on a subclass.
Fake resource loader for tests: works if you want to fake reading a single file
Setup and restore suite-level environment (fine grained junk that doesn't fit anywhere else).
Intentionally slow IndexOutput for testing.
A string generator that emits valid unicodeGenerator codepoints.