Aktualizr
C++ SOTA Client
Functions
device_cred_prov_test.cc File Reference
#include <gtest/gtest.h>
#include <boost/filesystem.hpp>
#include <boost/smart_ptr/make_shared.hpp>
#include "httpfake.h"
#include "logging/logging.h"
#include "primary/initializer.h"
#include "primary/sotauptaneclient.h"
#include "storage/invstorage.h"
#include "uptane/uptanerepository.h"
#include "utilities/utils.h"
Include dependency graph for device_cred_prov_test.cc:

Go to the source code of this file.

Functions

 TEST (DeviceCredProv, DeviceIdFailure)
 Verify that when provisioning with device credentials, aktualizr fails if credentials are not available.
 
 TEST (DeviceCredProv, TlsFailure)
 Verify that when provisioning with device credentials, aktualizr fails if device ID is provided but credentials are not available.
 
 TEST (DeviceCredProv, Incomplete)
 Verfiy that aktualizr halts when provided incomplete device provisioning credentials.
 
 TEST (DeviceCredProv, Success)
 Verify that aktualizr can provision with provided device credentials.
 
int main (int argc, char **argv)