git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
support
/
general
/
src
/
test
/
java
/
org
/
wamblee
/
xml
/
XslTransformerTest.java
diff --git
a/support/general/src/test/java/org/wamblee/xml/XslTransformerTest.java
b/support/general/src/test/java/org/wamblee/xml/XslTransformerTest.java
index 0c5c269732e8cf572c21c45967b42abadfad2e59..c3cf78b06775ff1964deb40eced8ba89c2510026 100644
(file)
--- a/
support/general/src/test/java/org/wamblee/xml/XslTransformerTest.java
+++ b/
support/general/src/test/java/org/wamblee/xml/XslTransformerTest.java
@@
-12,19
+12,10
@@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.xml;
package org.wamblee.xml;
-import junit.framework.TestCase;
-
-import org.w3c.dom.Document;
-
-import org.wamblee.io.ClassPathResource;
-import org.wamblee.io.FileSystemUtils;
-import org.wamblee.io.InputResource;
-
import java.io.ByteArrayOutputStream;
import java.io.ByteArrayOutputStream;
-import java.io.File;
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
@@
-35,6
+26,13
@@
import javax.xml.transform.TransformerException;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;
+import junit.framework.TestCase;
+
+import org.w3c.dom.Document;
+import org.wamblee.io.ClassPathResource;
+import org.wamblee.io.FileSystemUtils;
+import org.wamblee.io.InputResource;
+
/**
* Tests the XSL transformer.
*
/**
* Tests the XSL transformer.
*
@@
-237,8
+235,7
@@
public class XslTransformerTest extends TestCase {
XslTransformer transformer = new XslTransformer();
try {
XslTransformer transformer = new XslTransformer();
try {
- transformer
- .resolve("org/wamblee/xml/utilities-nonexistent.xsl");
+ transformer.resolve("org/wamblee/xml/utilities-nonexistent.xsl");
} catch (TransformerException e) {
return; // ok
}
} catch (TransformerException e) {
return; // ok
}