Пример #1
0
        public void CreateIoCompletionPortTest()
        {
            int numConcurrentThreads = 0;                        // TODO: 初始化为适当的值
            SafeIOCompletionPortHandle_Accessor expected = null; // TODO: 初始化为适当的值
            SafeIOCompletionPortHandle_Accessor actual;

            actual = IOCompletionPort_Accessor.CreateIoCompletionPort(numConcurrentThreads);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Пример #2
0
        public void CreateIoCompletionPortTest1()
        {
            SafeFileHandle hFile = null;                              // TODO: 初始化为适当的值
            SafeIOCompletionPortHandle_Accessor hExistingIOCP = null; // TODO: 初始化为适当的值
            UIntPtr CompKey = new UIntPtr();                          // TODO: 初始化为适当的值
            uint    NumConcurrentThreads = 0;                         // TODO: 初始化为适当的值
            SafeIOCompletionPortHandle_Accessor expected = null;      // TODO: 初始化为适当的值
            SafeIOCompletionPortHandle_Accessor actual;

            actual = IOCompletionPort_Accessor.CreateIoCompletionPort(hFile, hExistingIOCP, CompKey, NumConcurrentThreads);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }