KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_orcad_sch_import.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <richio.h>
#include <sch_io/orcad/sch_io_orcad.h>
#include <sch_io/kicad_sexpr/sch_io_kicad_sexpr.h>
#include <sch_io/orcad/orcad_cache.h>
#include <sch_io/orcad/orcad_cis.h>
#include <sch_io/orcad/orcad_converter.h>
#include <sch_io/orcad/orcad_library.h>
#include <sch_io/ole_image.h>
#include <sch_io/orcad/orcad_page.h>
#include <schematic.h>
#include <import_net_map.h>
#include <connection_graph.h>
#include <sch_screen.h>
#include <sch_sheet.h>
#include <sch_sheet_pin.h>
#include <sch_sheet_path.h>
#include <sch_symbol.h>
#include <sch_label.h>
#include <sch_line.h>
#include <sch_junction.h>
#include <sch_no_connect.h>
#include <sch_bitmap.h>
#include <sch_shape.h>
#include <sch_text.h>
#include <sch_textbox.h>
#include <sch_pin.h>
#include <lib_symbol.h>
#include <geometry/shape_compound.h>
#include <reporter.h>
#include <settings/settings_manager.h>
#include <bitmap_base.h>
#include <wx/ffile.h>
#include <wx/filefn.h>
#include <wx/filename.h>
#include <algorithm>
#include <filesystem>
#include <fstream>
#include <map>
#include <memory>
#include <set>
#include <sstream>
#include <string>

Go to the source code of this file.

Classes

struct  ORCAD_SCH_IMPORT_FIXTURE
 

Functions

 BOOST_AUTO_TEST_CASE (CisVariantFallbackSortsBomNamesBytewise)
 
 BOOST_AUTO_TEST_CASE (CisLegacyEmptyVariantListHasNoSelection)
 
 BOOST_AUTO_TEST_CASE (CisVariantPropertyUpdatesParseRealRecordShape)
 
 BOOST_AUTO_TEST_CASE (CisVariantMembershipRetainsInstalledState)
 
 BOOST_AUTO_TEST_CASE (CisSchematicInfoMapsVariantPropertiesToPageDatabaseIds)
 
 BOOST_AUTO_TEST_CASE (StructurePrefixDepthIsTypeOwned)
 
 BOOST_AUTO_TEST_CASE (StructurePrefixDepthDoesNotRetry)
 
 BOOST_AUTO_TEST_CASE (StructureBodyLimitIsEnforced)
 
 BOOST_AUTO_TEST_CASE (CacheEmptyStreamIsMarkerPlusFourZeroSections)
 
 BOOST_AUTO_TEST_CASE (CacheTrailingBytesAfterFourSectionsAreReported)
 
 BOOST_AUTO_TEST_CASE (CacheSectionRejectsAForeignStructureType)
 
 BOOST_AUTO_TEST_CASE (LibraryStringTableCountWidthFollowsVersion)
 
 BOOST_AUTO_TEST_CASE (PrimitiveRecordLengthConventionIsChecked)
 
 BOOST_AUTO_TEST_CASE (CommentTextLengthOwnsItsRecordExtent)
 
 BOOST_AUTO_TEST_CASE (PrimitiveLineWidth)
 
 BOOST_AUTO_TEST_CASE (LibraryPartGeneralPropertiesPreserveImplementationPath)
 
 BOOST_AUTO_TEST_CASE (ModernSymbolPinRetainsDisplayOverride)
 
 BOOST_AUTO_TEST_CASE (BusEntryCoordinatesPrecedeReservedWords)
 
 BOOST_AUTO_TEST_CASE (S593487_V2CommentTextRetainsBoundingBox)
 
 BOOST_AUTO_TEST_CASE (CaptureColorPalette)
 
 BOOST_AUTO_TEST_CASE (PlacedPinSignedIndexCarriesNoConnectFlag)
 
 BOOST_AUTO_TEST_CASE (CaptureCompoundFileName)
 
 BOOST_AUTO_TEST_CASE (CaptureStrokeAndFillSemantics)
 
 BOOST_AUTO_TEST_CASE (CapturePageOrder)
 
 BOOST_AUTO_TEST_CASE (ModernSchematicStreamReversesStoredPageOrder)
 
 BOOST_AUTO_TEST_CASE (V2SchematicStreamReversesStoredPageOrder)
 
 BOOST_AUTO_TEST_CASE (V2OccurrenceReferencesUseTargetObjectIds)
 
 BOOST_AUTO_TEST_CASE (V2OccurrencePropertiesSurviveBlankReference)
 
 BOOST_AUTO_TEST_CASE (ModernOccurrencePropertiesSurviveBlankReference)
 
 BOOST_AUTO_TEST_CASE (HierarchyLinksComeFromSequentialOccurrenceRecords)
 
 BOOST_AUTO_TEST_CASE (V2SymbolStreamRetainsDefinitionProperties)
 
 BOOST_AUTO_TEST_CASE (ViewsDirectoryLimitsImportedSchematicFolders)
 
 BOOST_AUTO_TEST_CASE (PrimitiveStrokeAndFillStyles)
 
 BOOST_AUTO_TEST_CASE (DesignTemplatePinFonts)
 
 BOOST_AUTO_TEST_CASE (PageSettingsRetainPrintableFrameConfiguration)
 
 BOOST_AUTO_TEST_CASE (PrimitivePolygonStylesBeforePoints)
 
 BOOST_AUTO_TEST_CASE (PrimitiveSymbolVectorContents)
 
 BOOST_AUTO_TEST_CASE (OleMetafilePreviewExtraction)
 
 BOOST_AUTO_TEST_CASE (TruncatedEmbeddedOleContainerIsPadded)
 
 BOOST_AUTO_TEST_CASE (OleNativeBitmapExtraction)
 
 BOOST_AUTO_TEST_CASE (SharedOleContentsBitmapExtraction)
 
 BOOST_AUTO_TEST_CASE (OleDirectoryCycleTerminates)
 
 BOOST_AUTO_TEST_CASE (OleContentsRejectsBogusDib)
 
 BOOST_AUTO_TEST_CASE (CiImageFullRasterExtraction)
 
 BOOST_AUTO_TEST_CASE (CiImageScannerDoesNotConsumeOleNativeCache)
 
 BOOST_AUTO_TEST_CASE (EmbeddedImageFillsNonSquareSourceBox)
 
 BOOST_AUTO_TEST_CASE (WmfRenderUsesEmbeddedBoxAspectBeforeRasterization)
 
 BOOST_AUTO_TEST_CASE (WmfGlyphIndexTextAndDestinationCopyRender)
 
 BOOST_AUTO_TEST_CASE (WmfNegativeDestinationHeightFlipsDibWithoutClipping)
 
 BOOST_AUTO_TEST_CASE (EmbeddedEmfChunksExcludeWmfFraming)
 
 BOOST_AUTO_TEST_CASE (EmbeddedEmfRendersPathsAndRotatedTextDeterministically)
 
 BOOST_AUTO_TEST_CASE (MalformedEmfRecordsAreRejected)
 
 BOOST_AUTO_TEST_CASE (CalibriTextUsesMetricCompatibleOutlines)
 
 BOOST_AUTO_TEST_CASE (EmfImageTagInTextRendersAsText)
 
 BOOST_AUTO_TEST_CASE (MetafilePreviewPrefersEmbeddedEmfAndFallsBackToWmf)
 
 BOOST_AUTO_TEST_CASE (ExternalEmbeddedEmfRendersWhenProvided)
 
 BOOST_AUTO_TEST_CASE (ExternalWmfEmbeddedEmfRendersWhenProvided)
 
 BOOST_AUTO_TEST_CASE (OlePreviewWithMultiplePresentationStreams)
 
 BOOST_AUTO_TEST_CASE (LegacyPageNetGroups)
 
static std::string terminalToken (const std::string &aRef, const std::string &aPin)
 
static std::pair< int, int > checkConnectivity (SCHEMATIC &aSchematic, const std::vector< std::set< std::string > > &aNets, std::vector< std::set< std::string > > *aInconsistent)
 Count ground-truth nets whose resolvable terminals all land on one KiCad net after connectivity rebuild.
 
static SCH_SHEETconvertRawDesign (ORCAD_DESIGN &aDesign, SCHEMATIC &aSchematic, REPORTER *aReporter=nullptr)
 
 BOOST_AUTO_TEST_CASE (SameNetInteriorWireCrossingGetsJunction)
 
 BOOST_AUTO_TEST_CASE (ExplicitPageDimensionsRemainAuthoritative)
 
 BOOST_AUTO_TEST_CASE (VisiblePageOuterBorderIsImported)
 
 BOOST_AUTO_TEST_CASE (TitleBlockDisplayPropertiesAreRendered)
 
 BOOST_AUTO_TEST_CASE (TitleBlockLibraryDefaultSurvivesEmptyInstanceProperty)
 
 BOOST_AUTO_TEST_CASE (SchematicModifyDateUsesPageTimestamp)
 
 BOOST_AUTO_TEST_CASE (RudyTitleBlockUsesCaptureShortDate)
 
 BOOST_AUTO_TEST_CASE (EmptyTitleBlockDisplayPropertiesUseCapturePlaceholders)
 
 BOOST_AUTO_TEST_CASE (MultipleTitleBlocksAreAllRendered)
 
 BOOST_AUTO_TEST_CASE (TitleBlockVariantMatchesEncodedDimensions)
 
 BOOST_AUTO_TEST_CASE (TitleBlockVectorTextBoundsDoNotCauseWrapping)
 
 BOOST_AUTO_TEST_CASE (NumericPageNamesOverrideRotatedStorageOrder)
 
 BOOST_AUTO_TEST_CASE (TitleBlockPageNumbersOverrideStorageOrder)
 
