|
|
std::filesystem::path | goldenMaster (std::string_view testStem) const override |
| void | testRequiredSystemFeatures (const std::string &fileName, const StringSet &expectedFeatures) |
| void | testDerivationOptions (const std::string &fileName, const DerivationOptions< SingleDerivedPath > &expected, const StringSet &expectedSystemFeatures) |
|
|
std::filesystem::path | unitTestData = getUnitTestData() / "derivation" / "ia" |
◆ testDerivationOptions()
| void nix::DerivationAdvancedAttrsTest::testDerivationOptions |
( |
const std::string & | fileName, |
|
|
const DerivationOptions< SingleDerivedPath > & | expected, |
|
|
const StringSet & | expectedSystemFeatures ) |
|
inline |
Helper function to test DerivationOptions parsing and comparison
◆ testRequiredSystemFeatures()
| void nix::DerivationAdvancedAttrsTest::testRequiredSystemFeatures |
( |
const std::string & | fileName, |
|
|
const StringSet & | expectedFeatures ) |
|
inline |
Helper function to test getRequiredSystemFeatures for a given derivation file
◆ mockXpSettings
| ExperimentalFeatureSettings nix::DerivationAdvancedAttrsTest::mockXpSettings |
We set these in tests rather than the regular globals so we don't have to worry about race conditions if the tests run concurrently.
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/nix-2.34.6-build/nix-2.34.6/src/libstore-tests/derivation-advanced-attrs.cc