From: Steve F. <sm...@us...> - 2002-11-24 11:11:42
|
Update of /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects In directory sc8-pr-cvs1:/tmp/cvs-serv624/src/core/test/mockobjects Modified Files: TestExpectationMap.java TestExpectationList.java TestExpectationSet.java TestReturnObjectList.java TestNull.java TestExpectationSegment.java Log Message: Tidied up imports Index: TestExpectationMap.java =================================================================== RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects/TestExpectationMap.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TestExpectationMap.java 21 Oct 2002 22:52:38 -0000 1.1 +++ TestExpectationMap.java 24 Nov 2002 11:11:40 -0000 1.2 @@ -1,5 +1,6 @@ package test.mockobjects; +import junit.awtui.TestRunner; import junit.framework.*; import com.mockobjects.*; import com.mockobjects.util.*; @@ -16,7 +17,7 @@ } public static void main(String[] args) { - new junit.awtui.TestRunner().run(THIS); + TestRunner.run(THIS); } public void testExpectMissingEntry() { Index: TestExpectationList.java =================================================================== RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects/TestExpectationList.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TestExpectationList.java 21 Oct 2002 22:52:38 -0000 1.1 +++ TestExpectationList.java 24 Nov 2002 11:11:40 -0000 1.2 @@ -1,9 +1,9 @@ package test.mockobjects; -import java.util.*; -import junit.framework.*; -import com.mockobjects.*; -import test.mockobjects.TestExpectationCollection; +import junit.framework.Test; +import junit.framework.TestSuite; + +import com.mockobjects.ExpectationList; public class TestExpectationList extends TestExpectationCollection { private static final Class THIS = TestExpectationList.class; Index: TestExpectationSet.java =================================================================== RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects/TestExpectationSet.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TestExpectationSet.java 21 Oct 2002 22:52:38 -0000 1.1 +++ TestExpectationSet.java 24 Nov 2002 11:11:40 -0000 1.2 @@ -1,9 +1,9 @@ package test.mockobjects; -import java.util.*; -import junit.framework.*; -import com.mockobjects.*; -import test.mockobjects.TestExpectationCollection; +import junit.framework.Test; +import junit.framework.TestSuite; + +import com.mockobjects.ExpectationSet; public class TestExpectationSet extends TestExpectationCollection { private static final Class THIS = TestExpectationSet.class; Index: TestReturnObjectList.java =================================================================== RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects/TestReturnObjectList.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TestReturnObjectList.java 21 Oct 2002 22:52:38 -0000 1.1 +++ TestReturnObjectList.java 24 Nov 2002 11:11:40 -0000 1.2 @@ -1,9 +1,9 @@ package test.mockobjects; -import java.util.*; -import junit.framework.*; -import com.mockobjects.*; -import com.mockobjects.util.*; +import junit.framework.AssertionFailedError; + +import com.mockobjects.ReturnObjectList; +import com.mockobjects.util.TestCaseMo; public class TestReturnObjectList extends TestCaseMo { private ReturnObjectList list = new ReturnObjectList("test"); Index: TestNull.java =================================================================== RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects/TestNull.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TestNull.java 21 Oct 2002 22:52:38 -0000 1.1 +++ TestNull.java 24 Nov 2002 11:11:40 -0000 1.2 @@ -1,9 +1,10 @@ package test.mockobjects; -import java.util.*; -import junit.framework.*; -import com.mockobjects.*; -import com.mockobjects.util.*; +import junit.framework.Test; +import junit.framework.TestSuite; + +import com.mockobjects.util.Null; +import com.mockobjects.util.TestCaseMo; /** * JUnit test case for TestMapEntry Index: TestExpectationSegment.java =================================================================== RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects/TestExpectationSegment.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TestExpectationSegment.java 21 Oct 2002 22:52:38 -0000 1.1 +++ TestExpectationSegment.java 24 Nov 2002 11:11:40 -0000 1.2 @@ -1,11 +1,11 @@ package test.mockobjects; -import java.io.*; -import java.util.*; +import junit.framework.AssertionFailedError; +import junit.framework.Test; +import junit.framework.TestSuite; -import junit.framework.*; -import com.mockobjects.*; -import com.mockobjects.util.*; +import com.mockobjects.ExpectationSegment; +import com.mockobjects.util.TestCaseMo; public class TestExpectationSegment extends TestCaseMo { private static final Class THIS = TestExpectationSegment.class; |