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

Junit 4 @After is not taken into account #77

Open
tmortagne opened this issue Sep 11, 2018 · 0 comments
Open

Junit 4 @After is not taken into account #77

tmortagne opened this issue Sep 11, 2018 · 0 comments

Comments

@tmortagne
Copy link
Contributor

tmortagne commented Sep 11, 2018

In the module xwiki-platform-observation-remote.

According the attachment report the test org.xwiki.observation.remote.TCPROMTest.testSerializableEvent is not failing when the method DefaultEventConverterManager#createRemoteEventData content is replaced by return null. Well I did just that and the test fail as expected.

What is special about that test is that it's not testSerializableEvent method which is failing but tearDown() which trigger jmock validation (it make sure that some methods have been called during the test).

@tmortagne tmortagne changed the title Junit 4 rules don't seems to be properly supported Junit 4 rules don't seems to be properly supported (when they validate stuff right after test execution) Sep 11, 2018
@tmortagne tmortagne changed the title Junit 4 rules don't seems to be properly supported (when they validate stuff right after test execution) Junit 4 tearDown is not taken into account Sep 11, 2018
@tmortagne tmortagne changed the title Junit 4 tearDown is not taken into account Junit 4 @Afte is not taken into account Sep 11, 2018
@tmortagne tmortagne changed the title Junit 4 @Afte is not taken into account Junit 4 @After is not taken into account Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants