示例#1
0
        public void ActionFinishing([ValueSource("ActionFinishingCases")] BindPoseActionTestCase testCase)
        {
            SetupBaseTestCase(testCase);
            SetupBindPoseActionTestCase(testCase);

            Assert.AreEqual(testCase.expected, m_BindPoseView.IsActionFinishing(testCase.action));
        }
示例#2
0
 private void SetupBindPoseActionTestCase(BindPoseActionTestCase testCase)
 {
     guiWrapper.IsControlHot(Arg.Any <int>()).Returns(true);
     guiWrapper.IsEventOutsideWindow().Returns(testCase.eventOutsideWindow);
 }