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 unit test for ComposeClassStaticMethodAroundAdvice and ComposeConstructorAdvice (Issue #10958) #13958

Merged
merged 7 commits into from
Dec 20, 2021

Conversation

franco-h
Copy link
Contributor

@franco-h franco-h commented Dec 6, 2021

Fixes #10958.

Changes proposed in this pull request:
-test for clear execution on beforeMethod
-test for clear execution on afterMethod
-test for clear execution on onThrowing
-test for clear execution of onConstructor

…rg/apache/shardingsphere/agent/core/bytebuddy/transformer/ComposeClassStaticMethodAroundAdviceTest.java to shardingsphere-agent/shardingsphere-agent-core/src/test/java/org/apache/shardingsphere/agent/core/bytebuddy/transformer/advice/ComposeClassStaticMethodAroundAdviceTest.java
…rg/apache/shardingsphere/agent/core/bytebuddy/transformer/ComposeConstructorAdviceTest.java to shardingsphere-agent/shardingsphere-agent-core/src/test/java/org/apache/shardingsphere/agent/core/bytebuddy/transformer/advice/ComposeConstructorAdviceTest.java
@menghaoranss
Copy link
Contributor

@franco-h ci build failed.

@franco-h
Copy link
Contributor Author

franco-h commented Dec 7, 2021

@franco-h ci build failed.

Im fixing it. will update soon

@franco-h franco-h changed the title Issue #10958 Add unit test for ComposeClassStaticMethodAroundAdvice and ComposeConstructorAdvice (Issue #10958) Dec 7, 2021
@terrymanu terrymanu added this to the 5.1.0 milestone Dec 20, 2021
@terrymanu terrymanu merged commit fea1c95 into apache:master Dec 20, 2021
@terrymanu terrymanu added the feature: agent shardingsphere agent label Dec 20, 2021
RaigorJiang pushed a commit that referenced this pull request Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: agent shardingsphere agent in: test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add unit test for ComposeClassStaticMethodAroundAdvice and ComposeConstructorAdvice
3 participants