static SCH_SYMBOLfindConvertedSymbol (SCH_SCREEN &aScreen, const SCH_SHEET_PATH &aPath, const wxString &aReference)
 
 BOOST_AUTO_TEST_CASE (PageGraphicUuidsFollowSourceOrder)
 
 BOOST_AUTO_TEST_CASE (PageCommentSourceBoundsDefineWrapWidth)
 
 BOOST_AUTO_TEST_CASE (BoldArialNarrowCommentIgnoresSmallMetricOverflow)
 
 BOOST_AUTO_TEST_CASE (BoldArialNarrowNoteIgnoresSmallMetricOverflow)
 
 BOOST_AUTO_TEST_CASE (PageCommentUsesSourceAnchorWhenBoundsArePresent)
 
 BOOST_AUTO_TEST_CASE (ElephantPageCommentUsesSourceBoundsForBaseline)
 
 BOOST_AUTO_TEST_CASE (ArialNarrowCommentBoundsDoNotImplyWrapping)
 
 BOOST_AUTO_TEST_CASE (BoldArialNarrowCommentBoundsDoNotImplyWrapping)
 
 BOOST_AUTO_TEST_CASE (PageCommentRenderedOverflowDoesNotImplyWrapping)
 
 BOOST_AUTO_TEST_CASE (PageCommentSmallMetricOverflowRemainsSingleLine)
 
 BOOST_AUTO_TEST_CASE (LegacySymbolFontsAreConvertedToUnicode)
 
 BOOST_AUTO_TEST_CASE (PageCommentTextThatFitsRemainsSingleLine)
 
 BOOST_AUTO_TEST_CASE (LargePageGraphicTextIsNotClamped)
 
 BOOST_AUTO_TEST_CASE (FixedPitchPageGraphicUsesCharacterCellWidthForWrapping)
 
 BOOST_AUTO_TEST_CASE (DefaultPageGraphicColorIsBlack)
 
 BOOST_AUTO_TEST_CASE (EmbeddedEmfOleFrameDefaultsToRed)
 
 BOOST_AUTO_TEST_CASE (PlainWmfOleFrameDefaultsToBlack)
 
 BOOST_AUTO_TEST_CASE (WhiteFilledPageGraphicPrintsBlack)
 
 BOOST_AUTO_TEST_CASE (DegeneratePageArcDoesNotBecomeFullEllipse)
 
 BOOST_AUTO_TEST_CASE (DesignTemplateFontIdsResolveToLogfonts)
 
 BOOST_AUTO_TEST_CASE (ExplicitDisplayFontBypassesTemplateMapping)
 
 BOOST_AUTO_TEST_CASE (BoxedSymbolTextRemainsCenteredInItsSourceBounds)
 
 BOOST_AUTO_TEST_CASE (BoxedMultilineSymbolTextRemainsLeftAligned)
 
 BOOST_AUTO_TEST_CASE (LaterBoxStrokeOccludesSymbolTextUnderscores)
 
 BOOST_AUTO_TEST_CASE (RotatedSymbolPreservesPrimitiveTextOrientation)
 
 BOOST_AUTO_TEST_CASE (BoxedSymbolTextUsesFontEscapement)
 
 BOOST_AUTO_TEST_CASE (SymbolTextDoesNotStealConnectedContactCircle)
 
 BOOST_AUTO_TEST_CASE (DegenerateSymbolArcDoesNotBecomeFullEllipse)
 
 BOOST_AUTO_TEST_CASE (ZeroLengthPinRetainsNativeNameAndNumberData)
 
 BOOST_AUTO_TEST_CASE (PowerStylePinRemainsVisible)
 
 BOOST_AUTO_TEST_CASE (ZeroLengthPowerStylePinHidesImplicitText)
 
 BOOST_AUTO_TEST_CASE (InputPinUsesCaptureBodyWedge)
 
 BOOST_AUTO_TEST_CASE (HorizontalPinNumberRemainsNativePinData)
 
 BOOST_AUTO_TEST_CASE (DisplayedImplementationPropertyIsPreserved)
 
 BOOST_AUTO_TEST_CASE (DisplayedPropertyNameUsesCaptureEqualsSeparator)
 
 BOOST_AUTO_TEST_CASE (DisplayedValueNameUsesCaptureEqualsSeparator)
 
 BOOST_AUTO_TEST_CASE (HiddenImplementationPathPropertyIsPreserved)
 
 BOOST_AUTO_TEST_CASE (OccurrencePropertiesOverrideReusablePartFields)
 
 BOOST_AUTO_TEST_CASE (UnrelatedOccurrenceNetNamesAreIgnored)
 
 BOOST_AUTO_TEST_CASE (OccurrenceNetPrefixDoesNotRenameInterfaceNet)
 
 BOOST_AUTO_TEST_CASE (OccurrenceAliasRenamesInterfaceNet)
 
 BOOST_AUTO_TEST_CASE (OffpageUsesVisibleNativeLabelWithVerticalWireOrientation)
 
 BOOST_AUTO_TEST_CASE (OffpageIntersheetReferencePreservesStoredDisplay)
 
 BOOST_AUTO_TEST_CASE (HiddenOffpageIntersheetReferenceIsNotRendered)
 
 BOOST_AUTO_TEST_CASE (PortUsesVisibleNativeLabelWithoutDuplicateGraphics)
 
 BOOST_AUTO_TEST_CASE (OccurrenceNameCanonicalizesCrossPageInterfaceAliasGroup)
 
 BOOST_AUTO_TEST_CASE (DistinctOccurrenceInterfaceNamesRemainSeparate)
 
 BOOST_AUTO_TEST_CASE (OccurrenceWireNameOverridesOffpageDisplayName)
 
 BOOST_AUTO_TEST_CASE (OccurrencePowerNameDoesNotGlobalizeUnconnectedWire)
 
 BOOST_AUTO_TEST_CASE (PowerSymbolDisplayNameDoesNotOverrideLogicalNet)
 
 BOOST_AUTO_TEST_CASE (ExplicitPowerStylePinUsesSourceNetInsteadOfImplicitGlobalName)
 
 BOOST_AUTO_TEST_CASE (NativeHiddenPowerKeepsMultiunitPackageIdentity)
 
 BOOST_AUTO_TEST_CASE (PowerSymbolsSharingNetKeepSourceGraphicIdentity)
 
static std::filesystem::path findCorpusDesign (const std::filesystem::path &aRoot, const std::string &aFileName)
 
 BOOST_AUTO_TEST_CASE (OccurrencePowerAliasChainUsesAuthoritativeName)
 
 BOOST_AUTO_TEST_CASE (OccurrencePowerAliasJoinsDistinctChildNetNames)
 
 BOOST_AUTO_TEST_CASE (LegacyGraphicBoundingBoxUsesDefinitionExtent)
 
 BOOST_AUTO_TEST_CASE (NamedPageNetOverridesPowerLogicalName)
 
 BOOST_AUTO_TEST_CASE (GlobalConnectorDoesNotPromoteWireAlias)
 
 BOOST_AUTO_TEST_CASE (InterfaceAliasDoesNotRenameConnectorOnDistinctNet)
 
 BOOST_AUTO_TEST_CASE (LeadingSlashNetNameRemainsDistinct)
 
 BOOST_AUTO_TEST_CASE (HierarchicalInternalNetUsesBlockName)
 
 BOOST_AUTO_TEST_CASE (HierarchicalBlockDisplayFieldsPreserveSourceGeometry)
 
 BOOST_AUTO_TEST_CASE (MultiPageHierarchyFollowsCaptureFolderOrder)
 
 BOOST_AUTO_TEST_CASE (GeneratedParentNetUsesHierarchicalBlockPinName)
 
 BOOST_AUTO_TEST_CASE (GeneratedParentNetUsesFirstConnectedHierarchicalBlockPinName)
 
 BOOST_AUTO_TEST_CASE (S593487_StaleCachedPinGeometry)
 
 BOOST_AUTO_TEST_CASE (PlacedPinLocationIsTheConnectionPoint)
 
 BOOST_AUTO_TEST_CASE (SynthesizedSinglePinBodyUsesRotatedPlacementExtent)
 
 BOOST_AUTO_TEST_CASE (S593487_ClosestCachedBodyIsFitted)
 
 BOOST_AUTO_TEST_CASE (S593487_PrimaryGraphicsUsePlacedVariantGeometry)
 
 BOOST_AUTO_TEST_CASE (SourceMatchedVariantPreservesItsGraphics)
 
 BOOST_AUTO_TEST_CASE (S593487_StackedPlacedPinsRemainStacked)
 
 BOOST_AUTO_TEST_CASE (DistinctNetsOnStackedPinsRemainDistinct)
 
 BOOST_AUTO_TEST_CASE (S593487_ReorderedSignedPinsValidateExactly)
 
 BOOST_AUTO_TEST_CASE (S593487_FittedVariantImportIsDeterministic)
 
 BOOST_AUTO_TEST_CASE (PartReferenceDisplayPreservesUnitDesignator)
 
 BOOST_AUTO_TEST_CASE (OccurrenceReferenceOverridesDisplayedTemplateReference)
 
 BOOST_AUTO_TEST_CASE (SingleUnitReferenceDoesNotUseCacheNameAsUnitDesignator)
 
 BOOST_AUTO_TEST_CASE (S593487_RT44DisplayedFootprintAndPassivePins)
 
 BOOST_AUTO_TEST_CASE (RejectsSpecctraTextDsn)
 
 BOOST_AUTO_TEST_CASE (RejectsNonexistentFile)
 
 BOOST_AUTO_TEST_CASE (RejectsWrongExtension)
 
