|
SILICON
|
#include <gtest/gtest.h>#include "libavoid/libavoid.h"#include "libavoid/qtgeomtypes.h"#include "ui/circuit/diagram/wireRouting.hpp"#include "ui/circuit/diagram/interactiveWireRouter.hpp"#include <QPointF>#include <QPolygonF>#include <QRectF>#include <algorithm>#include <string>#include <vector>
Go to the source code of this file.
Functions | |
| TEST (InteractiveWireRouterTest, MovingPinnedComponentReroutesItsWire) | |
| TEST (InteractiveWireRouterTest, MovingComponentKeepsTwoAttachedWiresAtTheirPorts) | |
| TEST (InteractiveWireRouterTest, PinnedPortInsidePaintBoundsStillMoves) | |
| TEST (InteractiveWireRouterTest, PortOutsideCollisionBoundsKeepsItsPosition) | |
| TEST (InteractiveWireRouterTest, MovingComponentCannotRerouteUnattachedWire) | |
| TEST (InteractiveWireRouterTest, MovingComponentLeavesOtherNetFixed) | |
| TEST (InteractiveWireRouterTest, BendAndEdgeUseLibavoidConstraints) | |
| TEST (InteractiveWireRouterTest, BranchFollowsDraggedTrunkEdge) | |
| TEST (InteractiveWireRouterTest, DraggingBranchEndpointLeavesTrunkInPlace) | |
| TEST (InteractiveWireRouterTest, DraggingBranchFromSplitTrunkLeavesBothArmsInPlace) | |
| TEST (InteractiveWireRouterTest, DraggingDetachedEndpointBackOntoWire) | |
| TEST (InteractiveWireRouterTest, TerminalEdgeAddsDoglegWithoutMovingTerminals) | |
| TEST (InteractiveWireRouterTest, EdgeDragKeepsComponentPinsAttached) | |
| TEST (InteractiveWireRouterTest, DragLeavesAnotherNetFixed) | |
| TEST (InteractiveWireRouterTest, PreviewsAlwaysStartFromOriginalGeometry) | |
| TEST (InteractiveWireRouterTest, MovedPortKeepsFanoutJunctionAttached) | |
| TEST (WireRoutingTest, NormalizationPreservesIntentionalRetracedEdges) | |
| TEST (WireRoutingTest, SelfIntersectionAllowsConnectedBendsButRejectsCrossings) | |
| TEST (WireRoutingTest, DetectsOnlyObstacleInteriorCrossings) | |
| TEST (LibavoidTest, RoutesAroundObstacle) | |
| TEST (LibavoidTest, CoincidentEndpointsKeepTheirOwnDirections) | |
| TEST (LibavoidTest, DensePinnedRowsKeepTerminalsAndAvoidObstacles) | |
| TEST (LibavoidTest, DenseGridRoutesRemainCompleteAcrossTransactions) | |
| TEST (WireRoutingTest, RoutesAroundBufferedObstacle) | |
| TEST (WireRoutingTest, ConnectsPortsInsideBufferedComponentBounds) | |
| TEST (WireRoutingTest, RoutesVerticalPairsAroundBufferedObstacle) | |
| TEST (WireRoutingTest, CanonicalizesDuplicateAndCollinearPoints) | |
| TEST (WireRoutingTest, DetectsOnlyPositiveLengthSharedSegments) | |
| TEST (WireRoutingTest, DetectsAmbiguousEndpointJunctionsButAllowsCrossovers) | |
| TEST (WireRoutingTest, SharesPointTouchCrossingAndJunctionGeometry) | |
| TEST (LibavoidHyperedgeTest, RoutesFanoutAsJunctionTree) | |
| TEST (LibavoidHyperedgeTest, ReportsEveryRegisteredNetAfterRouting) | |
| TEST (LibavoidHyperedgeTest, DenseFanoutConnectsEveryTerminal) | |
| TEST (LibavoidHyperedgeTest, NudgesDistinctNetsApartAfterGridSnapping) | |
| TEST (LibavoidHyperedgeTest, ReservesFixedEndpointStubsBeforeSeparatingGroups) | |
| TEST (LibavoidHyperedgeTest, SeparatesFixedPinBranchesIndependently) | |
| TEST (LibavoidHyperedgeTest, ReroutesBetweenOppositeTerminalEscapeCorridors) | |
| TEST (LibavoidHyperedgeTest, RejectsDistinctNetsWithAnImmovableSharedTerminal) | |
| TEST (LibavoidTest, DirectionalPointEndpointsRemainAtGraphicalPorts) | |
| TEST (LibavoidTest, CentersFacingPortDoglegWhenChannelIsClear) | |
| TEST (LibavoidTest, DoesNotCenterFacingPortDoglegThroughObstacle) | |
| TEST (LibavoidTest, ShapePinRoutesRetainExactPinCoordinates) | |
| TEST (LibavoidHyperedgeTest, RoutesCrossCoupledLatchWithoutSharedNetSegments) | |
| TEST (WireRoutingTest, MergesFanoutIntoTerminalToJunctionSegments) | |
| TEST (WireRoutingTest, RejectsClosedInputRoutes) | |
| TEST (WireRoutingTest, KeepsComponentTerminalsAsPathEndpoints) | |
| TEST (WireRoutingTest, RemovesRedundantCyclesBeforeExtractingPaths) | |
| TEST (WireRoutingTest, RemovesRetracedSpursWithoutCreatingCrossNetJunctions) | |
| TEST (LibavoidQtGeomTypesTest, ConvertsPoint) | |
| TEST (LibavoidQtGeomTypesTest, ConvertsRectangleAndBox) | |
| TEST (LibavoidQtGeomTypesTest, ConvertsPolygon) | |
| TEST (LibavoidCancellation, SearchCleansUpAndCanRetry) | |
| TEST (LibavoidCancellation, SeparationRestoresCompleteRoutes) | |
| TEST (WireRouteMerging, CancellationDiscardsPartialGeometry) | |
| TEST | ( | InteractiveWireRouterTest | , |
| BendAndEdgeUseLibavoidConstraints | ) |
Definition at line 206 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| BranchFollowsDraggedTrunkEdge | ) |
Definition at line 222 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| DraggingBranchEndpointLeavesTrunkInPlace | ) |
Definition at line 234 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| DraggingBranchFromSplitTrunkLeavesBothArmsInPlace | ) |
Definition at line 247 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| DraggingDetachedEndpointBackOntoWire | ) |
Definition at line 262 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| DragLeavesAnotherNetFixed | ) |
Definition at line 297 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| EdgeDragKeepsComponentPinsAttached | ) |
Definition at line 284 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| MovedPortKeepsFanoutJunctionAttached | ) |
Definition at line 324 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| MovingComponentCannotRerouteUnattachedWire | ) |
Definition at line 182 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| MovingComponentKeepsTwoAttachedWiresAtTheirPorts | ) |
Definition at line 132 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| MovingComponentLeavesOtherNetFixed | ) |
Definition at line 191 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| MovingPinnedComponentReroutesItsWire | ) |
Definition at line 117 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| PinnedPortInsidePaintBoundsStillMoves | ) |
Definition at line 152 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| PortOutsideCollisionBoundsKeepsItsPosition | ) |
Definition at line 165 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| PreviewsAlwaysStartFromOriginalGeometry | ) |
Definition at line 308 of file libavoid.cpp.
| TEST | ( | InteractiveWireRouterTest | , |
| TerminalEdgeAddsDoglegWithoutMovingTerminals | ) |
Definition at line 274 of file libavoid.cpp.
| TEST | ( | LibavoidCancellation | , |
| SearchCleansUpAndCanRetry | ) |
Definition at line 1249 of file libavoid.cpp.
| TEST | ( | LibavoidCancellation | , |
| SeparationRestoresCompleteRoutes | ) |
Definition at line 1266 of file libavoid.cpp.
| TEST | ( | LibavoidHyperedgeTest | , |
| DenseFanoutConnectsEveryTerminal | ) |
Definition at line 705 of file libavoid.cpp.
| TEST | ( | LibavoidHyperedgeTest | , |
| NudgesDistinctNetsApartAfterGridSnapping | ) |
Definition at line 748 of file libavoid.cpp.
| TEST | ( | LibavoidHyperedgeTest | , |
| RejectsDistinctNetsWithAnImmovableSharedTerminal | ) |
Definition at line 899 of file libavoid.cpp.
| TEST | ( | LibavoidHyperedgeTest | , |
| ReportsEveryRegisteredNetAfterRouting | ) |
Definition at line 681 of file libavoid.cpp.
| TEST | ( | LibavoidHyperedgeTest | , |
| ReroutesBetweenOppositeTerminalEscapeCorridors | ) |
Definition at line 862 of file libavoid.cpp.
| TEST | ( | LibavoidHyperedgeTest | , |
| ReservesFixedEndpointStubsBeforeSeparatingGroups | ) |
Definition at line 787 of file libavoid.cpp.
| TEST | ( | LibavoidHyperedgeTest | , |
| RoutesCrossCoupledLatchWithoutSharedNetSegments | ) |
Definition at line 1027 of file libavoid.cpp.
| TEST | ( | LibavoidHyperedgeTest | , |
| RoutesFanoutAsJunctionTree | ) |
Definition at line 652 of file libavoid.cpp.
| TEST | ( | LibavoidHyperedgeTest | , |
| SeparatesFixedPinBranchesIndependently | ) |
Definition at line 830 of file libavoid.cpp.
| TEST | ( | LibavoidQtGeomTypesTest | , |
| ConvertsPoint | ) |
Definition at line 1202 of file libavoid.cpp.
| TEST | ( | LibavoidQtGeomTypesTest | , |
| ConvertsPolygon | ) |
Definition at line 1221 of file libavoid.cpp.
| TEST | ( | LibavoidQtGeomTypesTest | , |
| ConvertsRectangleAndBox | ) |
Definition at line 1212 of file libavoid.cpp.
| TEST | ( | LibavoidTest | , |
| CentersFacingPortDoglegWhenChannelIsClear | ) |
Definition at line 944 of file libavoid.cpp.
| TEST | ( | LibavoidTest | , |
| CoincidentEndpointsKeepTheirOwnDirections | ) |
Definition at line 403 of file libavoid.cpp.
| TEST | ( | LibavoidTest | , |
| DenseGridRoutesRemainCompleteAcrossTransactions | ) |
Definition at line 488 of file libavoid.cpp.
| TEST | ( | LibavoidTest | , |
| DensePinnedRowsKeepTerminalsAndAvoidObstacles | ) |
Definition at line 428 of file libavoid.cpp.
| TEST | ( | LibavoidTest | , |
| DirectionalPointEndpointsRemainAtGraphicalPorts | ) |
Definition at line 912 of file libavoid.cpp.
| TEST | ( | LibavoidTest | , |
| DoesNotCenterFacingPortDoglegThroughObstacle | ) |
Definition at line 963 of file libavoid.cpp.
| TEST | ( | LibavoidTest | , |
| RoutesAroundObstacle | ) |
Definition at line 372 of file libavoid.cpp.
| TEST | ( | LibavoidTest | , |
| ShapePinRoutesRetainExactPinCoordinates | ) |
Definition at line 985 of file libavoid.cpp.
| TEST | ( | WireRouteMerging | , |
| CancellationDiscardsPartialGeometry | ) |
Definition at line 1283 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| CanonicalizesDuplicateAndCollinearPoints | ) |
Definition at line 598 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| ConnectsPortsInsideBufferedComponentBounds | ) |
Definition at line 563 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| DetectsAmbiguousEndpointJunctionsButAllowsCrossovers | ) |
Definition at line 624 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| DetectsOnlyObstacleInteriorCrossings | ) |
Definition at line 363 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| DetectsOnlyPositiveLengthSharedSegments | ) |
Definition at line 610 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| KeepsComponentTerminalsAsPathEndpoints | ) |
Definition at line 1167 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| MergesFanoutIntoTerminalToJunctionSegments | ) |
Definition at line 1140 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| NormalizationPreservesIntentionalRetracedEdges | ) |
Definition at line 341 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| RejectsClosedInputRoutes | ) |
Definition at line 1160 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| RemovesRedundantCyclesBeforeExtractingPaths | ) |
Definition at line 1176 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| RemovesRetracedSpursWithoutCreatingCrossNetJunctions | ) |
Definition at line 1193 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| RoutesAroundBufferedObstacle | ) |
Definition at line 542 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| RoutesVerticalPairsAroundBufferedObstacle | ) |
Definition at line 578 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| SelfIntersectionAllowsConnectedBendsButRejectsCrossings | ) |
Definition at line 349 of file libavoid.cpp.
| TEST | ( | WireRoutingTest | , |
| SharesPointTouchCrossingAndJunctionGeometry | ) |
Definition at line 638 of file libavoid.cpp.