Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::testing::HttpsBinaryCacheStoreTest Class Reference
Inheritance diagram for nix::testing::HttpsBinaryCacheStoreTest:
nix::testing::LibStoreNetworkTest nix::testing::HttpsBinaryCacheStoreMtlsTest

Static Public Member Functions

static void SetUpTestSuite ()

Protected Member Functions

void SetUp () override
void TearDown () override
virtual OsStrings serverArgs ()
ref< TestHttpBinaryCacheStoreConfig > makeConfig ()
ref< TestHttpBinaryCacheStore > openStore (ref< TestHttpBinaryCacheStoreConfig > config)
Protected Member Functions inherited from nix::testing::LibStoreNetworkTest
void SetUp () override

Static Protected Member Functions

static void openssl (Strings args)

Protected Attributes

std::filesystem::path tmpDir
std::filesystem::path cacheDir
std::filesystem::path caCert
std::filesystem::path caKey
std::filesystem::path serverCert
std::filesystem::path serverKey
std::filesystem::path clientCert
std::filesystem::path clientKey
Pid serverPid
uint16_t port = 8443
std::shared_ptr< Store > localCacheStore
std::unique_ptr< FileTransferSettings > testFileTransferSettings
std::shared_ptr< FileTransfer > testFileTransfer

Member Data Documentation

◆ testFileTransfer

std::shared_ptr<FileTransfer> nix::testing::HttpsBinaryCacheStoreTest::testFileTransfer
protected

FileTransfer instance using our test settings. Initialized in SetUp().

◆ testFileTransferSettings

std::unique_ptr<FileTransferSettings> nix::testing::HttpsBinaryCacheStoreTest::testFileTransferSettings
protected

Custom FileTransferSettings with the test CA certificate. This is used instead of modifying global settings.


The documentation for this class was generated from the following files:
  • libstore-test-support/include/nix/store/tests/https-store.hh
  • libstore-test-support/https-store.cc