update swig file to not use deprecated api and not test it either

Signed-off-by: dsengupta0628 <[email protected]>
This commit is contained in:
dsengupta0628
2026-03-31 15:50:43 +00:00
parent fe61456df6
commit b37b37e0d9
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -4407,7 +4407,7 @@ TEST_F(SdcInitTest, SdcSwapDeratingFactors) {
// Sdc: deleteDeratingFactors
// Sdc: allInputs/allOutputs
// Sdc: findClocksMatching
// Sdc: isGroupPathName
// Sdc: isGroupPathName (deprecated) and isPathGroupName
TEST_F(SdcInitTest, SdcIsGroupPathNameEmpty) {
Sdc *sdc = sta_->cmdSdc();
// Suppress deprecation warning -- we intentionally test deprecated API
@@ -4418,6 +4418,10 @@ TEST_F(SdcInitTest, SdcIsGroupPathNameEmpty) {
EXPECT_FALSE(is_group);
}
TEST_F(SdcInitTest, SdcIsPathGroupNameEmpty) {
EXPECT_FALSE(sta_->isPathGroupName("nonexistent", sta_->cmdSdc()));
}
// Sdc: setVoltage
TEST_F(SdcInitTest, SdcSetVoltageGlobal) {
ASSERT_NO_THROW(( [&](){