Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
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, Failure)
 Verify that when provisioning with device credentials, aktualizr halts if 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)