|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <map>#include <json_common.h>#include <oauth/secure_token_store.h>#include <remote_provider_settings.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (StoresLoadsAndDeletesTokens) | |
| BOOST_AUTO_TEST_CASE (TokenStoreDoesNotSerializeIntoProviderSettings) | |
| BOOST_AUTO_TEST_CASE | ( | StoresLoadsAndDeletesTokens | ) |
Definition at line 66 of file test_secure_token_store.cpp.
References OAUTH_TOKEN_SET::access_token, BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), SECURE_TOKEN_STORE::DeleteTokens(), OAUTH_TOKEN_SET::expires_at, OAUTH_TOKEN_SET::id_token, SECURE_TOKEN_STORE::LoadTokens(), OAUTH_TOKEN_SET::refresh_token, OAUTH_TOKEN_SET::scope, SECURE_TOKEN_STORE::StoreTokens(), and OAUTH_TOKEN_SET::token_type.
| BOOST_AUTO_TEST_CASE | ( | TokenStoreDoesNotSerializeIntoProviderSettings | ) |
Definition at line 93 of file test_secure_token_store.cpp.
References REMOTE_PROVIDER_ENTRY::last_account_label, REMOTE_PROVIDER_ENTRY::last_auth_status, REMOTE_PROVIDER_ENTRY::metadata_url, REMOTE_PROVIDER_ENTRY::provider_id, and REMOTE_PROVIDER_SETTINGS::providers.