Пример #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);
 }