Package model

Examples of model.Lecturer


       
        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


    public void testUserscoring() throws Exception {
        Date yesterday = new Date(new Date().getTime() - 1000 * 60 * 60 * 24);
        Date tomorrow = new Date(new Date().getTime() + 1000 * 60 * 60 * 24);

        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);
View Full Code Here

        Date today = new Date();
        Date yesterday = new Date(new Date().getTime() - 1000 * 60 * 60 * 24);
        Date tomorrow = new Date(new Date().getTime() + 1000 * 60 * 60 * 24);
        Date endAppointment = new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 365);

        Lecturer lect1 = new Lecturer("Heinz", "Huber");

        Lva lva1 = new Lva(1, "OOP", today, endAppointment, yesterday, yesterday, tomorrow, lect1, 5, null, null, null, 1, new ArrayList<Exam>(), new ArrayList<PracticeGroup>(), new ArrayList<Interview>(), Arrays.asList((User) lect1));
        Student s1 = new Student(1025748, "Florian", "Zaruba");

        ratingService.rate(lect1, s1, lva1, Grade.A);
View Full Code Here

TOP

Related Classes of model.Lecturer

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.