Author: sebb
Date: Wed Jan  7 09:18:38 2009
New Revision: 732403

URL: http://svn.apache.org/viewvc?rev=732403&view=rev
Log:
Remove Exceptions that are not thrown

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

Modified: 
commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSBindingsTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSBindingsTest.java?rev=732403&r1=732402&r2=732403&view=diff
==============================================================================
--- 
commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSBindingsTest.java
 (original)
+++ 
commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/javascript/JSBindingsTest.java
 Wed Jan  7 09:18:38 2009
@@ -25,7 +25,6 @@
 import javax.script.SimpleBindings;
 
 import org.apache.commons.scxml.Context;
-import org.apache.commons.scxml.SCXMLExpressionException;
 
 import junit.framework.Test;
 import junit.framework.TestCase;
@@ -89,14 +88,14 @@
     /**
      * Tests implementation of JSBindings constructor.
      */
-    public void testConstructor() throws SCXMLExpressionException {
+    public void testConstructor() {
         assertNotNull(new JSBindings(new JSContext(),new SimpleBindings()));
     }
 
     /**
      * Test implementation of JSBindings constructor with invalid SCXML 
context.
      */
-    public void testInvalidContextConstructor() throws 
SCXMLExpressionException {
+    public void testInvalidContextConstructor() {
         try {
              assertNotNull(new JSBindings(null,new SimpleBindings()));
              fail("JSBindings constructor accepted invalid SCXML context");
@@ -109,7 +108,7 @@
     /**
      * Test implementation of JSBindings constructor with invalid Javascript 
bindings.
      */
-    public void testInvalidBindingsConstructor() throws 
SCXMLExpressionException {
+    public void testInvalidBindingsConstructor() {
         try {
              assertNotNull(new JSBindings(new JSContext(),null));
              fail("JSBindings constructor accepted invalid Javascript 
bindings");


Reply via email to