Skip to content

Merge TransactionPropagationIT into TransactionalMethodIT#121

Open
Ayushman-Gaur wants to merge 1 commit into
jqassistant-plugin:masterfrom
Ayushman-Gaur:merging-file
Open

Merge TransactionPropagationIT into TransactionalMethodIT#121
Ayushman-Gaur wants to merge 1 commit into
jqassistant-plugin:masterfrom
Ayushman-Gaur:merging-file

Conversation

@Ayushman-Gaur
Copy link
Copy Markdown

Closes #120

Changes

  • Moved propagationOnTypeAndMethodLevel and propagationOnMethodLevel
    test methods from TransactionPropagationIT into TransactionalMethodIT
  • Added missing imports to TransactionalMethodIT
  • Deleted TransactionPropagationIT as it no longer contains any unique test coverage

Testing

All tests pass successfully (exit code 0)

Signed-off-by: Ayushman Gaur <ayushmangaur2017@gmail.com>
@cl90 cl90 self-requested a review March 10, 2026 07:20
SimpleClassWithTransactionalMethod.class, CallingSubClassOfSimpleClassWithTransactionalMethod.class,
GenericTransactionalClass.class, CallingSubClassOfGenericTransactionalClass.class,
GenericClassWithTransactionalMethod.class, CallingSubClassOfGenericClassWithTransactionalMethod.class);
assertThat(applyConcept("spring-transaction:TransactionalMethod").getStatus()).isEqualTo(SUCCESS);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your contribution.

Please modify this test so it verifies the result of applyConcept as well. The result should contain the (declaring) type, the transactionalMethod and the transactionPropagation.

You can you can you use these tests as a reference how to handle conceptResults: https://github.com/jqassistant-plugin/jqassistant-jee-plugin/blob/main/src/test/java/org/jqassistant/plugin/jee/transaction/concept/TransactionPropagationIT.java

The tests that you have correctly moved here only cover some special cases.

The main branch has changed in the meantime, so I recommend rebasing you branch first 👍

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.

Merge TransactionPropagationIT into TransactionalMethodIT

2 participants