OpenSTA/search/test/cpp
Jaehyun Kim 3ca78b11c8 Adapt test files to upstream API changes (string_view migration)
Update 16 test files to match upstream OpenSTA API refactoring:
- const char* → std::string/std::string_view across all test APIs
- EXPECT_STREQ → EXPECT_EQ for std::string/string_view returns
- nullptr → "" for string_view parameters (makeClock, makeClockGroups, etc.)
- PropertyValue("literal") → PropertyValue(std::string("literal")) to avoid
  bool constructor overload resolution
- Method renames: relatedGroundPin→relatedGroundPort,
  relatedPowerPin→relatedPowerPort, firstName→firstParam,
  secondName→secondParam
- Constructor changes: OperatingConditions (5-arg → 1-arg + setters),
  ModeDef::defineValue (3-arg → 1-arg + setSdfCond)
- LibertyAttrValue::floatValue returns std::pair<float,bool> now
- Filter API: separate args → single expression string + bool_props_as_int
- SDF version golden files: 3.0.1 → 3.1.0

All 6104 tests pass.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-31 16:34:40 +09:00
..
CMakeLists.txt test: Add comprehensive test infrastructure and test cases across all OpenSTA modules 2026-02-27 12:59:25 +09:00
TestSearchClasses.cc update test infra 2 2026-03-30 21:49:10 +00:00
TestSearchIncremental.cc Adapt test files to upstream API changes (string_view migration) 2026-03-31 16:34:40 +09:00
TestSearchStaDesign.cc Adapt test files to upstream API changes (string_view migration) 2026-03-31 16:34:40 +09:00
TestSearchStaDesignB.cc Adapt test files to upstream API changes (string_view migration) 2026-03-31 16:34:40 +09:00
TestSearchStaInit.cc Adapt test files to upstream API changes (string_view migration) 2026-03-31 16:34:40 +09:00
TestSearchStaInitB.cc Adapt test files to upstream API changes (string_view migration) 2026-03-31 16:34:40 +09:00