Skip to content

Commit 46bef9d

Browse files
committed
tests: retire transitional incomplete IEC 61869-9 expectation
P1.2 now has standards-backed dataset/profile authority, so a generic Amp/Vol stream explicitly selected as IEC 61869-9 is Class C rather than an inspectable incomplete family. Keep the earlier P1.1 transitional behavior from becoming a regression requirement. Tracks #144.
1 parent 37c5a67 commit 46bef9d

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

‎tests/test_scl.cpp‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -465,14 +465,13 @@ void sampled_values_profile_family_and_transport_are_explicit() {
465465

466466
context.profile_family = SvProfileFamily::iec61869_9;
467467
const auto iec61869 = SvPublisherProfileCompiler::compile(source, context);
468-
CHECK(iec61869.ok());
469-
CHECK(iec61869.profile.has_value());
470-
CHECK(iec61869.profile->profile_family_resolution ==
471-
SvProfileFamilyResolution::incomplete);
468+
CHECK(!iec61869.ok());
469+
CHECK(!iec61869.profile.has_value());
472470
CHECK(std::any_of(
473-
iec61869.warnings.begin(), iec61869.warnings.end(),
474-
[](const std::string& warning) {
475-
return warning.find("deployment remains blocked") != std::string::npos;
471+
iec61869.errors.begin(), iec61869.errors.end(),
472+
[](const std::string& error) {
473+
return error.find("TCTR.AmpSv.instMag.i or TVTR.VolSv.instMag.i") !=
474+
std::string::npos;
476475
}));
477476

478477
context.profile_family = SvProfileFamily::unspecified;

0 commit comments

Comments
 (0)