Example #1
0
        public void checkHouseNumberIsDigit()
        {
            var registration = new RegistrationPanel();

            Assert.IsFalse(registration.checkCorrectness("Jadwiga", "Hymel", "Lipinki Lozyckie", "Laczna", "aaa", "1", "*****@*****.**", "123456", "123456"));
        }
Example #2
0
        public void checkCityExisting()
        {
            var registration = new RegistrationPanel();

            Assert.IsFalse(registration.checkCorrectness("Jadwiga", "Hymel", "", "Laczna", "43", "1", "*****@*****.**", "123456", "123456"));
        }
Example #3
0
        public void checkAddressExisting()
        {
            var registration = new RegistrationPanel();

            Assert.IsFalse(registration.checkCorrectness("Jadwiga", "Hymel", "Lipinki Lozyckie", "", "43", "1", "*****@*****.**", "123456", "123456"));
        }
Example #4
0
        public void checkLastNameIsNotDigit()
        {
            var registration = new RegistrationPanel();

            Assert.IsFalse(registration.checkCorrectness("Jadwiga", "Hymel2", "Lipinki Lozyckie", "Laczna", "43", "1", "*****@*****.**", "123456", "123456"));
        }
Example #5
0
        public void checkDataValidation_IncorrectEmail2()
        {
            var registration = new RegistrationPanel();

            Assert.IsFalse(registration.checkCorrectness("Jadwiga", "Hymel", "Lipinki Lozyckie", "Laczna", "43", "1", "aaa@bbbcom", "12345678", "12345678"));
        }
Example #6
0
        public void checkDataValidation_TooShortPassword()
        {
            var registration = new RegistrationPanel();

            Assert.IsFalse(registration.checkCorrectness("Jadwiga", "Hymel", "Lipinki Lozyckie", "Laczna", "43", "1", "*****@*****.**", "12345", "12345"));
        }
Example #7
0
        public void checkDataValidation()
        {
            var registration = new RegistrationPanel();

            Assert.IsTrue(registration.checkCorrectness("Jadwiga", "Hymel", "Lipinki Lozyckie", "Laczna", "43", "1", "*****@*****.**", "1234567", "1234567"));
        }
Example #8
0
        public void checkApartnumberExisting()
        {
            var registration = new RegistrationPanel();

            Assert.IsTrue(registration.checkCorrectness("Jadwiga", "Hymel", "Lipinki Lozyckie", "Laczna", "43", "", "*****@*****.**", "123456", "123456"));
        }