コード例 #1
0
 /** Test of delete method, of class PublicContacts. */
 @Test
 public void testDelete() throws Exception {
   System.out.println("delete");
   int id = 0;
   PublicContacts instance = new PublicContacts();
   instance.delete(id);
   // TODO review the generated test code and remove the default call to fail.
   // fail("The test case is a prototype.");
 }
コード例 #2
0
 /** Test of update method, of class PublicContacts. */
 @Test
 public void testUpdate() throws Exception {
   System.out.println("update");
   PublicContactsVO contact = null;
   PublicContacts instance = new PublicContacts();
   instance.update(contact);
   // TODO review the generated test code and remove the default call to fail.
   // fail("The test case is a prototype.");
 }
コード例 #3
0
 /** Test of getAll method, of class PublicContacts. */
 @Test
 public void testGetAll() throws Exception {
   System.out.println("getAll");
   PublicContacts instance = new PublicContacts();
   List expResult = null;
   List result = instance.getAll();
   assertEquals(expResult, result);
   // TODO review the generated test code and remove the default call to fail.
   // fail("The test case is a prototype.");
 }
コード例 #4
0
 /** Test of getContactByNumber method, of class PublicContacts. */
 @Test
 public void testGetContactByNumber() throws Exception {
   System.out.println("getContactByNumber");
   String nameCont = "";
   PublicContacts instance = new PublicContacts();
   PublicContactsVO expResult = null;
   PublicContactsVO result = instance.getContactByNumber(nameCont);
   assertEquals(expResult, result);
   // TODO review the generated test code and remove the default call to fail.
   // fail("The test case is a prototype.");
 }
コード例 #5
0
 /** Test of importContacts method, of class PublicContacts. */
 @Test
 public void testImportContacts() throws Exception {
   System.out.println("importContacts");
   String address = "";
   PublicContacts instance = new PublicContacts();
   boolean expResult = false;
   boolean result = instance.importContacts(address);
   assertEquals(expResult, result);
   // TODO review the generated test code and remove the default call to fail.
   // fail("The test case is a prototype.");
 }