From: Jung Jihoon Date: Thu, 8 Aug 2019 02:23:04 +0000 (+0900) Subject: [Non-ACR][NFC][Add Exception case in NFC manual TC] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16537f0c6379d7b71867e65bbe86f7d886525bd2;p=test%2Ftct%2Fcsharp%2Fapi.git [Non-ACR][NFC][Add Exception case in NFC manual TC] - The code is missing from commit id 11a75651f7fcb1825dd3a9b7cb0596d69158ba26 - https://review.tizen.org/gerrit/#/c/test/tct/csharp/api/+/211463/ Change-Id: I1a9a26b990cf44fc857421adc71afdba3302d2b1 Signed-off-by: Jung Jihoon --- diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcCardEmulationAdapter.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcCardEmulationAdapter.cs index 201523245..0b0c31d3c 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcCardEmulationAdapter.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcCardEmulationAdapter.cs @@ -503,6 +503,10 @@ namespace Tizen.Network.Nfc.Tests Assert.IsTrue(_nfcFeature == false || _ceFeature == false, "Method throw the NotSupportedException, but Tizen support the Nfc host card emulation opearation"); } + catch (InvalidOperationException e) + { + Assert.IsTrue(e.Message.Equals("SecurityRestrictedError"), "It is normal operation because the application should have the platform certification"); + } catch (Exception ex) { Assert.True(false, "Exception occurs. Msg : " + ex.ToString());