static std::string trimCell (std::string aText)
 
static std::vector< std::string > splitRefs (const std::string &aCell)
 
static std::set< std::string > parseBomRefs (const std::string &aPath)
 
static std::set< std::string > parseNetComs (const std::string &aPath)
 
static std::set< std::string > collectImportedRefs (SCHEMATIC &aSchematic)
 Unique refdes of real (non-power) parts.
 
static std::vector< std::set< std::string > > parseNetTerminals (const std::string &aPath)
 Net terminal sets from .NET.
 
static wxString terminalNetName (SCHEMATIC &aSchematic, const wxString &aReference, const wxString &aPinNumber)
 
static std::set< std::string > expectedRefsFor (const std::filesystem::path &aDsn, std::string &aSource)
 Ground-truth companion beside .DSN, .NET preferred over .BOM.
 
 BOOST_AUTO_TEST_CASE (CorpusValidation)
 
 BOOST_AUTO_TEST_CASE (CisVariantFallbackUsesBytewiseFirstBomName)
 
 BOOST_AUTO_TEST_CASE (UnreferencedSchematicFoldersRemainVisibleButExcludedFromBoard)
 
 BOOST_AUTO_TEST_CASE (ViewsDirectoryIgnoresStaleStoredFolders)
 
 BOOST_AUTO_TEST_CASE (OccurrenceFlatNetConnectsAcrossPagesWithoutOffpageSymbols)
 
static std::map< std::string, std::vector< std::string > > collectImportedUuids (const SCHEMATIC &aSchematic)
 
 BOOST_AUTO_TEST_CASE (RepeatedImportHasDeterministicUuids)
 
 BOOST_AUTO_TEST_CASE (ImportNetMapRetainsSecondarySourceAliases)
 
 BOOST_AUTO_TEST_CASE (AutoGeneratedNetNamesAreMappedWithoutNamingLabels)
 
 BOOST_AUTO_TEST_CASE (CaptureNetIdsAndBlankUnitLettersAreAuthoritative)
 
 BOOST_AUTO_TEST_CASE (BusMembersWithoutLocalWiresRetainNetMapReferences)
 
 BOOST_AUTO_TEST_CASE (NetMapIncludesPinsConnectedByImportJunctionCleanup)
 
 BOOST_AUTO_TEST_CASE (HierarchicalBusMembersMapToPropagatedScalarNets)
 
 BOOST_AUTO_TEST_CASE (NamedWirelessPinUsesOccurrenceNetName)
 
 BOOST_AUTO_TEST_CASE (ReservedDatasheetPropertyUsesStandardField)
 
 BOOST_AUTO_TEST_CASE (ReservedFootprintPropertyUsesDistinctMetadataField)
 
 BOOST_AUTO_TEST_CASE (DisplayedPropertiesUseCaptureNameMatchingAndStandardFields)
 
 BOOST_AUTO_TEST_CASE (DisplayedInheritedPartFieldsArePreserved)
 
 BOOST_AUTO_TEST_CASE (DisplayTypeTwoPropertiesRenderNamesAndValues)
 
 BOOST_AUTO_TEST_CASE (DisplayTypeFourPropertiesShowOnlyTheirValues)
 
 BOOST_AUTO_TEST_CASE (DisplayTypeThreePropertiesShowOnlyTheirNames)
 
 BOOST_AUTO_TEST_CASE (SimulationResultPropertiesAreNotPersistentGraphics)
 
 BOOST_AUTO_TEST_CASE (GeneratedWirelessNetOverridesPeerPinName)
 
 BOOST_AUTO_TEST_CASE (GlobalNetNamesAreCaseInsensitive)
 
 BOOST_AUTO_TEST_CASE (CaptureBusRangesUseKiCadSyntax)
 
 BOOST_AUTO_TEST_CASE (CanonicalPropertiesIgnoreCaseInsensitiveDuplicates)
 
 BOOST_AUTO_TEST_CASE (CollidingOccurrenceAliasesRemainSeparate)
 
 BOOST_AUTO_TEST_CASE (CollidingOffpageOccurrenceAliasesRemainSeparate)
 
 BOOST_AUTO_TEST_CASE (FlatFolderOccurrenceAliasesConnectDisplacedPins)
 
 BOOST_AUTO_TEST_CASE (PowerNetNameWinsOverSecondaryOccurrencePortAlias)
 
 BOOST_AUTO_TEST_CASE (DuplicatePageNetIdsPreserveAliases)
 
 BOOST_AUTO_TEST_CASE (DuplicatePageNetIdsDoNotShortDistinctNets)
 
 BOOST_AUTO_TEST_CASE (AliasAtCrossingDoesNotShortCaptureNets)
 
 BOOST_AUTO_TEST_CASE (WirelessPinUsesPageNetId)
 
 BOOST_AUTO_TEST_CASE (AmbiguousWirelessPinUsesOccurrenceNetName)
 
 BOOST_AUTO_TEST_CASE (BlankPackagePinNumbersUseLogicalNames)
 
 BOOST_AUTO_TEST_CASE (FallbackPackagePrefersNumberedPins)
 
 BOOST_AUTO_TEST_CASE (FallbackPackageUsesLogicalPinOrder)
 
 BOOST_AUTO_TEST_CASE (NumericUnitNamesUseNaturalOrder)
 
 BOOST_AUTO_TEST_CASE (OccurrenceReferencesOverridePlacedTemplateReferences)
 
 BOOST_AUTO_TEST_CASE (RootOccurrenceTargetIdsOverridePlacedTemplateReferences)
 
 BOOST_AUTO_TEST_CASE (FlatModernOccurrenceReferencesOverridePlacedReferences)
 
 BOOST_AUTO_TEST_CASE (SuperSpeedOccurrencePropertiesOverrideReusableComponents)
 
 BOOST_AUTO_TEST_CASE (EmptyOccurrencePropertiesClearTemplateMetadata)
 
 BOOST_AUTO_TEST_CASE (CapturePseudoGlobalWirelessPinsConnectAcrossPages)
 
 BOOST_AUTO_TEST_CASE (PowerAliasesConnectAcrossPages)
 
 BOOST_AUTO_TEST_CASE (ReusedPowerNetIdsDoNotJoinDisconnectedNets)
 
 BOOST_AUTO_TEST_CASE (ReusedPowerNetAliasesRemainPhysicallyScoped)
 
 BOOST_AUTO_TEST_CASE (SinglePowerMeaningPropagatesAcrossReusedNetId)
 
 BOOST_AUTO_TEST_CASE (RepeatedLocalNetNamesRemainSheetScoped)
 
 BOOST_AUTO_TEST_CASE (RepeatedHierarchicalPortNamesRemainSheetScoped)
 
 BOOST_AUTO_TEST_CASE (RepeatedHierarchicalOffpageNamesRemainSheetScoped)
 
 BOOST_AUTO_TEST_CASE (NestedOccurrenceReferencesOverridePlacedTemplateReferences)
 
 BOOST_AUTO_TEST_CASE (SharedOccurrenceNetWithoutTerminalPeerKeepsBaseName)
 
 BOOST_AUTO_TEST_CASE (PowerNetNameOverridesLocalWireAlias)
 
 BOOST_AUTO_TEST_CASE (NativePowerNamesIgnoreSourceCase)
 
 BOOST_AUTO_TEST_CASE (HiddenWireLabelsAvoidBusCrossings)
 
 BOOST_AUTO_TEST_CASE (IncompleteCachedSymbolsUsePlacedPins)
 
 BOOST_AUTO_TEST_CASE (LegacyOffpageConnectorsKeepDistinctPinPositions)
 
 BOOST_AUTO_TEST_CASE (EmptyPackagePinNumbersUseLogicalPinNames)
 
 BOOST_AUTO_TEST_CASE (EmptyPackagePinNumbersPreserveAlphabeticNames)
 
 BOOST_AUTO_TEST_CASE (EmbeddedTwoPinPackageNamesDoNotReplacePhysicalNumbers)
 
 BOOST_AUTO_TEST_CASE (DirectPowerSymbolSharesComponentPin)
 
 BOOST_AUTO_TEST_CASE (DirectPowerSymbolUsesComponentPinNet)
 
 BOOST_AUTO_TEST_CASE (NearbyOffpageConnectorsRemainDistinct)
 
 BOOST_AUTO_TEST_CASE (MatchingSymbolAndPackageVariantsPreservePhysicalPinNames)
 
 BOOST_AUTO_TEST_CASE (OffpageParentBindingPreservesPinNameAndDirection)
 
 BOOST_AUTO_TEST_CASE (OffpageAtCutCrossingStaysOnItsSourceNet)
 
 BOOST_AUTO_TEST_CASE (OffpageParentBindingKeepsVisibleLabelsApart)
 
 BOOST_AUTO_TEST_CASE (OffpageAtWireBranchHasVisibleSafeAnchor)
 
 BOOST_AUTO_TEST_CASE (OffpageDisplayNameDoesNotChangeConnectivity)
 
 BOOST_AUTO_TEST_CASE (SingleLeafOccurrencePreservesNamedNet)
 
 BOOST_AUTO_TEST_CASE (PackageVariantsAndIgnoredPinsArePreserved)
 
 BOOST_AUTO_TEST_CASE (LegacyDesignCachePackagePinMapsArePreserved)
 
 BOOST_AUTO_TEST_CASE (S593487_PartialConnectorPinOrderIsPreserved)
 
 BOOST_AUTO_TEST_CASE (M5275_ExplicitPowerPinsRemainVisible)
 
 BOOST_AUTO_TEST_CASE (SI34062_StackedSwitchPinsShareNet)
 
 BOOST_AUTO_TEST_CASE (DuplicatePowerAliasTextDoesNotMergeDistinctNets)
 
 BOOST_AUTO_TEST_CASE (LogicalPowerPinNameDoesNotOverrideConnectedWire)
 
 BOOST_AUTO_TEST_CASE (SourceLibrarySelectsPackageVariantBeforeSharedFootprint)
 
 BOOST_AUTO_TEST_CASE (PinNamesAndNumbersRemainNativePinData)
 
 BOOST_AUTO_TEST_CASE (PinNameOverbarsUseKiCadMarkup)
 
 BOOST_AUTO_TEST_CASE (PinDisplayOverrideRetainsNativePinName)
 
 BOOST_AUTO_TEST_CASE (RotatedSymbolRetainsNativePinNumber)
 
 BOOST_AUTO_TEST_CASE (NumericCachePinsOverrideStructurallyIncompatiblePackage)
 
 BOOST_AUTO_TEST_CASE (RenamedPowerNetsRemainElectricallyDistinct)
 
 BOOST_AUTO_TEST_CASE (MinorityPowerOccurrenceAliasDoesNotMergeGlobalNets)
 
 BOOST_AUTO_TEST_CASE (OccurrenceSuffixedPowerNetsRemainDistinct)
 
 BOOST_AUTO_TEST_CASE (GeneratedOccurrenceNetNameRemainsDistinct)
 
 BOOST_AUTO_TEST_CASE (PackageVariantPreservesPhysicalPinMap)
 
 BOOST_AUTO_TEST_CASE (DistinctPowerAndOffpageInterfaceNamesRemainDistinct)
 
 BOOST_AUTO_TEST_CASE (FlatTopLevelOffpageConnectsAcrossPages)
 
 BOOST_AUTO_TEST_CASE (PowerAliasConnectsAcrossPages)
 
 BOOST_AUTO_TEST_CASE (PhysicalConnectorPinsUseDefinitionNumbers)
 
 BOOST_AUTO_TEST_CASE (ModernPackageStreamsSupplyEmbeddedSymbolGeometry)
 
 BOOST_AUTO_TEST_CASE (LegacyDisplayTypesRemainVisible)
 
 BOOST_AUTO_TEST_CASE (UnreferencedPagesDoNotOverwriteHierarchicalSheets)
 
 BOOST_AUTO_TEST_CASE (HierarchicalPortsUseVisibleNativeLabels)
 
 BOOST_AUTO_TEST_CASE (LegacyHierarchicalBlockImport)
 
 BOOST_AUTO_TEST_CASE (LegacyDsnDiodePinsUseLogicalPolarity)
 
 BOOST_AUTO_TEST_CASE (LegacyDsnEmbeddedSlashNetNameIsAuthoritative)
 
 BOOST_AUTO_TEST_CASE (UninstantiatedLegacyPageIsExcludedFromBoard)
 
 BOOST_AUTO_TEST_CASE (LegacyFlatPageImport)
 
 BOOST_AUTO_TEST_CASE (LegacyHierarchyPowerTableImport)
 
 BOOST_AUTO_TEST_CASE (Issue25005Hierarchy)
 
 BOOST_AUTO_TEST_CASE (Issue25009PageOrderAndGraphics)
 
 BOOST_AUTO_TEST_CASE (OlbLibraryImport)
 
 BOOST_AUTO_TEST_CASE (MultiPageFlatImport)
 
 BOOST_AUTO_TEST_CASE (HierarchicalSymbolInstancesUseCanonicalSheetPaths)
 
 BOOST_AUTO_TEST_CASE (MultiPageHierarchyPreservesPortConnectivity)
 
 BOOST_AUTO_TEST_CASE (PowerSymbolPinSharesPartNet)
 
 BOOST_AUTO_TEST_CASE (RepeatedHierarchicalBusPinsRemainScoped)
 
 BOOST_AUTO_TEST_CASE (NestedHierarchicalBusRangesPreserveConnectivity)
 
 BOOST_AUTO_TEST_CASE (RenamedHierarchicalBusMembersPreserveConnectivity)
 
 BOOST_AUTO_TEST_CASE (RepeatedMultiPageFoldersKeepLeafNetsScoped)
 
 BOOST_AUTO_TEST_CASE (DegenerateHierarchicalPinPlacementsUseDefinitionGeometry)
 
 BOOST_AUTO_TEST_CASE (PlacedUnitsSelectPackagePinMaps)
 
 BOOST_AUTO_TEST_CASE (Dc2693aSmaOnlyDisplaysCenterPinNumber)
 
 BOOST_AUTO_TEST_CASE (Cy8cproto040tDisplaysComponentPinNumbers)
 
 BOOST_AUTO_TEST_CASE (Cy8ckit149EmbeddedBlockDiagramIsComplete)
 
 BOOST_AUTO_TEST_CASE (ComponentDetailImport)
 
 BOOST_AUTO_TEST_CASE (HierarchicalBusAliasesConnectWithoutHiddenLabels)
 
 BOOST_AUTO_TEST_CASE (EscapedHierarchicalBusMembersConnectWithoutGlobalHelpers)
 
 BOOST_AUTO_TEST_CASE (GeneratedRepairNamesAvoidExplicitNetNames)
 
 BOOST_AUTO_TEST_CASE (RepeatedSheetPinNamesDoNotJoinLocalRepairs)
 
 BOOST_AUTO_TEST_CASE (WireFreePinJunctionsRetainVisibleLocalConnections)
 
 BOOST_AUTO_TEST_CASE (InterfaceAnchorsAvoidPinsAndBusEntries)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/280]

