1 18 package net.sf.drftpd.master; 19 20 import java.util.Collections ; 21 22 import junit.framework.TestCase; 23 import junit.framework.TestSuite; 24 25 29 public class RemoteSlaveTest extends TestCase { 30 public static TestSuite suite() { 31 return new TestSuite(RemoteSlaveTest.class); 32 } 33 34 public RemoteSlaveTest(String fName) { 35 super(fName); 36 } 37 38 public void testEquals() { 39 RemoteSlave rslave1 = new RemoteSlave("test1", Collections.EMPTY_LIST); 40 RemoteSlave rslave2 = new RemoteSlave("test1", Collections.EMPTY_LIST); 41 assertTrue(rslave1.equals(rslave1)); 42 assertTrue(rslave1.equals(rslave2)); 43 } 44 } 45 | Popular Tags |