commit | 44174ecbd0afd2b2eb78ac817c48d85c07249a31 | [log] [tgz] |
---|---|---|
author | Ruchi Kandoi <kandoiruchi@google.com> | Mon Jul 02 13:20:34 2018 -0700 |
committer | Ruchi Kandoi <kandoiruchi@google.com> | Mon Jul 02 21:35:34 2018 +0000 |
tree | 054777bd76e7a4dac15951c1bddac9994bc24ddf | |
parent | a086c5c3a9c67b7da884c7532bd2e94add5422db [diff] |
Secure_element: vts: Modify openBasicChannel as per OMAPI standard CHANNEL_NOT_AVAILABLE should be returned when opening basic channel is not permitted on the secure element Test: Test with SIM1 HAL Bug: 110945797 Change-Id: I2dd4eafaf4c534b49a37690a9baadcc5ac93190c
diff --git a/secure_element/1.0/vts/functional/VtsHalSecureElementV1_0TargetTest.cpp b/secure_element/1.0/vts/functional/VtsHalSecureElementV1_0TargetTest.cpp index 3ea3e8d..671923a 100644 --- a/secure_element/1.0/vts/functional/VtsHalSecureElementV1_0TargetTest.cpp +++ b/secure_element/1.0/vts/functional/VtsHalSecureElementV1_0TargetTest.cpp
@@ -173,7 +173,7 @@ se_->closeChannel(0); return; } - EXPECT_EQ(SecureElementStatus::UNSUPPORTED_OPERATION, statusReturned); + EXPECT_EQ(SecureElementStatus::CHANNEL_NOT_AVAILABLE, statusReturned); } /*