Ejemplo n.º 1
0
        public void secretaryLogin()
        {
            secretary         secretary     = new secretary(id);
            teachingStaffMenu secretaryMenu = new teachingStaffMenu(secretary);

            Assert.IsTrue(secretary is secretary && secretaryMenu is teachingStaffMenu);
        }
Ejemplo n.º 2
0
        public void adminLogin()
        {
            admin             admin     = new admin(id);
            teachingStaffMenu adminMenu = new teachingStaffMenu(admin);

            Assert.IsTrue(admin is admin && adminMenu is teachingStaffMenu);
        }
Ejemplo n.º 3
0
        public void instructorLogin()
        {
            instructor        instructor     = new instructor(id);
            teachingStaffMenu instructorMenu = new teachingStaffMenu(instructor);

            Assert.IsTrue(instructor is instructor && instructorMenu is teachingStaffMenu);
        }
Ejemplo n.º 4
0
        public void professorLogin()
        {
            professor         professor     = new professor(id);
            teachingStaffMenu professorMenu = new teachingStaffMenu(professor);

            Assert.IsTrue(professor is professor && professorMenu is teachingStaffMenu);
        }
Ejemplo n.º 5
0
        public void instructorLogoff()
        {
            instructor        instructor     = new instructor(id);
            teachingStaffMenu instructorMenu = new teachingStaffMenu(instructor);

            instructorMenu.Close();
            Assert.IsNotNull(instructorMenu);
        }
Ejemplo n.º 6
0
        public void professorLogoff()
        {
            professor         professor     = new professor(id);
            teachingStaffMenu professorMenu = new teachingStaffMenu(professor);

            professorMenu.Close();
            Assert.IsNotNull(professorMenu);
        }