|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <sim/sim_model_multiunit.h>#include <sim/sim_model_subckt.h>#include <sim/spice_generator.h>#include <ki_exception.h>#include <memory>#include <set>#include <wx/tokenzr.h>Go to the source code of this file.
Functions | |
| static std::unique_ptr< SIM_MODEL_SUBCKT > | makeBaseOpamp () |
| static std::vector< UNIT_PIN_MAP > | dualOpampMaps () |
| static std::vector< wxString > | splitTokens (const wxString &aLine) |
| BOOST_AUTO_TEST_CASE (ParsePinsPreservesOrder) | |
| BOOST_AUTO_TEST_CASE (ParsePinsAllowsSharedModelPinAcrossSymbolPins) | |
| BOOST_AUTO_TEST_CASE (ParsePinsDuplicateIdenticalIsDeduped) | |
| BOOST_AUTO_TEST_CASE (ParsePinsMalformedMissingValue) | |
| BOOST_AUTO_TEST_CASE (ParsePinsMalformedMissingNumber) | |
| BOOST_AUTO_TEST_CASE (ParsePinsMalformedNoEquals) | |
| BOOST_AUTO_TEST_CASE (ParsePinsConflictThrows) | |
| BOOST_AUTO_TEST_CASE (WrapperSyntheticPinList) | |
| BOOST_AUTO_TEST_CASE (WrapperModelLine) | |
| BOOST_AUTO_TEST_CASE (WrapperDedupSignatureStable) | |
| BOOST_AUTO_TEST_CASE (WrapperCurrentNames) | |
| BOOST_AUTO_TEST_CASE (WrapperUnknownSharedPinThrows) | |
| BOOST_AUTO_TEST_CASE (WrapperUnassignedBasePinThrows) | |
| BOOST_AUTO_TEST_CASE (WrapperSharedPinMissingNetThrows) | |
| BOOST_AUTO_TEST_CASE (WrapperSharedPinMultipleNetsThrows) | |
| BOOST_AUTO_TEST_CASE (WrapperFourInstancesSharedRails) | |
| BOOST_AUTO_TEST_CASE (WrapperPrivatePerInstancePinIsNotConnected) | |
| BOOST_AUTO_TEST_CASE | ( | ParsePinsAllowsSharedModelPinAcrossSymbolPins | ) |
Definition at line 83 of file test_sim_model_multiunit.cpp.
References ParseSimPinsTokens().
| BOOST_AUTO_TEST_CASE | ( | ParsePinsConflictThrows | ) |
Definition at line 119 of file test_sim_model_multiunit.cpp.
References ParseSimPinsTokens().
| BOOST_AUTO_TEST_CASE | ( | ParsePinsDuplicateIdenticalIsDeduped | ) |
Definition at line 90 of file test_sim_model_multiunit.cpp.
References BOOST_CHECK_EQUAL(), and ParseSimPinsTokens().
| BOOST_AUTO_TEST_CASE | ( | ParsePinsMalformedMissingNumber | ) |
Definition at line 107 of file test_sim_model_multiunit.cpp.
References ParseSimPinsTokens().
| BOOST_AUTO_TEST_CASE | ( | ParsePinsMalformedMissingValue | ) |
Definition at line 101 of file test_sim_model_multiunit.cpp.
References ParseSimPinsTokens().
| BOOST_AUTO_TEST_CASE | ( | ParsePinsMalformedNoEquals | ) |
Definition at line 113 of file test_sim_model_multiunit.cpp.
References ParseSimPinsTokens().
| BOOST_AUTO_TEST_CASE | ( | ParsePinsPreservesOrder | ) |
Definition at line 71 of file test_sim_model_multiunit.cpp.
References BOOST_AUTO_TEST_CASE(), expected, and ParseSimPinsTokens().
| BOOST_AUTO_TEST_CASE | ( | WrapperCurrentNames | ) |
Definition at line 207 of file test_sim_model_multiunit.cpp.
References BOOST_CHECK_EQUAL(), BOOST_CHECK_MESSAGE(), dualOpampMaps(), makeBaseOpamp(), name, and SPICE_ITEM::refName.
| BOOST_AUTO_TEST_CASE | ( | WrapperDedupSignatureStable | ) |
Definition at line 187 of file test_sim_model_multiunit.cpp.
References BOOST_CHECK_EQUAL(), dualOpampMaps(), and makeBaseOpamp().
| BOOST_AUTO_TEST_CASE | ( | WrapperFourInstancesSharedRails | ) |
Definition at line 288 of file test_sim_model_multiunit.cpp.
References BOOST_CHECK_EQUAL(), SPICE_ITEM::refName, and splitTokens().
| BOOST_AUTO_TEST_CASE | ( | WrapperModelLine | ) |
Definition at line 153 of file test_sim_model_multiunit.cpp.
References BOOST_CHECK_EQUAL(), dualOpampMaps(), header, makeBaseOpamp(), SPICE_ITEM::refName, and splitTokens().
| BOOST_AUTO_TEST_CASE | ( | WrapperPrivatePerInstancePinIsNotConnected | ) |
Definition at line 337 of file test_sim_model_multiunit.cpp.
References BOOST_CHECK_EQUAL(), BOOST_CHECK_MESSAGE(), and SPICE_ITEM::refName.
| BOOST_AUTO_TEST_CASE | ( | WrapperSharedPinMissingNetThrows | ) |
Definition at line 253 of file test_sim_model_multiunit.cpp.
References makeBaseOpamp().
| BOOST_AUTO_TEST_CASE | ( | WrapperSharedPinMultipleNetsThrows | ) |
Definition at line 270 of file test_sim_model_multiunit.cpp.
References makeBaseOpamp().
| BOOST_AUTO_TEST_CASE | ( | WrapperSyntheticPinList | ) |
Definition at line 126 of file test_sim_model_multiunit.cpp.
References BOOST_CHECK_EQUAL(), BOOST_CHECK_MESSAGE(), dualOpampMaps(), makeBaseOpamp(), and pin.
| BOOST_AUTO_TEST_CASE | ( | WrapperUnassignedBasePinThrows | ) |
Definition at line 236 of file test_sim_model_multiunit.cpp.
References makeBaseOpamp().
| BOOST_AUTO_TEST_CASE | ( | WrapperUnknownSharedPinThrows | ) |
Definition at line 226 of file test_sim_model_multiunit.cpp.
References dualOpampMaps(), and makeBaseOpamp().
|
static |
Definition at line 46 of file test_sim_model_multiunit.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 33 of file test_sim_model_multiunit.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 56 of file test_sim_model_multiunit.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().