-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension versioning #85
Conversation
ad8ab79
to
862f297
Compare
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
862f297
to
0b19d6b
Compare
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
include/powsybl/iidm/converter/xml/AbstractExtensionXmlSerializer.hpp
Outdated
Show resolved
Hide resolved
src/iidm/converter/xml/AbstractVersionableExtensionXmlSerializer.cpp
Outdated
Show resolved
Hide resolved
test/iidm/converter/xml/IdentifiableExtensionXmlSerializerTest.cpp
Outdated
Show resolved
Hide resolved
void assertExtendable(const stdcxx::Reference<Extendable>& extendable) const override; | ||
|
||
private: | ||
stdcxx::CReference<Terminal> m_terminal; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like a std::reference_wrapper
can be used instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! Just a few minor changes.
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Please check if the PR fulfills these requirements (please use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)Does this PR already have an issue describing the problem ? If so, link to this issue using
'#XXX'
and skip the rest#28
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature
What is the current behavior? (You can also link to an open issue here)
The extension are always read/write in the current version
What is the new behavior (if this is a feature change)?
This version prepare the support of the versioning in the extension. An extension can now have several XML serialization depending on the version.
We also refactor the IIDM tests to separate the test of the grid model and the test relative to the XIIDM serialization. We also introduce a new extension library with 3 extensions for unit testing.
Does this PR introduce a breaking change or deprecate an API? If yes, check the following:
Other information:
(if any of the questions/checkboxes don't apply, please delete them entirely)