首页 > 其他分享 >keymaster4.0 VTS测试用例

keymaster4.0 VTS测试用例

时间:2023-03-15 16:58:24浏览次数:54  
标签:0TargetTest VtsHalKeymasterV4 -- gtest filter default VTS 测试用例 keymaster4.0

VTS单模块测试:

./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/VerificationTokenTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/VerificationOperationsTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ExportKeyTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportWrappedKeyTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/MaxOperationsTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AddEntropyTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AttestationTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/KeyDeletionTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/UpgradeKeyTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ClearOperationsTest*/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/TransportLimitTest*/0_default

VTS单用例测试:

如:

./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaGetKeyCharacteristicsRequiresCorrectAppIdAppData/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaUseRequiresCorrectAppIdAppData/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.NoUserConfirmation/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.EcGetKeyCharacteristicsRequiresCorrectAppIdAppData/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.EcUseRequiresCorrectAppIdAppData/0_default

VTS测试包整测:

单测命令集合:

./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.GetParameters/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.ComputeSharedHmac/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptNonce/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptSeed/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/VerificationTokenTest.TestCreation/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/VerificationTokenTest.MacChangesOnChangingTimestamp/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.Rsa/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.NoInvalidRsaSizes/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.RsaNoDefaultSize/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.Ecdsa/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.EcdsaDefaultSize/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.EcdsaInvalidSize/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.EcdsaMismatchKeySize/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.EcdsaAllValidSizes/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.EcdsaAllValidCurves/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.Hmac/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.HmacCheckKeySizes/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.HmacCheckMinMacLengths/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.HmacMultipleDigests/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/NewKeyGenerationTest.HmacDigestNone/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaGetKeyCharacteristicsRequiresCorrectAppIdAppData/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaUseRequiresCorrectAppIdAppData/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaPssSha256Success/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaPaddingNoneDoesNotAllowOther/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.NoUserConfirmation/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaPkcs1Sha256Success/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaPkcs1NoDigestSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaPkcs1NoDigestTooLong/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaPssSha512TooSmallKey/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaNoPaddingTooLong/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaAbort/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaUnsupportedPadding/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaNoDigest/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaNoPadding/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaTooShortMessage/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaSignWithEncryptionKey/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.RsaSignTooLargeMessage/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.EcdsaAllSizesAndHashes/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.EcdsaAllCurves/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.EcdsaNoDigestHugeData/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.EcGetKeyCharacteristicsRequiresCorrectAppIdAppData/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.EcUseRequiresCorrectAppIdAppData/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.AesEcbSign/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.HmacAllDigests/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.HmacSha256TooLargeMacLength/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.HmacSha256TooSmallMacLength/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.HmacRfc4231TestCase3/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/SigningOperationsTest.HmacRfc4231TestCase5/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/VerificationOperationsTest.RsaSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/VerificationOperationsTest.RsaAllPaddingsAndDigests/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/VerificationOperationsTest.EcdsaAllDigestsAndCurves/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/VerificationOperationsTest.HmacSigningKeyCannotVerify/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ExportKeyTest.RsaUnsupportedKeyFormat/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ExportKeyTest.RsaCorruptedKeyBlob/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ExportKeyTest.EcCorruptedKeyBlob/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ExportKeyTest.AesKeyUnexportable/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest.RsaSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest.RsaKeySizeMismatch/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest.RsaPublicExponentMismatch/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest.EcdsaSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest.EcdsaP256RFC5915Success/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest.EcdsaP256SEC1Success/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest.Ecdsa521Success/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest.EcdsaSizeMismatch/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest.EcdsaCurveMismatch/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest.AesSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportKeyTest.HmacKeySuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportWrappedKeyTest.Success/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportWrappedKeyTest.SuccessMasked/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportWrappedKeyTest.WrongMask/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ImportWrappedKeyTest.WrongPurpose/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.RsaNoPaddingSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.RsaNoPaddingShortMessage/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.RsaNoPaddingTooLong/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.RsaNoPaddingTooLarge/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.RsaOaepSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.RsaOaepInvalidDigest/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.RsaOaepDecryptWithWrongDigest/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.RsaOaepTooLarge/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.RsaPkcs1Success/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.RsaPkcs1TooLarge/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.EcdsaEncrypt/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.HmacEncrypt/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesEcbRoundTripSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesWrongMode/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesWrongPurpose/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesEcbNoPaddingWrongInputSize/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesEcbPkcs7Padding/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesEcbWrongPadding/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesEcbPkcs7PaddingCorrupted/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesCtrRoundTripSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesIncremental/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesCtrSp80038aTestVector/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesCtrIncompatiblePaddingMode/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesCtrInvalidCallerNonce/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesCbcRoundTripSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesCallerNonce/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesCallerNonceProhibited/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmRoundTripSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmRoundTripWithDelaySuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmDifferentNonces/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmTooShortTag/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmTooShortTagOnDecrypt/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmCorruptKey/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmAadNoData/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmMultiPartAad/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmAadOutOfOrder/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmBadAad/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmWrongNonce/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.AesGcmCorruptTag/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesEcbRoundTripSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesEcbNotAuthorized/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesEcbPkcs7Padding/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesEcbNoPaddingKeyWithPkcs7Padding/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesEcbPkcs7PaddingCorrupted/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesTestVector/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesCbcRoundTripSuccess/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesCallerIv/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesCallerNonceProhibited/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesCbcNotAuthorized/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesCbcNoPaddingWrongInputSize/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesCbcPkcs7Padding/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesCbcNoPaddingKeyWithPkcs7Padding/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesCbcPkcs7PaddingCorrupted/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/EncryptionOperationsTest.TripleDesCbcIncrementalNoPadding/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/MaxOperationsTest.TestLimitAes/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/MaxOperationsTest.TestLimitRsa/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AddEntropyTest.AddEntropy/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AddEntropyTest.AddEmptyEntropy/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AddEntropyTest.AddLargeEntropy/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AttestationTest.RsaAttestation/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AttestationTest.RsaAttestationRequiresAppId/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AttestationTest.EcAttestation/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AttestationTest.EcAttestationRequiresAttestationAppId/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AttestationTest.AttestationApplicationIDLengthProperlyEncoded/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AttestationTest.AesAttestation/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/AttestationTest.HmacAttestation/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/KeyDeletionTest.DeleteKey/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/KeyDeletionTest.DeleteInvalidKey/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/KeyDeletionTest.DeleteAllKeys/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/UpgradeKeyTest.UpgradeKey/0_default 
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/ClearOperationsTest.TooManyOperations/0_default
./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/TransportLimitTest.LargeFinishInput/0_default 