◆ BOOST_AUTO_TEST_CASE() [2/280]

◆ BOOST_AUTO_TEST_CASE() [3/280]

◆ BOOST_AUTO_TEST_CASE() [4/280]

◆ BOOST_AUTO_TEST_CASE() [5/280]

◆ BOOST_AUTO_TEST_CASE() [6/280]

◆ BOOST_AUTO_TEST_CASE() [7/280]

◆ BOOST_AUTO_TEST_CASE() [8/280]

◆ BOOST_AUTO_TEST_CASE() [9/280]

◆ BOOST_AUTO_TEST_CASE() [10/280]

◆ BOOST_AUTO_TEST_CASE() [11/280]

◆ BOOST_AUTO_TEST_CASE() [12/280]

BOOST_AUTO_TEST_CASE ( BusEntryCoordinatesPrecedeReservedWords )

◆ BOOST_AUTO_TEST_CASE() [13/280]

◆ BOOST_AUTO_TEST_CASE() [14/280]

BOOST_AUTO_TEST_CASE ( CacheEmptyStreamIsMarkerPlusFourZeroSections )

Definition at line 917 of file test_orcad_sch_import.cpp.

References OrcadParseCache().

◆ BOOST_AUTO_TEST_CASE() [15/280]

BOOST_AUTO_TEST_CASE ( CacheSectionRejectsAForeignStructureType )

◆ BOOST_AUTO_TEST_CASE() [16/280]

BOOST_AUTO_TEST_CASE ( CacheTrailingBytesAfterFourSectionsAreReported )

Definition at line 938 of file test_orcad_sch_import.cpp.

References BOOST_CHECK_EQUAL(), and OrcadParseCache().

◆ BOOST_AUTO_TEST_CASE() [17/280]

BOOST_AUTO_TEST_CASE ( CalibriTextUsesMetricCompatibleOutlines )

Definition at line 2257 of file test_orcad_sch_import.cpp.

References BOOST_REQUIRE(), image, and OleRenderEmf().

◆ BOOST_AUTO_TEST_CASE() [18/280]

◆ BOOST_AUTO_TEST_CASE() [19/280]

◆ BOOST_AUTO_TEST_CASE() [20/280]

BOOST_AUTO_TEST_CASE ( CaptureColorPalette )

Definition at line 1299 of file test_orcad_sch_import.cpp.

References OrcadColor(), and KIGFX::COLOR4D::UNSPECIFIED.

◆ BOOST_AUTO_TEST_CASE() [21/280]

BOOST_AUTO_TEST_CASE ( CaptureCompoundFileName )

Definition at line 1323 of file test_orcad_sch_import.cpp.

