Update of /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/test/mock2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31643/input/javasrc/biz/xsoftware/test/mock2
Modified Files:
ListenerOne.java TestMockCreator.java TestProxyClass.java
Log Message:
get rid of eclipse warnings.
Index: TestProxyClass.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/test/mock2/TestProxyClass.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TestProxyClass.java 16 Feb 2006 15:37:35 -0000 1.2
--- TestProxyClass.java 17 Feb 2006 15:07:40 -0000 1.3
***************
*** 2,6 ****
import java.lang.reflect.Proxy;
- import java.util.logging.Logger;
import junit.framework.TestCase;
--- 2,5 ----
***************
*** 8,12 ****
public class TestProxyClass extends TestCase {
! private static final Logger log = Logger.getLogger(TestProxyClass.class.getName());
public TestProxyClass(String arg0) {
--- 7,11 ----
public class TestProxyClass extends TestCase {
! // private static final Logger log = Logger.getLogger(TestProxyClass.class.getName());
public TestProxyClass(String arg0) {
Index: ListenerOne.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/test/mock2/ListenerOne.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ListenerOne.java 16 Feb 2006 15:37:35 -0000 1.2
--- ListenerOne.java 17 Feb 2006 15:07:40 -0000 1.3
***************
*** 8,12 ****
import java.io.IOException;
- import java.util.Map;
/**
--- 8,11 ----
Index: TestMockCreator.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/test/mock2/TestMockCreator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TestMockCreator.java 16 Feb 2006 15:37:35 -0000 1.2
--- TestMockCreator.java 17 Feb 2006 15:07:40 -0000 1.3
***************
*** 1,7 ****
package biz.xsoftware.test.mock2;
- import java.io.IOException;
- import java.util.HashMap;
- import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
--- 1,4 ----
***************
*** 23,27 ****
public void testMockCreator()throws Exception{
MockObject m = MockObjectFactory.createMock(ListenerOne.class);
! ListenerOne l=(ListenerOne)m;
--- 20,24 ----
public void testMockCreator()throws Exception{
MockObject m = MockObjectFactory.createMock(ListenerOne.class);
! // ListenerOne l=(ListenerOne)m;
***************
*** 46,50 ****
public void testNoVerifyCalled() throws Exception {
MockObject m = MockObjectFactory.createMock(ListenerOne.class);
! ListenerOne l=(ListenerOne)m;
String methodName1 = "callMeFirst";
String methodName2="callMeSecond";
--- 43,47 ----
public void testNoVerifyCalled() throws Exception {
MockObject m = MockObjectFactory.createMock(ListenerOne.class);
! // ListenerOne l=(ListenerOne)m;
String methodName1 = "callMeFirst";
String methodName2="callMeSecond";
|