示例#1
0
        public void TestAllFunc_OCC()
        {
            //Test all the code of normal flow, as OCC

            //stub: System.Net.Dns.GetHostName();  return "occ-mft-01"
            locationKeyHelper.init();

            string hostName = locationKeyHelper.HostName;

            locationKeyHelper.HostName = hostName;

            bool isOCC = locationKeyHelper.IsOCC;

            locationKeyHelper.IsOCC = isOCC;

            ulong lockey = locationKeyHelper.LocationKey;

            locationKeyHelper.LocationKey = lockey;
        }