References BOOST_CHECK_EQUAL(), and OrcadNormalizeCfbName().

◆ BOOST_AUTO_TEST_CASE() [22/280]

◆ BOOST_AUTO_TEST_CASE() [23/280]

BOOST_AUTO_TEST_CASE ( CapturePageOrder )

Definition at line 1395 of file test_orcad_sch_import.cpp.

References BOOST_CHECK_EQUAL(), and OrcadPageOrder().

◆ BOOST_AUTO_TEST_CASE() [24/280]

◆ BOOST_AUTO_TEST_CASE() [25/280]

◆ BOOST_AUTO_TEST_CASE() [26/280]

BOOST_AUTO_TEST_CASE ( CiImageFullRasterExtraction )

Definition at line 2051 of file test_orcad_sch_import.cpp.

References empty(), and OleExtractCiImage().

◆ BOOST_AUTO_TEST_CASE() [27/280]

BOOST_AUTO_TEST_CASE ( CiImageScannerDoesNotConsumeOleNativeCache )

Definition at line 2081 of file test_orcad_sch_import.cpp.

References empty(), and OleExtractCiImage().

◆ BOOST_AUTO_TEST_CASE() [28/280]

BOOST_AUTO_TEST_CASE ( CisLegacyEmptyVariantListHasNoSelection )

◆ BOOST_AUTO_TEST_CASE() [29/280]

BOOST_AUTO_TEST_CASE ( CisSchematicInfoMapsVariantPropertiesToPageDatabaseIds )

Definition at line 797 of file test_orcad_sch_import.cpp.

References BOOST_CHECK_EQUAL(), and OrcadCisParseSchematicInfo().

◆ BOOST_AUTO_TEST_CASE() [30/280]

BOOST_AUTO_TEST_CASE ( CisVariantFallbackSortsBomNamesBytewise )

◆ BOOST_AUTO_TEST_CASE() [31/280]

◆ BOOST_AUTO_TEST_CASE() [32/280]

BOOST_AUTO_TEST_CASE ( CisVariantMembershipRetainsInstalledState )

Definition at line 785 of file test_orcad_sch_import.cpp.

References OrcadCisParseMemberships().

◆ BOOST_AUTO_TEST_CASE() [33/280]

BOOST_AUTO_TEST_CASE ( CisVariantPropertyUpdatesParseRealRecordShape )

◆ BOOST_AUTO_TEST_CASE() [34/280]

◆ BOOST_AUTO_TEST_CASE() [35/280]

BOOST_AUTO_TEST_CASE ( CollidingOffpageOccurrenceAliasesRemainSeparate )

◆ BOOST_AUTO_TEST_CASE() [36/280]

BOOST_AUTO_TEST_CASE ( CommentTextLengthOwnsItsRecordExtent )

◆ BOOST_AUTO_TEST_CASE() [37/280]

◆ BOOST_AUTO_TEST_CASE() [38/280]

◆ BOOST_AUTO_TEST_CASE() [39/280]

◆ BOOST_AUTO_TEST_CASE() [40/280]

◆ BOOST_AUTO_TEST_CASE() [41/280]

◆ BOOST_AUTO_TEST_CASE() [42/280]

◆ BOOST_AUTO_TEST_CASE() [43/280]

◆ BOOST_AUTO_TEST_CASE() [44/280]

◆ BOOST_AUTO_TEST_CASE() [45/280]

◆ BOOST_AUTO_TEST_CASE() [46/280]

◆ BOOST_AUTO_TEST_CASE() [47/280]

BOOST_AUTO_TEST_CASE ( DesignTemplatePinFonts )

Definition at line 1759 of file test_orcad_sch_import.cpp.

References BOOST_CHECK_EQUAL(), library, and OrcadParseLibrary().

◆ BOOST_AUTO_TEST_CASE() [48/280]

◆ BOOST_AUTO_TEST_CASE() [49/280]

◆ BOOST_AUTO_TEST_CASE() [50/280]

◆ BOOST_AUTO_TEST_CASE() [51/280]

◆ BOOST_AUTO_TEST_CASE() [52/280]

◆ BOOST_AUTO_TEST_CASE() [53/280]

◆ BOOST_AUTO_TEST_CASE() [54/280]

◆ BOOST_AUTO_TEST_CASE() [55/280]

BOOST_AUTO_TEST_CASE ( DisplayTypeFourPropertiesShowOnlyTheirValues )

◆ BOOST_AUTO_TEST_CASE() [56/280]

BOOST_AUTO_TEST_CASE ( DisplayTypeThreePropertiesShowOnlyTheirNames )

◆ BOOST_AUTO_TEST_CASE() [57/280]

◆ BOOST_AUTO_TEST_CASE() [58/280]

◆ BOOST_AUTO_TEST_CASE() [59/280]

◆ BOOST_AUTO_TEST_CASE() [60/280]

BOOST_AUTO_TEST_CASE ( DistinctPowerAndOffpageInterfaceNamesRemainDistinct )

◆ BOOST_AUTO_TEST_CASE() [61/280]

BOOST_AUTO_TEST_CASE ( DuplicatePageNetIdsDoNotShortDistinctNets )

◆ BOOST_AUTO_TEST_CASE() [62/280]

◆ BOOST_AUTO_TEST_CASE() [63/280]

◆ BOOST_AUTO_TEST_CASE() [64/280]

◆ BOOST_AUTO_TEST_CASE() [65/280]

BOOST_AUTO_TEST_CASE ( EmbeddedEmfChunksExcludeWmfFraming )

Definition at line 2151 of file test_orcad_sch_import.cpp.

References BOOST_CHECK_EQUAL(), and OleExtractEmbeddedEmf().

◆ BOOST_AUTO_TEST_CASE() [66/280]

◆ BOOST_AUTO_TEST_CASE() [67/280]

BOOST_AUTO_TEST_CASE ( EmbeddedEmfRendersPathsAndRotatedTextDeterministically )

◆ BOOST_AUTO_TEST_CASE() [68/280]

BOOST_AUTO_TEST_CASE ( EmbeddedImageFillsNonSquareSourceBox )

Definition at line 2093 of file test_orcad_sch_import.cpp.

References BOOST_CHECK_EQUAL(), and OrcadStretchedImageSize().

◆ BOOST_AUTO_TEST_CASE() [69/280]

BOOST_AUTO_TEST_CASE ( EmbeddedTwoPinPackageNamesDoNotReplacePhysicalNumbers )

◆ BOOST_AUTO_TEST_CASE() [70/280]

BOOST_AUTO_TEST_CASE ( EmfImageTagInTextRendersAsText )

Definition at line 2278 of file test_orcad_sch_import.cpp.

References BOOST_REQUIRE(), image, and OleRenderEmf().

◆ BOOST_AUTO_TEST_CASE() [71/280]

◆ BOOST_AUTO_TEST_CASE() [72/280]

◆ BOOST_AUTO_TEST_CASE() [73/280]

◆ BOOST_AUTO_TEST_CASE() [74/280]

◆ BOOST_AUTO_TEST_CASE() [75/280]

◆ BOOST_AUTO_TEST_CASE() [76/280]

◆ BOOST_AUTO_TEST_CASE() [77/280]

◆ BOOST_AUTO_TEST_CASE() [78/280]

◆ BOOST_AUTO_TEST_CASE() [79/280]

BOOST_AUTO_TEST_CASE ( ExternalEmbeddedEmfRendersWhenProvided )

◆ BOOST_AUTO_TEST_CASE() [80/280]

BOOST_AUTO_TEST_CASE ( ExternalWmfEmbeddedEmfRendersWhenProvided )

◆ BOOST_AUTO_TEST_CASE() [81/280]

◆ BOOST_AUTO_TEST_CASE() [82/280]

◆ BOOST_AUTO_TEST_CASE() [83/280]

◆ BOOST_AUTO_TEST_CASE() [84/280]

BOOST_AUTO_TEST_CASE ( FlatFolderOccurrenceAliasesConnectDisplacedPins )

◆ BOOST_AUTO_TEST_CASE() [85/280]

BOOST_AUTO_TEST_CASE ( FlatModernOccurrenceReferencesOverridePlacedReferences )

◆ BOOST_AUTO_TEST_CASE() [86/280]

◆ BOOST_AUTO_TEST_CASE() [87/280]

◆ BOOST_AUTO_TEST_CASE() [88/280]

◆ BOOST_AUTO_TEST_CASE() [89/280]

◆ BOOST_AUTO_TEST_CASE() [90/280]

◆ BOOST_AUTO_TEST_CASE() [91/280]

BOOST_AUTO_TEST_CASE ( GeneratedWirelessNetOverridesPeerPinName )

◆ BOOST_AUTO_TEST_CASE() [92/280]

◆ BOOST_AUTO_TEST_CASE() [93/280]

◆ BOOST_AUTO_TEST_CASE() [94/280]

◆ BOOST_AUTO_TEST_CASE() [95/280]

◆ BOOST_AUTO_TEST_CASE() [96/280]

◆ BOOST_AUTO_TEST_CASE() [97/280]

◆ BOOST_AUTO_TEST_CASE() [98/280]

◆ BOOST_AUTO_TEST_CASE() [99/280]

◆ BOOST_AUTO_TEST_CASE() [100/280]

