MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / TEST_F

Function TEST_F

tests/unit-tests/dds/DCPS/security/CryptoBuiltInImpl.cpp:53–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52
53TEST_F(dds_DCPS_security_CryptoBuiltInImpl, CreateLocalParticipantTokens)
54{
55 ::DDS::Security::CryptoTokenSeq tokens;
56 ::DDS::Security::SecurityException ex;
57
58 // Test bad handles. These should fail and not add any tokens
59 EXPECT_FALSE(get_inst().create_local_participant_crypto_tokens(tokens, DDS::HANDLE_NIL, Remote_Participant, ex));
60 EXPECT_EQ(0U, tokens.length());
61 EXPECT_FALSE(get_inst().create_local_participant_crypto_tokens(tokens, Local_Participant, DDS::HANDLE_NIL, ex));
62 EXPECT_EQ(0U, tokens.length());
63}
64
65TEST_F(dds_DCPS_security_CryptoBuiltInImpl, SetRemoteParticipantTokens)
66{

Callers

nothing calls this directly

Tested by

no test coverage detected