コード例 #1
0
 public void FinalizarTestes()
 {
     NegNoticia = null;
     NegUsuario = null;
     NegEditor  = null;
     Console.WriteLine("Finalizando testes");
 }
コード例 #2
0
 public void FinalizarTestes()
 {
     NegNoticia = null;
     NegUsuario = null;
     NegEditor = null;
     Console.WriteLine("Finalizando testes");
 }
コード例 #3
0
 public void IniciarTestes()
 {
     Negocios.Singleton.IniciarSessao();
     Negocios.Singleton.UsuarioLogado = new Entidades.Usuario() { IdUsuario = 1, Nome = "Bento", Senha = "senha" };
     this.NegUsuario = new Negocios.Usuario();
     this.NegUsuario.Logar();
     this.NegNoticia = new Negocios.Noticia();
     this.NegEditor = new Negocios.Editor();
 }
コード例 #4
0
 public void IniciarTestes()
 {
     Negocios.Singleton.IniciarSessao();
     Negocios.Singleton.UsuarioLogado = new Entidades.Usuario()
     {
         IdUsuario = 1, Nome = "Bento", Senha = "senha"
     };
     this.NegUsuario = new Negocios.Usuario();
     this.NegUsuario.Logar();
     this.NegNoticia = new Negocios.Noticia();
     this.NegEditor  = new Negocios.Editor();
 }