BOOST_AUTO_TEST_CASE ( HierarchicalInternalNetUsesBlockName )

◆ BOOST_AUTO_TEST_CASE() [101/280]

BOOST_AUTO_TEST_CASE ( HierarchicalPortsUseVisibleNativeLabels )

◆ BOOST_AUTO_TEST_CASE() [102/280]

◆ BOOST_AUTO_TEST_CASE() [103/280]

BOOST_AUTO_TEST_CASE ( HierarchyLinksComeFromSequentialOccurrenceRecords )

◆ BOOST_AUTO_TEST_CASE() [104/280]

◆ BOOST_AUTO_TEST_CASE() [105/280]

◆ BOOST_AUTO_TEST_CASE() [106/280]

◆ BOOST_AUTO_TEST_CASE() [107/280]

◆ BOOST_AUTO_TEST_CASE() [108/280]

◆ BOOST_AUTO_TEST_CASE() [109/280]

◆ BOOST_AUTO_TEST_CASE() [110/280]

◆ BOOST_AUTO_TEST_CASE() [111/280]

◆ BOOST_AUTO_TEST_CASE() [112/280]

◆ BOOST_AUTO_TEST_CASE() [113/280]

◆ BOOST_AUTO_TEST_CASE() [114/280]

◆ BOOST_AUTO_TEST_CASE() [115/280]

◆ BOOST_AUTO_TEST_CASE() [116/280]

◆ BOOST_AUTO_TEST_CASE() [117/280]

◆ BOOST_AUTO_TEST_CASE() [118/280]

◆ BOOST_AUTO_TEST_CASE() [119/280]

◆ BOOST_AUTO_TEST_CASE() [120/280]

◆ BOOST_AUTO_TEST_CASE() [121/280]

◆ BOOST_AUTO_TEST_CASE() [122/280]

◆ BOOST_AUTO_TEST_CASE() [123/280]

BOOST_AUTO_TEST_CASE ( LegacyOffpageConnectorsKeepDistinctPinPositions )

◆ BOOST_AUTO_TEST_CASE() [124/280]

BOOST_AUTO_TEST_CASE ( LegacyPageNetGroups )

◆ BOOST_AUTO_TEST_CASE() [125/280]

◆ BOOST_AUTO_TEST_CASE() [126/280]

BOOST_AUTO_TEST_CASE ( LibraryPartGeneralPropertiesPreserveImplementationPath )

◆ BOOST_AUTO_TEST_CASE() [127/280]

BOOST_AUTO_TEST_CASE ( LibraryStringTableCountWidthFollowsVersion )

◆ BOOST_AUTO_TEST_CASE() [128/280]

◆ BOOST_AUTO_TEST_CASE() [129/280]

◆ BOOST_AUTO_TEST_CASE() [130/280]

BOOST_AUTO_TEST_CASE ( MalformedEmfRecordsAreRejected )

Definition at line 2234 of file test_orcad_sch_import.cpp.

References image, and OleRenderEmf().

◆ BOOST_AUTO_TEST_CASE() [131/280]

BOOST_AUTO_TEST_CASE ( MatchingSymbolAndPackageVariantsPreservePhysicalPinNames )

◆ BOOST_AUTO_TEST_CASE() [132/280]

BOOST_AUTO_TEST_CASE ( MetafilePreviewPrefersEmbeddedEmfAndFallsBackToWmf )

◆ BOOST_AUTO_TEST_CASE() [133/280]

BOOST_AUTO_TEST_CASE ( MinorityPowerOccurrenceAliasDoesNotMergeGlobalNets )

◆ BOOST_AUTO_TEST_CASE() [134/280]

BOOST_AUTO_TEST_CASE ( ModernOccurrencePropertiesSurviveBlankReference )

◆ BOOST_AUTO_TEST_CASE() [135/280]

◆ BOOST_AUTO_TEST_CASE() [136/280]

BOOST_AUTO_TEST_CASE ( ModernSchematicStreamReversesStoredPageOrder )

◆ BOOST_AUTO_TEST_CASE() [137/280]

BOOST_AUTO_TEST_CASE ( ModernSymbolPinRetainsDisplayOverride )

◆ BOOST_AUTO_TEST_CASE() [138/280]

◆ BOOST_AUTO_TEST_CASE() [139/280]

◆ BOOST_AUTO_TEST_CASE() [140/280]

◆ BOOST_AUTO_TEST_CASE() [141/280]

◆ BOOST_AUTO_TEST_CASE() [142/280]

◆ BOOST_AUTO_TEST_CASE() [143/280]

◆ BOOST_AUTO_TEST_CASE() [144/280]

◆ BOOST_AUTO_TEST_CASE() [145/280]

◆ BOOST_AUTO_TEST_CASE() [146/280]

◆ BOOST_AUTO_TEST_CASE() [147/280]

◆ BOOST_AUTO_TEST_CASE() [148/280]

BOOST_AUTO_TEST_CASE ( NestedOccurrenceReferencesOverridePlacedTemplateReferences )

◆ BOOST_AUTO_TEST_CASE() [149/280]

◆ BOOST_AUTO_TEST_CASE() [150/280]

◆ BOOST_AUTO_TEST_CASE() [151/280]

◆ BOOST_AUTO_TEST_CASE() [152/280]

◆ BOOST_AUTO_TEST_CASE() [153/280]

◆ BOOST_AUTO_TEST_CASE() [154/280]

BOOST_AUTO_TEST_CASE ( OccurrenceFlatNetConnectsAcrossPagesWithoutOffpageSymbols )

◆ BOOST_AUTO_TEST_CASE() [155/280]

◆ BOOST_AUTO_TEST_CASE() [156/280]

◆ BOOST_AUTO_TEST_CASE() [157/280]

BOOST_AUTO_TEST_CASE ( OccurrencePowerAliasChainUsesAuthoritativeName )

◆ BOOST_AUTO_TEST_CASE() [158/280]

◆ BOOST_AUTO_TEST_CASE() [159/280]

◆ BOOST_AUTO_TEST_CASE() [160/280]

◆ BOOST_AUTO_TEST_CASE() [161/280]

◆ BOOST_AUTO_TEST_CASE() [162/280]

◆ BOOST_AUTO_TEST_CASE() [163/280]

◆ BOOST_AUTO_TEST_CASE() [164/280]

◆ BOOST_AUTO_TEST_CASE() [165/280]

◆ BOOST_AUTO_TEST_CASE() [166/280]

◆ BOOST_AUTO_TEST_CASE() [167/280]

◆ BOOST_AUTO_TEST_CASE() [168/280]

◆ BOOST_AUTO_TEST_CASE() [169/280]

◆ BOOST_AUTO_TEST_CASE() [170/280]

◆ BOOST_AUTO_TEST_CASE() [171/280]

◆ BOOST_AUTO_TEST_CASE() [172/280]

◆ BOOST_AUTO_TEST_CASE() [173/280]

BOOST_AUTO_TEST_CASE ( OleContentsRejectsBogusDib )

Definition at line 2034 of file test_orcad_sch_import.cpp.

References ExtractOleImage(), image, name, and NONE.

◆ BOOST_AUTO_TEST_CASE() [174/280]

BOOST_AUTO_TEST_CASE ( OleDirectoryCycleTerminates )

Definition at line 2007 of file test_orcad_sch_import.cpp.

References BMP, ExtractOleImage(), image, and name.

◆ BOOST_AUTO_TEST_CASE() [175/280]

BOOST_AUTO_TEST_CASE ( OleMetafilePreviewExtraction )

◆ BOOST_AUTO_TEST_CASE() [176/280]

BOOST_AUTO_TEST_CASE ( OleNativeBitmapExtraction )

◆ BOOST_AUTO_TEST_CASE() [177/280]

BOOST_AUTO_TEST_CASE ( OlePreviewWithMultiplePresentationStreams )

◆ BOOST_AUTO_TEST_CASE() [178/280]

◆ BOOST_AUTO_TEST_CASE() [179/280]

◆ BOOST_AUTO_TEST_CASE() [180/280]

◆ BOOST_AUTO_TEST_CASE() [181/280]

◆ BOOST_AUTO_TEST_CASE() [182/280]

◆ BOOST_AUTO_TEST_CASE() [183/280]

◆ BOOST_AUTO_TEST_CASE() [184/280]

◆ BOOST_AUTO_TEST_CASE() [185/280]

◆ BOOST_AUTO_TEST_CASE() [186/280]

◆ BOOST_AUTO_TEST_CASE() [187/280]

◆ BOOST_AUTO_TEST_CASE() [188/280]

◆ BOOST_AUTO_TEST_CASE() [189/280]

◆ BOOST_AUTO_TEST_CASE() [190/280]

BOOST_AUTO_TEST_CASE ( PinNameOverbarsUseKiCadMarkup )

Definition at line 12721 of file test_orcad_sch_import.cpp.

References BOOST_CHECK_EQUAL(), and OrcadPinNameMarkup().

◆ BOOST_AUTO_TEST_CASE() [191/280]

◆ BOOST_AUTO_TEST_CASE() [192/280]

◆ BOOST_AUTO_TEST_CASE() [193/280]

BOOST_AUTO_TEST_CASE ( PlacedPinSignedIndexCarriesNoConnectFlag )

Definition at line 1311 of file test_orcad_sch_import.cpp.

References pin.

