Example #1
0
        public void setPolicyTest()
        {
            int id1 = fm.CreateForum(titels[0]);

            fm.SetPolicy(4, "", true, true, true, false, 3, id1);
            Assert.AreNotEqual(-1, fm.Register(userNames[0], passwords[0], emails[0], id1));//password valid
            fm.RemoveForum(id1);
        }
Example #2
0
 public void SetPolicy(int userRequesterId, int forumId, int numOfModerators, string degreeOfEnsuring, bool uppercase, bool lowercase, bool numbers, bool symbols, int minLength)
 {
     FM.SetPolicy(userRequesterId, numOfModerators, degreeOfEnsuring, uppercase, lowercase, numbers, symbols, minLength, forumId);
 }