|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <compatibility_report.h>#include <kiplatform/io.h>#include <qa_utils/temporary_directory.h>#include <filesystem>#include <iterator>#include <wx/ffile.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (TextReportIncludesTargetAndAllActions) | |
| BOOST_AUTO_TEST_CASE (TextReportIncludesMergedCountsAndDetails) | |
| BOOST_AUTO_TEST_CASE (EmptyTextReportHasZeroCounts) | |
| BOOST_AUTO_TEST_CASE (KeptFeaturesAppearWithoutLoss) | |
| BOOST_AUTO_TEST_CASE (DropOnlyTextReportHasNoApproximationEntries) | |
| BOOST_AUTO_TEST_CASE (TextReportRetainsUntranslatedFeatureText) | |
| BOOST_AUTO_TEST_CASE (TextReportCanBeSavedAndReplacedAsUtf8) | |
| BOOST_AUTO_TEST_CASE | ( | DropOnlyTextReportHasNoApproximationEntries | ) |
Definition at line 96 of file test_compatibility_report.cpp.
References COMPATIBILITY_REPORT::Add(), DROP, COMPATIBILITY_REPORT::IsBlocked(), COMPATIBILITY_REPORT::IsLossy(), text, and COMPATIBILITY_REPORT::ToText().
| BOOST_AUTO_TEST_CASE | ( | EmptyTextReportHasZeroCounts | ) |
Definition at line 72 of file test_compatibility_report.cpp.
References COMPATIBILITY_REPORT::IsBlocked(), COMPATIBILITY_REPORT::IsLossy(), text, and COMPATIBILITY_REPORT::ToText().
| BOOST_AUTO_TEST_CASE | ( | KeptFeaturesAppearWithoutLoss | ) |
Definition at line 83 of file test_compatibility_report.cpp.
References COMPATIBILITY_REPORT::Add(), COMPATIBILITY_REPORT::IsBlocked(), COMPATIBILITY_REPORT::IsLossy(), KEEP, text, and COMPATIBILITY_REPORT::ToText().
| BOOST_AUTO_TEST_CASE | ( | TextReportCanBeSavedAndReplacedAsUtf8 | ) |
Definition at line 126 of file test_compatibility_report.cpp.
References COMPATIBILITY_REPORT::Add(), KIPLATFORM::IO::AtomicWriteFile(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), DROP, KI_TEST::TEMPORARY_DIRECTORY::GetPath(), path, text, and COMPATIBILITY_REPORT::ToText().
| BOOST_AUTO_TEST_CASE | ( | TextReportIncludesMergedCountsAndDetails | ) |
Definition at line 54 of file test_compatibility_report.cpp.
References COMPATIBILITY_REPORT::Add(), BOOST_CHECK_EQUAL(), COMPATIBILITY_REPORT::Count(), COMPATIBILITY_REPORT::Entries(), COMPATIBILITY_REPORT::IsBlocked(), COMPATIBILITY_REPORT::IsLossy(), LOWER, text, and COMPATIBILITY_REPORT::ToText().
| BOOST_AUTO_TEST_CASE | ( | TextReportIncludesTargetAndAllActions | ) |
Definition at line 23 of file test_compatibility_report.cpp.
References COMPATIBILITY_REPORT::Add(), BLOCK, BOOST_AUTO_TEST_CASE(), DROP, COMPATIBILITY_REPORT::IsBlocked(), COMPATIBILITY_REPORT::IsLossy(), KEEP, LOWER, text, and COMPATIBILITY_REPORT::ToText().
| BOOST_AUTO_TEST_CASE | ( | TextReportRetainsUntranslatedFeatureText | ) |
Definition at line 110 of file test_compatibility_report.cpp.
References COMPATIBILITY_REPORT::Add(), DROP, text, and COMPATIBILITY_REPORT::ToText().