Package br.com.moonjava.flight.jdbc

Examples of br.com.moonjava.flight.jdbc.DbUnit.load()


public class TesteDeConsultarAeronave {

  @BeforeClass
  public void limpaTabela() {
    DbUnit dbUnit = new DbUnit();
    dbUnit.load(new DbUnitFlightXml());
  }

  public void consultar_todas_aeronaves() {
    AeronaveDAO dao = new AeronaveDAO();
    RequestParamWrapper request = new RequestParamWrapper();
View Full Code Here


public class TesteDeConsultarPassagem {

  @BeforeClass
  public void limparTabela() {
    DbUnit dbUnit = new DbUnit();
    dbUnit.load(new DbUnitFlightXml());
  }

  public void consultar_por_codigo_p1003() {
    PassagemDAO dao = new PassagemDAO();
View Full Code Here

public class TesteDeDeletarVoo {

  @BeforeClass
  public void limparTabela() {
    DbUnit dbUnit = new DbUnit();
    dbUnit.load(new DbUnitFlightXml());
  }

  public void voo_deve_ser_deletado_por_codigo() {
    VooDAO dao = new VooDAO();
    RequestParamWrapper request = new RequestParamWrapper();
View Full Code Here

public class TesteDeControlarStatus {

  @BeforeClass
  public void limparTabela() {
    DbUnit dbUnit = new DbUnit();
    dbUnit.load(new DbUnitFlightXml());
  }

  public void status_deve_ser_atualizado() {
    VooDAO dao = new VooDAO();
View Full Code Here

public class TesteDeAtualizarPessoaFisica {

  @BeforeClass
  public void limpaTabela() {
    DbUnit dbUnit = new DbUnit();
    dbUnit.load(new DbUnitFlightXml());
  }

  public void atualizar_pessoa_fisica_com_sucesso() {
    PessoaFisicaDAO dao = new PessoaFisicaDAO();
    RequestParamWrapper request = new RequestParamWrapper();
View Full Code Here

public class TesteDeCriarVoo {

  @BeforeClass
  public void limparTabela() {
    DbUnit dbUnit = new DbUnit();
    dbUnit.load(new DbUnitFlightXml());
  }

  public void criar_voo_com_sucesso() {
    VooDAO vooDAO = new VooDAO();
    AeronaveDAO aeronaveDAO = new AeronaveDAO();
View Full Code Here

public class TesteDeAtualizarVoo {

  @BeforeClass
  public void limparTabela() {
    DbUnit dbUnit = new DbUnit();
    dbUnit.load(new DbUnitFlightXml());
  }

  public void atualizar_voo_com_sucesso() {
    VooDAO dao = new VooDAO();
    RequestParamWrapper request = new RequestParamWrapper();
View Full Code Here

public class TesteDeConsultarUsuario {

  @BeforeClass
  public void limparTabela() {
    DbUnit dbUnit = new DbUnit();
    dbUnit.load(new DbUnitFlightXml());
  }

  public void consultar_usuario_por_codigo() {
    UsuarioDAO dao = new UsuarioDAO();
    RequestParamWrapper request = new RequestParamWrapper();
View Full Code Here

public class TesteDeAtualizarUsuario {

  @BeforeClass
  public void limparTabela() {
    DbUnit dbUnit = new DbUnit();
    dbUnit.load(new DbUnitFlightXml());
  }

  public void atualizar_usuario_com_sucesso() {
    UsuarioDAO dao = new UsuarioDAO();
    RequestParamWrapper request = new RequestParamWrapper();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.