jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r758401 - /jakarta/bsf/trunk/bsf3/bsf-api/src/test/java/org/apache/bsf/ScriptEngineManagerTest.java
Date Wed, 25 Mar 2009 18:42:51 GMT
Author: sebb
Date: Wed Mar 25 18:42:42 2009
New Revision: 758401

URL: http://svn.apache.org/viewvc?rev=758401&view=rev
Log:
Extra null checks

Modified:
    jakarta/bsf/trunk/bsf3/bsf-api/src/test/java/org/apache/bsf/ScriptEngineManagerTest.java

Modified: jakarta/bsf/trunk/bsf3/bsf-api/src/test/java/org/apache/bsf/ScriptEngineManagerTest.java
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/bsf-api/src/test/java/org/apache/bsf/ScriptEngineManagerTest.java?rev=758401&r1=758400&r2=758401&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/bsf-api/src/test/java/org/apache/bsf/ScriptEngineManagerTest.java
(original)
+++ jakarta/bsf/trunk/bsf3/bsf-api/src/test/java/org/apache/bsf/ScriptEngineManagerTest.java
Wed Mar 25 18:42:42 2009
@@ -72,9 +72,11 @@
 		ScriptEngine engine;
 		
 		engine =  mgr.getEngineByExtension("tEst");
+        assertNotNull(engine);
 		assertTrue(engine instanceof TestScriptEngine);
 		
 		engine = mgr.getEngineByExtension("teSt");
+        assertNotNull(engine);
 		assertTrue(engine instanceof TestScriptEngine);
 	}
 



---------------------------------------------------------------------
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