Package controllerTeste

Examples of controllerTeste.AulaAvaliativaController


    /**
     * Test of getNovoCodigo method, of class AulaAvaliativaController.
     */
    public void testGetNovoCodigo() {
        System.out.println("AulaAvaliativaControllerTest - getNovoCodigo");
        AulaAvaliativaController instance = new AulaAvaliativaController();
        String expResult = "1";
        String result = instance.getNovoCodigo();
        assertEquals(expResult, result);
    }
View Full Code Here


     * Test of getAulaAvaliativa method, of class AulaAvaliativaController.
     */
    public void testGetAulaAvaliativa() {
        System.out.println("AulaAvaliativaControllerTest - getAulaAvaliativa");
        String codigo = "1";
        AulaAvaliativaController instance = new AulaAvaliativaController();
        int expResult = 1;
        int result = instance.getAulaAvaliativa(codigo).getCodigoAulaAvaliativa();
        assertEquals(expResult, result);
    }
View Full Code Here

    public void testAtualizar() {
        System.out.println("AulaAvaliativaControllerTest - atualizar");
        String codigo = "1";
        AulaAvaliativa pAulaAvaliativa = new AulaAvaliativa();
        pAulaAvaliativa.setCodigoAulaAvaliativa(Integer.parseInt(codigo));
        AulaAvaliativaController instance = new AulaAvaliativaController();
        boolean expResult = true;
        boolean result = instance.atualizar(pAulaAvaliativa);
        assertEquals(expResult, result);
    }
View Full Code Here

    public void testSalvar() {
        System.out.println("AulaAvaliativaControllerTest - salvar");
        String codigo = "1";
        AulaAvaliativa pAulaAvaliativa = new AulaAvaliativa();
        pAulaAvaliativa.setCodigoAulaAvaliativa(Integer.parseInt(codigo));
        AulaAvaliativaController instance = new AulaAvaliativaController();
        boolean expResult = true;
        boolean result = instance.salvar(pAulaAvaliativa);
        assertEquals(expResult, result);
    }
View Full Code Here

     * Test of excluir method, of class AulaAvaliativaController.
     */
    public void testExcluir() {
        System.out.println("AulaAvaliativaControllerTest - excluir");
        String pCodigoAulaAvaliativa = "1";
        AulaAvaliativaController instance = new AulaAvaliativaController();
        boolean expResult = true;
        boolean result = instance.excluir(pCodigoAulaAvaliativa);
        assertEquals(expResult, result);
    }
View Full Code Here

     * Test of reprocessar method, of class AulaAvaliativaController.
     */
    public void testReprocessar() {
        System.out.println("AulaAvaliativaControllerTest - reprocessar");
        String pCodigoAulaAvaliativa = "1";
        AulaAvaliativaController instance = new AulaAvaliativaController();
        boolean expResult = true;
        boolean result = instance.reprocessar(pCodigoAulaAvaliativa);
        assertEquals(expResult, result);
    }
View Full Code Here

     * Test of aprovarCandidato method, of class AulaAvaliativaController.
     */
    public void testAprovarCandidato() {
        System.out.println("AulaAvaliativaControllerTest - aprovarCandidato");
        String pCodigoAulaAvaliativa = "1";
        AulaAvaliativaController instance = new AulaAvaliativaController();
        boolean expResult = true;
        boolean result = instance.aprovarCandidato(pCodigoAulaAvaliativa);
        assertEquals(expResult, result);
    }
View Full Code Here

TOP

Related Classes of controllerTeste.AulaAvaliativaController

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.