[Non-ACR][NFC][Add Exception case in NFC manual TC] 64/211664/1
authorJung Jihoon <jh8801.jung@samsung.com>
Thu, 8 Aug 2019 02:23:04 +0000 (11:23 +0900)
committerJung Jihoon <jh8801.jung@samsung.com>
Thu, 8 Aug 2019 02:23:04 +0000 (11:23 +0900)
- 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 <jh8801.jung@samsung.com>
tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcCardEmulationAdapter.cs

index 2015232..0b0c31d 100755 (executable)
@@ -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)
             {\r
                 Assert.True(false, "Exception occurs. Msg : " + ex.ToString());\r