◆ BOOST_AUTO_TEST_CASE() [194/280]

◆ BOOST_AUTO_TEST_CASE() [195/280]

◆ BOOST_AUTO_TEST_CASE() [196/280]

◆ BOOST_AUTO_TEST_CASE() [197/280]

◆ BOOST_AUTO_TEST_CASE() [198/280]

◆ BOOST_AUTO_TEST_CASE() [199/280]

◆ BOOST_AUTO_TEST_CASE() [200/280]

◆ BOOST_AUTO_TEST_CASE() [201/280]

◆ BOOST_AUTO_TEST_CASE() [202/280]

◆ BOOST_AUTO_TEST_CASE() [203/280]

◆ BOOST_AUTO_TEST_CASE() [204/280]

◆ BOOST_AUTO_TEST_CASE() [205/280]

BOOST_AUTO_TEST_CASE ( PrimitiveLineWidth )

◆ BOOST_AUTO_TEST_CASE() [206/280]

BOOST_AUTO_TEST_CASE ( PrimitivePolygonStylesBeforePoints )

◆ BOOST_AUTO_TEST_CASE() [207/280]

BOOST_AUTO_TEST_CASE ( PrimitiveRecordLengthConventionIsChecked )

◆ BOOST_AUTO_TEST_CASE() [208/280]

BOOST_AUTO_TEST_CASE ( PrimitiveStrokeAndFillStyles )

◆ BOOST_AUTO_TEST_CASE() [209/280]

BOOST_AUTO_TEST_CASE ( PrimitiveSymbolVectorContents )

◆ BOOST_AUTO_TEST_CASE() [210/280]

BOOST_AUTO_TEST_CASE ( RejectsNonexistentFile )

Definition at line 8121 of file test_orcad_sch_import.cpp.

References BOOST_REQUIRE().

◆ BOOST_AUTO_TEST_CASE() [211/280]

BOOST_AUTO_TEST_CASE ( RejectsSpecctraTextDsn )

Definition at line 8111 of file test_orcad_sch_import.cpp.

References BOOST_REQUIRE().

◆ BOOST_AUTO_TEST_CASE() [212/280]

BOOST_AUTO_TEST_CASE ( RejectsWrongExtension )

Definition at line 8130 of file test_orcad_sch_import.cpp.

References BOOST_REQUIRE().

◆ BOOST_AUTO_TEST_CASE() [213/280]

◆ BOOST_AUTO_TEST_CASE() [214/280]

◆ BOOST_AUTO_TEST_CASE() [215/280]

◆ BOOST_AUTO_TEST_CASE() [216/280]

BOOST_AUTO_TEST_CASE ( RepeatedHierarchicalOffpageNamesRemainSheetScoped )

◆ BOOST_AUTO_TEST_CASE() [217/280]

◆ BOOST_AUTO_TEST_CASE() [218/280]

◆ BOOST_AUTO_TEST_CASE() [219/280]

◆ BOOST_AUTO_TEST_CASE() [220/280]

◆ BOOST_AUTO_TEST_CASE() [221/280]

◆ BOOST_AUTO_TEST_CASE() [222/280]

◆ BOOST_AUTO_TEST_CASE() [223/280]

◆ BOOST_AUTO_TEST_CASE() [224/280]

◆ BOOST_AUTO_TEST_CASE() [225/280]

◆ BOOST_AUTO_TEST_CASE() [226/280]

BOOST_AUTO_TEST_CASE ( RootOccurrenceTargetIdsOverridePlacedTemplateReferences )

◆ BOOST_AUTO_TEST_CASE() [227/280]

◆ BOOST_AUTO_TEST_CASE() [228/280]

◆ BOOST_AUTO_TEST_CASE() [229/280]

◆ BOOST_AUTO_TEST_CASE() [230/280]

◆ BOOST_AUTO_TEST_CASE() [231/280]

◆ BOOST_AUTO_TEST_CASE() [232/280]

◆ BOOST_AUTO_TEST_CASE() [233/280]

◆ BOOST_AUTO_TEST_CASE() [234/280]

◆ BOOST_AUTO_TEST_CASE() [235/280]

BOOST_AUTO_TEST_CASE ( S593487_RT44DisplayedFootprintAndPassivePins )

Definition at line 7661 of file test_orcad_sch_import.cpp.

References std::abs(), ANGLE_HORIZONTAL, ANGLE_VERTICAL, ORCAD_SYMBOL_DEF::bbox, BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), BOX2< Vec >::Centre(), CIRCLE, ORCAD_GRAPHIC_INST::color, convertRawDesign(), DATASHEET, ORCAD_PACKAGE::devices, ORCAD_PLACED_INSTANCE::displayProps, ELLIPSE, ORCAD_RAW_PAGE::ercObjects, findConvertedSymbol(), ORCAD_LIBRARY_INFO::fonts, ORCAD_SYMBOL_DEF::generalFlags, SCH_FIELD::GetBoundingBox(), SCH_TEXT::GetBoundingBox(), LIB_SYMBOL::GetDrawItems(), EDA_TEXT::GetDrawRotation(), SCH_FIELD::GetDrawRotation(), SCH_FIELD::GetEffectiveHorizJustify(), SCH_FIELD::GetEffectiveVertJustify(), SCH_SYMBOL::GetField(), SCH_SYMBOL::GetFields(), EDA_TEXT::GetFont(), EDA_TEXT::GetInterline(), SCH_SYMBOL::GetLibSymbolRef(), EDA_TEXT::GetLineSpacing(), KIFONT::FONT::GetName(), BOX2< Vec >::GetOrigin(), SCH_SYMBOL::GetPins(), SCH_FIELD::GetPosition(), SCH_SHAPE::GetPosition(), SCH_SYMBOL::GetPosition(), SCH_TEXT::GetPosition(), EDA_SHAPE::GetRadius(), BOX2< Vec >::GetRight(), SCH_SHEET::GetScreen(), EDA_SHAPE::GetShape(), SCH_SYMBOL::GetShowPinNames(), SCH_SYMBOL::GetShowPinNumbers(), EDA_TEXT::GetText(), SCH_FIELD::GetText(), EDA_TEXT::GetTextSize(), SYMBOL::GetTransform(), GR_TEXT_H_ALIGN_LEFT, GR_TEXT_V_ALIGN_TOP, ORCAD_RAW_PAGE::graphics, ORCAD_RAW_PAGE::instances, EDA_TEXT::IsItalic(), EDA_TEXT::IsVisible(), SCH_SCREEN::Items(), KiROUND(), ORCAD_DESIGN::library, SETTINGS_MANAGER::LoadProject(), ORCAD_PLACED_INSTANCE::mirror, ORCAD_GRAPHIC_INST::name, ORCAD_PACKAGE::name, ORCAD_RAW_PAGE::name, ORCAD_SYMBOL_DEF::name, ORCAD_GRAPHIC_INST::nested, EE_RTREE::OfType(), ORCAD_IU_PER_DBU, ORCAD_ST_ERC_OBJECT, ORCAD_ST_GRAPHIC_COMMENT_TEXT_INST, ORCAD_ST_LIBRARY_PART, ORCAD_ST_PACKAGE, ORCAD_ST_PART_CELL, OrcadDbuToIu(), OrcadMergeSymbolGeneralProperties(), OrcadParseOlbPackageStreamV2(), OrcadTextBaselineOffset(), ORCAD_DESIGN::packages, ORCAD_DESIGN::pages, PASSIVE, path, ORCAD_PACKAGE::pcbFootprint, pin, ORCAD_PLACED_INSTANCE::pins, ORCAD_SYMBOL_DEF::pins, ORCAD_PLACED_INSTANCE::pkgName, ORCAD_SYMBOL_DEF::primitives, SETTINGS_MANAGER::Prj(), ORCAD_PLACED_INSTANCE::props, ORCAD_SYMBOL_DEF::props, ORCAD_PACKAGE::refDes, REFERENCE, ORCAD_PLACED_INSTANCE::reference, ORCAD_PLACED_INSTANCE::rotation, SCH_NO_CONNECT_T, SCH_SHAPE_T, SCH_TEXT_T, SCHEMATIC, schIUScale, ORCAD_DESIGN::sourceId, ORCAD_PLACED_INSTANCE::sourcePackage, ORCAD_DESIGN::symbols, TEXT, TRANSFORM::TransformCoordinate(), ORCAD_GRAPHIC_INST::typeId, ORCAD_SYMBOL_DEF::typeId, VALUE, ORCAD_PLACED_INSTANCE::value, ORCAD_GRAPHIC_INST::x, ORCAD_PLACED_INSTANCE::x, VECTOR2< T >::x, ORCAD_GRAPHIC_INST::y, ORCAD_PLACED_INSTANCE::y, and VECTOR2< T >::y.

◆ BOOST_AUTO_TEST_CASE() [236/280]

◆ BOOST_AUTO_TEST_CASE() [237/280]

◆ BOOST_AUTO_TEST_CASE() [238/280]

BOOST_AUTO_TEST_CASE ( S593487_V2CommentTextRetainsBoundingBox )

◆ BOOST_AUTO_TEST_CASE() [239/280]

◆ BOOST_AUTO_TEST_CASE() [240/280]

◆ BOOST_AUTO_TEST_CASE() [241/280]

