From: InHong Han Date: Tue, 26 Apr 2022 06:06:27 +0000 (+0900) Subject: [Inputmethod][Non-ACR] Change of the expected exception type X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F274313%2F2;p=test%2Ftct%2Fcsharp%2Fapi.git [Inputmethod][Non-ACR] Change of the expected exception type Change-Id: Ie42c8f6549582b3dd60b62048e1a6a9513b77e88 --- diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs index e83844e..2eabfcc 100644 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs @@ -317,7 +317,7 @@ namespace Tizen.Uix.InputMethod.Tests [Test] [Category("P2")] - [Description("Check the working of UpdatePreEditString method for null argument for InvalidOperationException")] + [Description("Check the working of UpdatePreEditString method for null argument for ArgumentException")] [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.UpdatePreEditString M")] [Property("SPEC_URL", "-")] [Property("CRITERIA", "MEX")] @@ -329,7 +329,7 @@ namespace Tizen.Uix.InputMethod.Tests */ Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: UpdatePreEditString_EXCEPTION"); List list = new List(); - Assert.Throws(() => InputMethodEditor.UpdatePreEditString(null, list)); + Assert.Throws(() => InputMethodEditor.UpdatePreEditString(null, list)); Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: UpdatePreEditString_EXCEPTION"); } @@ -363,7 +363,7 @@ namespace Tizen.Uix.InputMethod.Tests [Test] [Category("P2")] - [Description("Check the working of DeleteSurroundingText method for InvalidOperationException")] + [Description("Check the working of DeleteSurroundingText method for ArgumentException")] [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.DeleteSurroundingText M")] [Property("SPEC_URL", "-")] [Property("CRITERIA", "MEX")] @@ -374,7 +374,7 @@ namespace Tizen.Uix.InputMethod.Tests * TEST CODE */ Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: DeleteSurroundingText_EXCEPTION"); - Assert.Throws(() => InputMethodEditor.DeleteSurroundingText(0, 0)); + Assert.Throws(() => InputMethodEditor.DeleteSurroundingText(0, 0)); Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: DeleteSurroundingText_EXCEPTION"); } @@ -438,7 +438,7 @@ namespace Tizen.Uix.InputMethod.Tests [Test] [Category("P2")] - [Description("Check the working of SetSelection method for InvalidOperationException")] + [Description("Check the working of SetSelection method for ArgumentException")] [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.SetSelection M")] [Property("SPEC_URL", "-")] [Property("CRITERIA", "MEX")] @@ -449,7 +449,7 @@ namespace Tizen.Uix.InputMethod.Tests * TEST CODE */ Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: SetSelection_EXCEPTION"); - Assert.Throws(() => InputMethodEditor.SetSelection(-1, 0)); + Assert.Throws(() => InputMethodEditor.SetSelection(-1, 0)); Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: SetSelection_EXCEPTION"); } @@ -735,7 +735,7 @@ namespace Tizen.Uix.InputMethod.Tests [Test] [Category("P2")] - [Description("Check the working of SendPrivateCommand method for InvalidOperationException")] + [Description("Check the working of SendPrivateCommand method for ArgumentException")] [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.SendPrivateCommand M")] [Property("SPEC_URL", "-")] [Property("CRITERIA", "MEX")] @@ -746,7 +746,7 @@ namespace Tizen.Uix.InputMethod.Tests * TEST CODE */ Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: SendPrivateCommand_CHECK_EXCEPTION"); - Assert.Throws(() => InputMethodEditor.SendPrivateCommand(null)); + Assert.Throws(() => InputMethodEditor.SendPrivateCommand(null)); Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: SendPrivateCommand_CHECK_EXCEPTION"); } @@ -780,7 +780,7 @@ namespace Tizen.Uix.InputMethod.Tests [Test] [Category("P2")] - [Description("Check the working of CommitContent method for InvalidOperationException")] + [Description("Check the working of CommitContent method for ArgumentException")] [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.CommitContent M")] [Property("SPEC_URL", "-")] [Property("CRITERIA", "MEX")] @@ -791,7 +791,7 @@ namespace Tizen.Uix.InputMethod.Tests * TEST CODE */ Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: CommitContent_CHECK_EXCEPTION"); - Assert.Throws(() => InputMethodEditor.CommitContent("Test1", null, "Test3")); + Assert.Throws(() => InputMethodEditor.CommitContent("Test1", null, "Test3")); Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: CommitContent_CHECK_EXCEPTION"); } @@ -920,7 +920,7 @@ namespace Tizen.Uix.InputMethod.Tests [Test] [Category("P2")] - [Description("Check the working of SetSize method for InvalidOperationException")] + [Description("Check the working of SetSize method for ArgumentException")] [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.SetSize M")] [Property("SPEC_URL", "-")] [Property("CRITERIA", "MEX")] @@ -931,7 +931,7 @@ namespace Tizen.Uix.InputMethod.Tests * TEST CODE */ Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: SetSize_CHECK_EXCEPTION"); - Assert.Throws(() => InputMethodEditor.SetSize(IntPtr.Zero, 720, 440, 1280, 400)); + Assert.Throws(() => InputMethodEditor.SetSize(IntPtr.Zero, 720, 440, 1280, 400)); Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: SetSize_CHECK_EXCEPTION"); }