/** * Delete all files and folders under the temporary folder. Usually not * called directly, since it is automatically applied by the {@link Rule}. * * @throws AssertionError if unable to clean up resources * and deletion of resources is assured. */ public void delete() { if (!tryDelete()) { if (assureDeletion) { fail("Unable to clean up temporary folder " + folder); } } }