Example #1
0
        public void SecureRemotePasswordConstructorTest4()
        {
            bool isServer = false;                                // TODO: 初始化为适当的值

            SecureRemotePassword.SRPParameters parameters = null; // TODO: 初始化为适当的值
            SecureRemotePassword target = new SecureRemotePassword(isServer, parameters);

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }
 public void AlgorithmVersionTest()
 {
     SecureRemotePassword.SRPParameters            target   = new SecureRemotePassword.SRPParameters();            // TODO: 初始化为适当的值
     SecureRemotePassword.SRPParameters.SRPVersion expected = new SecureRemotePassword.SRPParameters.SRPVersion(); // TODO: 初始化为适当的值
     SecureRemotePassword.SRPParameters.SRPVersion actual;
     target.AlgorithmVersion = expected;
     actual = target.AlgorithmVersion;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("验证此测试方法的正确性。");
 }
        public void HashTest()
        {
            SecureRemotePassword.SRPParameters target = new SecureRemotePassword.SRPParameters(); // TODO: 初始化为适当的值
            HashAlgorithm expected = null;                                                        // TODO: 初始化为适当的值
            HashAlgorithm actual;

            target.Hash = expected;
            actual      = target.Hash;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void ModulusTest()
        {
            SecureRemotePassword.SRPParameters target = new SecureRemotePassword.SRPParameters(); // TODO: 初始化为适当的值
            BigInteger expected = null;                                                           // TODO: 初始化为适当的值
            BigInteger actual;

            target.Modulus = expected;
            actual         = target.Modulus;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void CaseSensitiveTest()
        {
            SecureRemotePassword.SRPParameters target = new SecureRemotePassword.SRPParameters(); // TODO: 初始化为适当的值
            bool expected = false;                                                                // TODO: 初始化为适当的值
            bool actual;

            target.CaseSensitive = expected;
            actual = target.CaseSensitive;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Example #6
0
        public void SecureRemotePasswordConstructorTest2()
        {
            string     username = string.Empty;                   // TODO: 初始化为适当的值
            BigInteger verifier = null;                           // TODO: 初始化为适当的值
            BigInteger salt     = null;                           // TODO: 初始化为适当的值

            SecureRemotePassword.SRPParameters parameters = null; // TODO: 初始化为适当的值
            SecureRemotePassword target = new SecureRemotePassword(username, verifier, salt, parameters);

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }
Example #7
0
        public void ParametersTest()
        {
            bool isServer = false;                                            // TODO: 初始化为适当的值
            SecureRemotePassword target = new SecureRemotePassword(isServer); // TODO: 初始化为适当的值

            SecureRemotePassword.SRPParameters expected = null;               // TODO: 初始化为适当的值
            SecureRemotePassword.SRPParameters actual;
            target.Parameters = expected;
            actual            = target.Parameters;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
 public void SecureRemotePassword_SRPParametersConstructorTest()
 {
     SecureRemotePassword.SRPParameters target = new SecureRemotePassword.SRPParameters();
     Assert.Inconclusive("TODO: 实现用来验证目标的代码");
 }