Examples of relacionarEstagio()


Examples of controller.AlunoController.relacionarEstagio()

        EstagioController estagioCtrl = new EstagioController();
        if (modo.equals(Modo.Inclusao)) {
            salvou = estagioCtrl.salvar(estagio);
            AlunoController alunoCtrl = new AlunoController();
            alunoCtrl.relacionarEstagio(jTextFieldCodigoAluno.getText());
        } else {
            salvou = estagioCtrl.atualizar(estagio);
        }
        if (salvou) {
            JButton[] desativaBotoes = {btnSalvar, btnCancelar, btnEditar, jButtonPesquisaEmpresa, jButtonPesquisaAluno};
View Full Code Here

Examples of controllerTeste.AlunoController.relacionarEstagio()

    public void testRelacionarEstagio() {
        System.out.println("AlunoControllerTest - relacionarEstagio");
        String codigo = "1";
        AlunoController instance = new AlunoController();
        boolean expResult = true;
        boolean result = instance.relacionarEstagio(codigo);
        assertEquals(expResult, result);
    }

}
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.