Software APIs
Data Structures | Functions
anonymous_namespace{ownership_unlock_unittest.cc} Namespace Reference

Data Structures

class  OwnershipUnlockTest
 
class  OwnershipUnlockAnyStateTest
 
class  OwnershipUnlockEndorsedStateTest
 
class  OwnershipUnlockedUpdateStateTest
 
class  OwnershipUnlockAbortValidStateTest
 
class  OwnershipUnlockAbortInvalidStateTest
 
class  OwnershipUnlockUpdateModesTest
 

Functions

 TEST_F (OwnershipUnlockTest, BadUnlockMode)
 
 TEST_F (OwnershipUnlockTest, UnlockAny)
 
 TEST_F (OwnershipUnlockTest, UnlockAnyBadSignature)
 
 TEST_F (OwnershipUnlockTest, UnlockAnyBadDin)
 
 TEST_F (OwnershipUnlockTest, UnlockAnyBadNonce)
 
 TEST_P (OwnershipUnlockAnyStateTest, InvalidState)
 
 INSTANTIATE_TEST_SUITE_P (AllCases, OwnershipUnlockAnyStateTest, testing::Values(kOwnershipStateUnlockedSelf, kOwnershipStateUnlockedAny, kOwnershipStateUnlockedEndorsed))
 
 TEST_F (OwnershipUnlockTest, UnlockEndorsed)
 
 TEST_F (OwnershipUnlockTest, UnlockEndorsedBadSignature)
 
 TEST_F (OwnershipUnlockTest, UnlockEndorsedBadNonce)
 
 TEST_P (OwnershipUnlockEndorsedStateTest, InvalidState)
 
 INSTANTIATE_TEST_SUITE_P (AllCases, OwnershipUnlockEndorsedStateTest, testing::Values(kOwnershipStateUnlockedSelf, kOwnershipStateUnlockedAny, kOwnershipStateUnlockedEndorsed))
 
 TEST_F (OwnershipUnlockTest, UnlockUpdate)
 
 TEST_F (OwnershipUnlockTest, UnlockedUpdateBadSignature)
 
 TEST_F (OwnershipUnlockTest, UnlockedUpdateBadNonce)
 
 TEST_P (OwnershipUnlockedUpdateStateTest, InvalidState)
 
 INSTANTIATE_TEST_SUITE_P (AllCases, OwnershipUnlockedUpdateStateTest, testing::Values(kOwnershipStateUnlockedSelf, kOwnershipStateUnlockedEndorsed, kOwnershipStateRecovery))
 
 TEST_P (OwnershipUnlockAbortValidStateTest, UnlockAbort)
 
 INSTANTIATE_TEST_SUITE_P (AllCases, OwnershipUnlockAbortValidStateTest, testing::Values(kOwnershipStateUnlockedSelf, kOwnershipStateUnlockedEndorsed, kOwnershipStateUnlockedAny))
 
 TEST_P (OwnershipUnlockAbortInvalidStateTest, UnlockAbort)
 
 INSTANTIATE_TEST_SUITE_P (AllCases, OwnershipUnlockAbortInvalidStateTest, testing::Values(kOwnershipStateLockedOwner, kOwnershipStateRecovery))
 
 TEST_P (OwnershipUnlockUpdateModesTest, UnlockAny)
 
 TEST_P (OwnershipUnlockUpdateModesTest, UnlockUpdate)
 
 INSTANTIATE_TEST_SUITE_P (AllCases, OwnershipUnlockUpdateModesTest, testing::Values(kOwnershipUpdateModeOpen, kOwnershipUpdateModeSelf, kOwnershipUpdateModeSelfVersion, kOwnershipUpdateModeNewVersion))