jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r931169 - /jakarta/bsf/branches/bsf3.x/testing/e4x-1.6R7-Axiom/src/test/java/org/apache/bsf/testing/e4x/E4xAxiomTestCase.java
Date Tue, 06 Apr 2010 14:46:44 GMT
Author: sebb
Date: Tue Apr  6 14:46:44 2010
New Revision: 931169

URL: http://svn.apache.org/viewvc?rev=931169&view=rev
Log:
Better message if engine cannot be found

Modified:
    jakarta/bsf/branches/bsf3.x/testing/e4x-1.6R7-Axiom/src/test/java/org/apache/bsf/testing/e4x/E4xAxiomTestCase.java

Modified: jakarta/bsf/branches/bsf3.x/testing/e4x-1.6R7-Axiom/src/test/java/org/apache/bsf/testing/e4x/E4xAxiomTestCase.java
URL: http://svn.apache.org/viewvc/jakarta/bsf/branches/bsf3.x/testing/e4x-1.6R7-Axiom/src/test/java/org/apache/bsf/testing/e4x/E4xAxiomTestCase.java?rev=931169&r1=931168&r2=931169&view=diff
==============================================================================
--- jakarta/bsf/branches/bsf3.x/testing/e4x-1.6R7-Axiom/src/test/java/org/apache/bsf/testing/e4x/E4xAxiomTestCase.java
(original)
+++ jakarta/bsf/branches/bsf3.x/testing/e4x-1.6R7-Axiom/src/test/java/org/apache/bsf/testing/e4x/E4xAxiomTestCase.java
Tue Apr  6 14:46:44 2010
@@ -88,6 +88,7 @@ public class E4xAxiomTestCase extends Te
 
     protected void setUp() {
         engine = new ScriptEngineManager().getEngineByExtension("js");
+        assertNotNull("Could not load js engine",engine);
         xmlHelper = XMLHelper.getArgHelper(engine);
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org


Mime
View raw message