public void InputMethodOptionsApplyProperty() { tlog.Debug(tag, $"InputMethodOptionsApplyProperty START"); var testingTarget = new InputMethodOptions(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <InputMethodOptions>(testingTarget, "should be an instance of InputMethodOptions class!"); using (PropertyMap settings = new PropertyMap()) { settings.Add("IsTextPredictionAllowed", new PropertyValue(false)); try { testingTarget.ApplyProperty(settings); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } } testingTarget.Dispose(); tlog.Debug(tag, $"InputMethodOptionsApplyProperty END (OK)"); }
public void InputMethodOptionsConstructor() { tlog.Debug(tag, $"InputMethodOptionsConstructor START"); var testingTarget = new InputMethodOptions(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <InputMethodOptions>(testingTarget, "should be an instance of InputMethodOptions class!"); testingTarget.Dispose(); tlog.Debug(tag, $"InputMethodOptionsConstructor END (OK)"); }
public void InputMethodOptionsIsPassword() { tlog.Debug(tag, $"InputMethodOptionsIsPassword START"); var testingTarget = new InputMethodOptions(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <InputMethodOptions>(testingTarget, "should be an instance of InputMethodOptions class!"); tlog.Debug(tag, testingTarget.IsPassword().ToString()); testingTarget.Dispose(); tlog.Debug(tag, $"InputMethodOptionsIsPassword END (OK)"); }