BOOST_AUTO_TEST_CASE ( SharedOccurrenceNetWithoutTerminalPeerKeepsBaseName )

◆ BOOST_AUTO_TEST_CASE() [242/280]

BOOST_AUTO_TEST_CASE ( SharedOleContentsBitmapExtraction )

Definition at line 1988 of file test_orcad_sch_import.cpp.

References BMP, BOOST_CHECK_EQUAL(), ExtractOleImage(), image, and name.

◆ BOOST_AUTO_TEST_CASE() [243/280]

◆ BOOST_AUTO_TEST_CASE() [244/280]

BOOST_AUTO_TEST_CASE ( SimulationResultPropertiesAreNotPersistentGraphics )

◆ BOOST_AUTO_TEST_CASE() [245/280]

◆ BOOST_AUTO_TEST_CASE() [246/280]

◆ BOOST_AUTO_TEST_CASE() [247/280]

◆ BOOST_AUTO_TEST_CASE() [248/280]

◆ BOOST_AUTO_TEST_CASE() [249/280]

◆ BOOST_AUTO_TEST_CASE() [250/280]

BOOST_AUTO_TEST_CASE ( StructureBodyLimitIsEnforced )

Definition at line 903 of file test_orcad_sch_import.cpp.

References BOOST_CHECK_EQUAL(), and ORCAD_STREAM::ReadU32().

◆ BOOST_AUTO_TEST_CASE() [251/280]

◆ BOOST_AUTO_TEST_CASE() [252/280]

BOOST_AUTO_TEST_CASE ( StructurePrefixDepthIsTypeOwned )

◆ BOOST_AUTO_TEST_CASE() [253/280]

◆ BOOST_AUTO_TEST_CASE() [254/280]

◆ BOOST_AUTO_TEST_CASE() [255/280]

◆ BOOST_AUTO_TEST_CASE() [256/280]

◆ BOOST_AUTO_TEST_CASE() [257/280]

◆ BOOST_AUTO_TEST_CASE() [258/280]

◆ BOOST_AUTO_TEST_CASE() [259/280]

◆ BOOST_AUTO_TEST_CASE() [260/280]

◆ BOOST_AUTO_TEST_CASE() [261/280]

BOOST_AUTO_TEST_CASE ( TruncatedEmbeddedOleContainerIsPadded )

◆ BOOST_AUTO_TEST_CASE() [262/280]

BOOST_AUTO_TEST_CASE ( UninstantiatedLegacyPageIsExcludedFromBoard )

◆ BOOST_AUTO_TEST_CASE() [263/280]

BOOST_AUTO_TEST_CASE ( UnreferencedPagesDoNotOverwriteHierarchicalSheets )

◆ BOOST_AUTO_TEST_CASE() [264/280]

BOOST_AUTO_TEST_CASE ( UnreferencedSchematicFoldersRemainVisibleButExcludedFromBoard )

◆ BOOST_AUTO_TEST_CASE() [265/280]

◆ BOOST_AUTO_TEST_CASE() [266/280]

BOOST_AUTO_TEST_CASE ( V2OccurrencePropertiesSurviveBlankReference )

◆ BOOST_AUTO_TEST_CASE() [267/280]

BOOST_AUTO_TEST_CASE ( V2OccurrenceReferencesUseTargetObjectIds )

◆ BOOST_AUTO_TEST_CASE() [268/280]

BOOST_AUTO_TEST_CASE ( V2SchematicStreamReversesStoredPageOrder )

◆ BOOST_AUTO_TEST_CASE() [269/280]

BOOST_AUTO_TEST_CASE ( V2SymbolStreamRetainsDefinitionProperties )

◆ BOOST_AUTO_TEST_CASE() [270/280]

BOOST_AUTO_TEST_CASE ( ViewsDirectoryIgnoresStaleStoredFolders )

◆ BOOST_AUTO_TEST_CASE() [271/280]

BOOST_AUTO_TEST_CASE ( ViewsDirectoryLimitsImportedSchematicFolders )

◆ BOOST_AUTO_TEST_CASE() [272/280]

◆ BOOST_AUTO_TEST_CASE() [273/280]

◆ BOOST_AUTO_TEST_CASE() [274/280]

◆ BOOST_AUTO_TEST_CASE() [275/280]

◆ BOOST_AUTO_TEST_CASE() [276/280]

BOOST_AUTO_TEST_CASE ( WmfGlyphIndexTextAndDestinationCopyRender )

Definition at line 2109 of file test_orcad_sch_import.cpp.

References BOOST_REQUIRE(), image, and OleRenderWmf().

◆ BOOST_AUTO_TEST_CASE() [277/280]

BOOST_AUTO_TEST_CASE ( WmfNegativeDestinationHeightFlipsDibWithoutClipping )

Definition at line 2128 of file test_orcad_sch_import.cpp.

References BOOST_REQUIRE(), image, left, OleRenderWmf(), and top().

◆ BOOST_AUTO_TEST_CASE() [278/280]

BOOST_AUTO_TEST_CASE ( WmfRenderUsesEmbeddedBoxAspectBeforeRasterization )

Definition at line 2101 of file test_orcad_sch_import.cpp.

References BOOST_CHECK_EQUAL(), and OleWmfRenderSize().

◆ BOOST_AUTO_TEST_CASE() [279/280]

◆ BOOST_AUTO_TEST_CASE() [280/280]

◆ checkConnectivity()

static std::pair< int, int > checkConnectivity ( SCHEMATIC & aSchematic,
const std::vector< std::set< std::string > > & aNets,
std::vector< std::set< std::string > > * aInconsistent )
static

Count ground-truth nets whose resolvable terminals all land on one KiCad net after connectivity rebuild.

Returns {consistent, checkable}.

Definition at line 8364 of file test_orcad_sch_import.cpp.

References SCHEMATIC::BuildSheetListSortedByPageNumbers(), SCHEMATIC::ConnectionGraph(), CONNECTION_GRAPH::GetNetMap(), SCH_SYMBOL::GetRef(), pin, CONNECTION_GRAPH::Recalculate(), SCH_PIN_T, and terminalToken().

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(), 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(), 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(), 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(), 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(), 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(), 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().

◆ collectImportedRefs()

static std::set< std::string > collectImportedRefs ( SCHEMATIC & aSchematic)
static

Unique refdes of real (non-power) parts.

Annotated refs live in per-sheet-path instance data, so walk sheet list and query GetRef() per path (same screen may recur on several paths).

Definition at line 8280 of file test_orcad_sch_import.cpp.

References SCHEMATIC::BuildSheetListSortedByPageNumbers(), SCH_SYMBOL::GetRef(), SCH_SCREEN::Items(), EE_RTREE::OfType(), path, and SCH_SYMBOL_T.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().

◆ collectImportedUuids()

◆ convertRawDesign()

static SCH_SHEET * convertRawDesign ( ORCAD_DESIGN & aDesign,
SCHEMATIC & aSchematic,
REPORTER * aReporter = nullptr )
static

Definition at line 2459 of file test_orcad_sch_import.cpp.

References SCH_SHEET_PATH::clear(), ORCAD_CONVERTER::Convert(), SCHEMATIC::CurrentSheet(), SCH_SHEET_PATH::push_back(), SCH_SHEET::SetScreen(), and SCHEMATIC::SetTopLevelSheets().

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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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().

◆ expectedRefsFor()

static std::set< std::string > expectedRefsFor ( const std::filesystem::path & aDsn,
std::string & aSource )
static

Ground-truth companion beside .DSN, .NET preferred over .BOM.

Definition at line 8481 of file test_orcad_sch_import.cpp.

References parseBomRefs(), and parseNetComs().

Referenced by BOOST_AUTO_TEST_CASE().

◆ findConvertedSymbol()

◆ findCorpusDesign()

static std::filesystem::path findCorpusDesign ( const std::filesystem::path & aRoot,
const std::string & aFileName )
static

Definition at line 8854 of file test_orcad_sch_import.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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().

◆ parseBomRefs()

static std::set< std::string > parseBomRefs ( const std::string & aPath)
static

Definition at line 8191 of file test_orcad_sch_import.cpp.

References splitRefs(), and trimCell().

Referenced by expectedRefsFor().

◆ parseNetComs()

static std::set< std::string > parseNetComs ( const std::string & aPath)
static

Definition at line 8247 of file test_orcad_sch_import.cpp.

References trimCell().

Referenced by expectedRefsFor().

◆ parseNetTerminals()

static std::vector< std::set< std::string > > parseNetTerminals ( const std::string & aPath)
static

Net terminal sets from .NET.

Net starts at .ADD_TER <ref> <pin>, gathers following .TER/indented <ref> <pin> continuations until next net.

Definition at line 8317 of file test_orcad_sch_import.cpp.

References pin, and terminalToken().

Referenced by BOOST_AUTO_TEST_CASE().

◆ splitRefs()

static std::vector< std::string > splitRefs ( const std::string & aCell)
static

Definition at line 8160 of file test_orcad_sch_import.cpp.

References trimCell().

Referenced by parseBomRefs().

◆ terminalNetName()

◆ terminalToken()

◆ trimCell()

static std::string trimCell ( std::string aText)
static

Definition at line 8144 of file test_orcad_sch_import.cpp.

Referenced by parseBomRefs(), parseNetComs(), splitRefs(), and terminalToken().