コード例 #1
0
 /** Test of setTeamEmail method, of class Teams. */
 @Test
 public void testSetTeamEmail() {
   System.out.println("setTeamEmail");
   String expResult = "[email protected];[email protected]";
   valid.setTeamEmail(expResult);
   String result = valid.getTeamEmail();
   assertEquals(expResult, result);
 }
コード例 #2
0
 @Before
 public void setUp() {
   valid = new Teams();
   valid.setHasRegistered(0);
   valid.setTeamConstraints("JAVA, MYSQL, GLASSFISH, JSP");
   valid.setTeamDescription("Sample description for the team");
   valid.setTeamEmail("[email protected];[email protected]");
   valid.setTeamLogo("http://www.senecacollege.ca");
   valid.setTeamName("PRJ666 Team");
   valid.setTeamStatus(0);
 }