Package org.universa.tcc.gemda.entidade

Examples of org.universa.tcc.gemda.entidade.Story


    assertNotNull(sprint.getId());
    return sprint;
  }
 
  protected Story criarStory() throws Exception {
    Story story = new Story(null, criarSprint(), Prioridade.ALTA, "Criar teste da camada de servi�o!");
    storyService.inserir(story);
    assertNotNull(story.getId());
    return story;
  }
View Full Code Here


    try {
      Tarefa tarefa = new Tarefa(null, "Teste", criarUsuario(), criarStory(), Passo.TO_DO);
      tarefaService.inserir(tarefa);
      assertNotNull(tarefa.getId());
      tarefa.setUsuario(new Usuario());
      tarefa.setStory(new Story());
      tarefa.setDescricao("");
      tarefa.setPasso(null);
      tarefaService.alterar(tarefa);
      Tarefa tarefaAlterada = tarefaService.recuperar(tarefa.getId());
      assertEquals(Passo.DOING, tarefaAlterada.getPasso());
View Full Code Here

TOP

Related Classes of org.universa.tcc.gemda.entidade.Story

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.