Lines Matching defs:Task
48 static interface Task {
52 static void tryCatch(Class<? extends Throwable> ex, Task task) {
67 static void expectNullPointerException(Task task) {
109 tryCatch(IOException.class, new Task() {
154 expectNullPointerException(new Task() {
158 expectNullPointerException(new Task() {
162 expectNullPointerException(new Task() {
166 expectNullPointerException(new Task() {
170 expectNullPointerException(new Task() {
174 expectNullPointerException(new Task() {
178 expectNullPointerException(new Task() {
182 expectNullPointerException(new Task() {
186 expectNullPointerException(new Task() {
190 expectNullPointerException(new Task() {
194 expectNullPointerException(new Task() {
198 expectNullPointerException(new Task() {
202 expectNullPointerException(new Task() {
208 tryCatch(IllegalArgumentException.class, new Task() {
217 tryCatch(IOException.class, new Task() {