Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-1
-
Component/s: nanowar
-
Labels:None
-
Number of attachments :
Description
The tests "throws SyntaxException" when they should "throws ScriptException".
Index: CachingScriptClassLoaderTestCase.java
===================================================================
RCS file: /cvsroot/picocontainer/java/nanoweb/src/test/org/nanocontainer/nanoweb/CachingScriptClassLoaderTestCase.java,v
retrieving revision 1.2
diff -u -r1.2 CachingScriptClassLoaderTestCase.java
CachingScriptClassLoaderTestCase.java 28 Mar 2004 23:44:59 -0000 1.2
+++ CachingScriptClassLoaderTestCase.java 29 Mar 2004 05:56:38 -0000
@@ -16,7 +16,7 @@
- @version $Revision: 1.2 $
*/
public class CachingScriptClassLoaderTestCase extends TestCase {
- public void testClassesAreCachedWhenTheUrlTimeStampIsNotMoreRecent() throws IOException, SyntaxException {
+ public void testClassesAreCachedWhenTheUrlTimeStampIsNotMoreRecent() throws IOException, ScriptException { CachingScriptClassLoader loader = new CachingScriptClassLoader(); MockURLConnection urlConnection = new MockURLConnection(); @@ -28,7 +28,7 @@ assertSame(clazz1, clazz2); }
- public void testClassesAreReloadedWhenTheUrlTimeStampIsMoreRecent() throws IOException, SyntaxException {
+ public void testClassesAreReloadedWhenTheUrlTimeStampIsMoreRecent() throws IOException, ScriptException {
CachingScriptClassLoader loader = new CachingScriptClassLoader();
MockURLConnection urlConnection = new MockURLConnection();
Activity
Aslak Hellesøy
made changes -
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Assignee | Aslak Hellesoy [ rinkrank ] | |
Fix Version/s | 1.0-beta-1 [ 10147 ] |