Skip to content
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

Add test cases from the case study regarding transitive change propagation #84

Merged
merged 107 commits into from
Jan 7, 2021

Conversation

tsaglam
Copy link
Member

@tsaglam tsaglam commented Nov 25, 2020

This PR adds the test project that tests the transitive change propagation with a network of transformations (change propagation specification) between PCM, UML Class, and Java. The test cases are based on the PCM and UML Class test cases but they are extended to check whether the Java code is consistent as well. As the case study did not fix all the discovered issues, some test cases are executed with the linear network, meaning PCM ↔︎ UML ↔︎ Java.

These are the test cases using the linear network right now:

  • AttributeConceptTest
  • SignatureConceptTest
  • ParameterConceptTest
  • RequiredRoleConceptTest

These are the test cases using the fully connected network:

  • AssemblyContextConceptTest
  • CompositeDataTypeConceptTest
  • InterfaceConceptTest
  • ProvidedRoleTest
  • RepositoryComponentConceptTest
  • RepositoryConceptTest
  • SystemConceptTest

…ion between UML and Java. Added some helper methods for Java checks. Defined constant for user input.
…ed the functionality of the PCM UML test class.
…s, used the new class for existing test cases.
…odels that do not hold true during the test cases, even when executed correctly (UML interface method is NOT always abstract).
… with Java type references that actually is able to compare collection types.
@tsaglam tsaglam marked this pull request as ready for review January 7, 2021 11:16
@tsaglam tsaglam merged commit 6a3cf26 into vitruv-tools:master Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants