Author: rahul
Date: Thu May 22 12:05:12 2008
New Revision: 659207

URL: http://svn.apache.org/viewvc?rev=659207&view=rev
Log:
Remove use of Xalan APIs in test class and sort imports.

Modified:
    
commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSEvaluatorTest.java

Modified: 
commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSEvaluatorTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSEvaluatorTest.java?rev=659207&r1=659206&r2=659207&view=diff
==============================================================================
--- 
commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSEvaluatorTest.java
 (original)
+++ 
commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSEvaluatorTest.java
 Thu May 22 12:05:12 2008
@@ -23,22 +23,22 @@
 import javax.xml.xpath.XPathConstants;
 import javax.xml.xpath.XPathFactory;
 
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
 import org.apache.commons.scxml.Context;
 import org.apache.commons.scxml.Evaluator;
 import org.apache.commons.scxml.SCXMLExecutor;
 import org.apache.commons.scxml.SCXMLExpressionException;
+import org.apache.commons.scxml.env.SimpleErrorHandler;
 import org.apache.commons.scxml.io.SCXMLParser;
 import org.apache.commons.scxml.model.SCXML;
-import org.apache.xml.utils.DefaultErrorHandler;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.xml.sax.ErrorHandler;
 import org.xml.sax.InputSource;
 
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
 /** JUnit 3 test case for the JSEvaluator expression evaluator
  *  class. Includes basic tests for:
  *  <ul>
@@ -116,7 +116,7 @@
     protected void setUp() throws Exception {
             StringReader reader = new StringReader(SCRIPT);
             InputSource  source = new InputSource (reader);
-            ErrorHandler errors = new DefaultErrorHandler();
+            ErrorHandler errors = new SimpleErrorHandler();
 
             scxml     = SCXMLParser.parse(source,errors);
             context   = new JSContext();


Reply via email to