Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
Articles
Articles_pt
CreateActions_pt
CreateDAO_pt
SpringControllers_pt




JSPWiki v2.2.33

[RSS]


Hide Menu

CreateManager_pt


Difference between current version and version 5:

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);

Back to CreateManager_pt, or to the Page History.