At line 37 added 1 line. |
|
At line 50 changed 1 line. |
protected void setUp() throws Exception{ |
protected void setUp() throws Exception { |
At line 56 changed 1 line. |
protected void tearDown() { |
protected void tearDown() throws Exception { |
At line 60 removed 1 line. |
|
At line 63 removed 1 line. |
|
At line 73 changed 1 line. |
// seta o comportamento esperado no DAO |
// set expected behavior on dao |
At line 82 changed 1 line. |
// seta o comportamento esperado no DAO |
// set expected behavior on dao |
At line 84 added 1 line. |
|
At line 87 changed 1 line. |
} |
} |
At line 92 changed 1 line. |
// seta os campos obrigatórios |
// set required fields |
At line 96 changed 1 line. |
// seta o comportamento esperado no DAO |
// set expected behavior on dao |
At line 102 changed 1 line. |
// reseta o comportamento |
// reset expectations |
At line 109 changed 1 line. |
// reseta o comportamento |
// reset expectations |
At line 111 changed 2 lines. |
|
// testa se o método remove retorna uma exceção |
// remove |
At line 114 changed 1 line. |
personDao.expects(once()).method("removePerson").isVoid(); |
personDao.expects(once()).method("removePerson").isVoid(); |
At line 119 changed 2 lines. |
fail("O objeto Pessoa com o identificador '"+ |
personId +"' foi encontrado no banco de dados"); |
fail("Person with identifier '" + personId + "' found in database"); |
At line 124 removed 1 line. |
|
At line 147 removed 1 line. |
|
At line 149 removed 1 line. |
|
At line 151 changed 3 lines. |
|
public Person savePerson(Object person); |
|
public void savePerson(Person person); |
At line 221 changed 1 line. |
''Próxima:'' __Parte III:__ [Criando Actions e JSPs|CreateActions] - Um tutorial para criação de Actions e JSPs na arquitetura AppFuse. |
''Próxima:'' __Parte III:__ [Criando Actions e JSPs|CreateActions_pt] - Um tutorial para criação de Actions e JSPs na arquitetura AppFuse. |