Package | Description |
---|---|
org.apache.lucene.util |
General test support.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Throwable> |
LuceneTestCase.expectThrows(Class<T> expectedType,
LuceneTestCase.ThrowingRunnable runnable)
Checks a specific exception class is thrown by the given runnable, and returns it.
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.