Package model

Examples of model.Interview


       
        System.out.println("Successfully tested STEG condition of LVA: " + l1);
    }
   
    public void testOtherRegistrations() throws Exception{
        Interview interview = new Interview(2000, today, tomorrow, yesterday, tomorrow, tomorrow, new Lecturer("Peter", "Zaruba"), 30, new ArrayList<User>());
        Practice practice = new Practice(today, tomorrow, yesterday, tomorrow, tomorrow, 2);
        PracticeGroup practiceGroup = new PracticeGroup(today, tomorrow, yesterday, tomorrow, tomorrow, 2, new ArrayList<Practice>(), new ArrayList<PracticeSheet>(), new ArrayList<User>());
       
        interviewService.saveAppointment(interview, lect1);
        interviewService.register(student1, interview, student1);
View Full Code Here


        Lecturer lect3 = new Lecturer("Peter", "Zaruba");
        Lecturer lect2 = new Lecturer("Frans", "Zimmer");

        Student s1 = new Student(1025748, "Florian", "Zaruba");
        Interview i1 = new Interview(2000, yesterday, tomorrow, yesterday, yesterday, yesterday, lect3, 30, new ArrayList<User>());

        scoreService.score(lect3, s1, i1, 20);
        assertNotEmpty(scoreService.getScores(lect3, i1, s1));

        System.out.println("User: " + s1.getMatriculationNr() + " was successfully scored for " + i1 + " by " + lect3);

        try {
            scoreService.score(lect2, new Student(1025748, "Florian", "Zaruba"), new Interview(2000, yesterday, tomorrow, yesterday, yesterday, yesterday, lect3, 30, new ArrayList<User>()), 40);
            fail();
        } catch (NotAllowedException e) {
            System.out.println("Sucessfully tested UserNotAllowed Exception for Scoring!");
        }
    }
View Full Code Here

TOP

Related Classes of model.Interview

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.