KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>
#include "eeschema_test_utils.h"
#include <sch_reference_list.h>
#include <refdes_tracker.h>
Go to the source code of this file.
Classes | |
class | TEST_ANNOTATION_UNITS_CONFLICTS |
struct | UNIT_CONFLICT_TEST_CASE |
Functions | |
BOOST_AUTO_TEST_CASE (ValidateUnitConflictDetection) | |
BOOST_AUTO_TEST_CASE (GetNextRefDesForUnits_Integration) | |
BOOST_AUTO_TEST_CASE (RefDesTracker_StateConsistency) | |
BOOST_AUTO_TEST_CASE (CacheConsistency_AfterInserts) | |
BOOST_AUTO_TEST_CASE (ThreadSafety_BasicValidation) | |
Variables | |
static const std::vector< UNIT_CONFLICT_TEST_CASE > | unitConflictCases |
BOOST_AUTO_TEST_CASE | ( | CacheConsistency_AfterInserts | ) |
Definition at line 309 of file test_annotation_units_conflicts.cpp.
References BOOST_CHECK_EQUAL(), REFDES_TRACKER::Contains(), REFDES_TRACKER::GetNextRefDesForUnits(), REFDES_TRACKER::Insert(), and next().
BOOST_AUTO_TEST_CASE | ( | GetNextRefDesForUnits_Integration | ) |
Definition at line 232 of file test_annotation_units_conflicts.cpp.
References BOOST_CHECK_EQUAL(), REFDES_TRACKER::Contains(), REFDES_TRACKER::GetNextRefDesForUnits(), and REFDES_TRACKER::Insert().
BOOST_AUTO_TEST_CASE | ( | RefDesTracker_StateConsistency | ) |
Definition at line 267 of file test_annotation_units_conflicts.cpp.
References BOOST_CHECK_EQUAL(), REFDES_TRACKER::Contains(), REFDES_TRACKER::GetNextRefDesForUnits(), REFDES_TRACKER::Insert(), next(), and REFDES_TRACKER::Size().
BOOST_AUTO_TEST_CASE | ( | ThreadSafety_BasicValidation | ) |
Definition at line 351 of file test_annotation_units_conflicts.cpp.
References BOOST_CHECK_EQUAL(), REFDES_TRACKER::Contains(), REFDES_TRACKER::Deserialize(), REFDES_TRACKER::GetNextRefDesForUnits(), REFDES_TRACKER::Insert(), next(), and REFDES_TRACKER::Serialize().
BOOST_AUTO_TEST_CASE | ( | ValidateUnitConflictDetection | ) |
Definition at line 171 of file test_annotation_units_conflicts.cpp.
References BOOST_CHECK_EQUAL(), BOOST_TEST_MESSAGE(), and unitConflictCases.
|
static |
Definition at line 85 of file test_annotation_units_conflicts.cpp.
Referenced by BOOST_AUTO_TEST_CASE().