blob: 45968d837665724160e8e6482073914e7a8c6844 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package org.zwobble.mammoth.tests;
import java.io.IOException;
import java.io.InputStream;
public class TestData {
public static InputStream stream(String name) {
try {
return TestData.class.getResource("/test-data/" + name).openStream();
} catch (IOException exception) {
throw new RuntimeException(exception);
}
}
}
|