注意事项:

部分用例测试需要预置google key,以及设备要处于locked状态。

 

标签:0TargetTest,VtsHalKeymasterV4,--,gtest,filter,default,VTS,测试用例,keymaster4.0
From: https://www.cnblogs.com/xiululu/p/17219112.html

相关文章

  • 测试用例编写过程中要关注哪些要点?
    单元测试单元测试确保在一个段中编写的每一段代码都能产生最佳结果。开发人员在单元测试期间只看接口和确定部件。它提供了代码进展的文档,因为每个代码单元在继续......
  • 测试用例编写过程中要关注哪些要点?
    如何做到测试用例的百分百覆盖一直是测试用例编写过程中的难点,首先在测试时我们经常会遇见一些常见的bug,那么我们可以在编写测试用例时考虑到这些点。 一:关于业......
  • 初入软件测试如何编写测试用例?
    初入测试工作,一定要把会写测试用例作为第一要务和基石。测试粗略分为手工测试与自动化测试,本文主要介绍一些手工测试编写用例经验。 首先需要对所测产品的业务......
  • 写测试用例之前需要了解哪些信息?
    进入新公司,由于对当前产品不了解,如果直接开始写测试用例,写出的测试用例恐怕有点悬,就像吃香蕉一样,即使你知道香蕉是可以吃的,但是你不知道怎么去吃,在不了解的情况下,直接......
  • 测试用例包含的字段有哪些?
    测试用例的字段根据实际情况可多可少,但是其中的一些字段是必不可少的,如下: 必须包含的字段:用例编号、模块、测试步骤、预期结果、实际结果、优先级、测试人员、......
  • 可复用测试用例的开发与管理
    在软件测试过程中,一个成熟的团队一般都有自己的公共测试用例库。公共测试用例库即可复用的测试用例库。今天我们就讨论一下如何开发有效的可复用测试用例,并学会如何使......
  • 移动端测试用例设计汇总
    作为移动互联网产品『最后一公里的守护者』,我们必须要清楚的知道自己该做什么、怎么做。但从版本迭代速度、需求量级、测试人员不断变动等方面综合来看,我们很多人都没......
  • 常用的黑盒测试用例设计方法有哪些?
    黑盒测试是以用户的角度,从输入数据与输出数据的对应关系出发进行测试的。很明显,如果外部特性本身有问题或规格说明的规定有误,用黑盒测试方法是发现不了的。 具......
  • 软件测试用例设计的基础概述
    1.测试用例的主要构成元素·测试用例的基本要素包括:测试用例编号、测试标题、重要级别、测试数据输入、操作步骤、预期结果,实际结果·测试用例是软件测试团......
  • 如何设计、挑选有效的回归测试用例
    其实最有效的回归测试方法是建立在开发测试库的基础上;开发在创建测试库,每次生成程序的新版本时都可以运行这些用例。只有有效的从源头避免风险才能有效的进行回归测试......