*/
public class ClasspathUriResolverTest extends TestCase {
- private URIResolver _resolver;
+ private URIResolver resolver;
/* (non-Javadoc)
* @see junit.framework.TestCase#setUp()
*/
@Override
protected void setUp() throws Exception {
- _resolver = new ClasspathUriResolver();
+ resolver = new ClasspathUriResolver();
}
/**
* @throws IOException
*/
public void testResolveExistingFile() throws TransformerException, IOException {
- Source source = _resolver.resolve("org/wamblee/xml/reportToHtml.xsl", "");
+ Source source = resolver.resolve("org/wamblee/xml/reportToHtml.xsl", "");
assertTrue(source instanceof StreamSource);
String resolved = FileSystemUtils.read(((StreamSource)source).getInputStream());
*/
public void testResolveNonExistingFile() {
try {
- Source source = _resolver.resolve("org/wamblee/xml/reportToHtml-nonexisting.xsl", "");
+ Source source = resolver.resolve("org/wamblee/xml/reportToHtml-nonexisting.xsl", "");
} catch (TransformerException e) {
return; // ok
}