[Mathlib-commitlog] SF.net SVN: mathlib:[539] JMathLib/trunk/src/jmathlibtests/toolbox/general
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2008-12-07 18:47:45
|
Revision: 539
http://mathlib.svn.sourceforge.net/mathlib/?rev=539&view=rev
Author: st_mueller
Date: 2008-12-07 18:47:41 +0000 (Sun, 07 Dec 2008)
Log Message:
-----------
added tearDown() method to test cases
Modified Paths:
--------------
JMathLib/trunk/src/jmathlibtests/toolbox/general/testImag.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsPrime.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testIscell.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testIschar.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsmatrix.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsnumeric.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testIssquare.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsstruct.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testLength.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testLinspace.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testMod.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testPerformFunction.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testPermutations.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testPrimes.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testRand.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testReal.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testRem.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testSetPFileCaching.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testSign.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testSize.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testStruct.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testTemplate.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testWho.java
JMathLib/trunk/src/jmathlibtests/toolbox/general/testWhos.java
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testImag.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testImag.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testImag.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testImag.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsPrime.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsPrime.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsPrime.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testIsPrime.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testIscell.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testIscell.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testIscell.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testIscell.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testIschar.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testIschar.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testIschar.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testIschar.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsmatrix.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsmatrix.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsmatrix.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testIsmatrix.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsnumeric.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsnumeric.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsnumeric.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testIsnumeric.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testIssquare.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testIssquare.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testIssquare.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testIssquare.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsstruct.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsstruct.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testIsstruct.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testIsstruct.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testLength.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testLength.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testLength.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -16,6 +16,10 @@
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
+
public static Test suite() {
return new TestSuite(testLength.class);
}
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testLinspace.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testLinspace.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testLinspace.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -19,6 +19,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
/****** linspace() **************************************************/
public void testLinspace01() {
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testMod.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testMod.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testMod.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testMod.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testPerformFunction.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testPerformFunction.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testPerformFunction.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testPerformFunction.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testPermutations.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testPermutations.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testPermutations.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testPermutations.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testPrimes.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testPrimes.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testPrimes.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testPrimes.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testRand.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testRand.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testRand.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testRand.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testReal.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testReal.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testReal.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testReal.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testRem.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testRem.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testRem.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testRem.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testSetPFileCaching.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testSetPFileCaching.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testSetPFileCaching.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testSetPFileCaching.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testSign.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testSign.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testSign.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testSign.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testSize.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testSize.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testSize.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -16,6 +16,10 @@
protected void setUp() {
ml = new Interpreter(true);
}
+
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testSize.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testStruct.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testStruct.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testStruct.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testStruct.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testTemplate.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testTemplate.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testTemplate.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testTemplate.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testWho.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testWho.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testWho.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testWho.class);
Modified: JMathLib/trunk/src/jmathlibtests/toolbox/general/testWhos.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/general/testWhos.java 2008-12-07 18:43:55 UTC (rev 538)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/general/testWhos.java 2008-12-07 18:47:41 UTC (rev 539)
@@ -15,6 +15,9 @@
protected void setUp() {
ml = new Interpreter(true);
}
+ protected void tearDown() {
+ ml = null;
+ }
public static Test suite() {
return new TestSuite(testWhos.class);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|