|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <jobs/job_export_bom.h>#include <nlohmann/json.hpp>#include <settings/bom_settings.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (ByteOrderMarkFormatPresetRoundTripAndLegacyDefault) | |
| BOOST_AUTO_TEST_CASE (VariantRoundTrip) | |
| BOOST_AUTO_TEST_CASE (EmptyVariantRoundTrip) | |
| BOOST_AUTO_TEST_CASE (VariantNoAccumulation) | |
| BOOST_AUTO_TEST_CASE (DefaultVariantClearsList) | |
| BOOST_AUTO_TEST_CASE (VariantFromList) | |
| BOOST_AUTO_TEST_CASE | ( | ByteOrderMarkFormatPresetRoundTripAndLegacyDefault | ) |
Definition at line 29 of file test_job_export_sch_bom.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_REQUIRE(), BOM_FMT_PRESET::CSV(), from_json(), and BOM_FMT_PRESET::includeByteOrderMark.
| BOOST_AUTO_TEST_CASE | ( | DefaultVariantClearsList | ) |
Definition at line 99 of file test_job_export_sch_bom.cpp.
References JOB_EXPORT_BOM::GetSelectedVariant(), JOB_EXPORT_BOM::m_variantNames, and JOB_EXPORT_BOM::SetSelectedVariant().
| BOOST_AUTO_TEST_CASE | ( | EmptyVariantRoundTrip | ) |
Definition at line 70 of file test_job_export_sch_bom.cpp.
References JOB::FromJson(), JOB_EXPORT_BOM::GetSelectedVariant(), and JOB::ToJson().
| BOOST_AUTO_TEST_CASE | ( | VariantFromList | ) |
Definition at line 111 of file test_job_export_sch_bom.cpp.
References JOB::FromJson(), JOB_EXPORT_BOM::GetSelectedVariant(), and JOB_EXPORT_BOM::m_includeByteOrderMark.
| BOOST_AUTO_TEST_CASE | ( | VariantNoAccumulation | ) |
Definition at line 86 of file test_job_export_sch_bom.cpp.
References BOOST_CHECK_EQUAL(), JOB_EXPORT_BOM::GetSelectedVariant(), JOB_EXPORT_BOM::m_variantNames, and JOB_EXPORT_BOM::SetSelectedVariant().
| BOOST_AUTO_TEST_CASE | ( | VariantRoundTrip | ) |
Definition at line 53 of file test_job_export_sch_bom.cpp.
References JOB::FromJson(), JOB_EXPORT_BOM::GetSelectedVariant(), JOB_EXPORT_BOM::m_includeByteOrderMark, JOB_EXPORT_BOM::SetSelectedVariant(), and JOB::ToJson().