예제 #1
0
        public void RecognizeMethodEventArgsConstructorTest()
        {
            string selectedMethod           = string.Empty; // TODO: Initialize to an appropriate value
            RecognizeMethodEventArgs target = new RecognizeMethodEventArgs(selectedMethod);

            Assert.Inconclusive("TODO: Implement code to verify target");
        }
        public void SelectionRecognitionMethodViewModel_GetSelectedRecognizeMethodEventTest()
        {
            PrivateObject param0 = null;                                                                        // TODO: Initialize to an appropriate value
            RecognizeMethodsViewModelBase_Accessor target = new RecognizeMethodsViewModelBase_Accessor(param0); // TODO: Initialize to an appropriate value
            object sender = null;                                                                               // TODO: Initialize to an appropriate value
            RecognizeMethodEventArgs e = null;                                                                  // TODO: Initialize to an appropriate value

            target.SelectionRecognitionMethodViewModel_GetSelectedRecognizeMethodEvent(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        private void OnGetSelectedRecMethod()
        {
            var handler = GetSelectedRecognizeMethodEvent;

            if (handler != null)
            {
                var args = new RecognizeMethodEventArgs(_recognitionMethod);
                handler(this, args);
            }
        }
 private void SelectionRecognitionMethodViewModel_GetSelectedRecognizeMethodEvent(object sender, RecognizeMethodEventArgs e)
 {
     _selectedMethod = e.SelectedMethod;
 }