Skip to content

Add unit test for ComposeClassStaticMethodAroundAdvice and ComposeConstructorAdvice (Issue #10958)#13958

Merged
terrymanu merged 7 commits into
apache:masterfrom
franco-h:Issue-#10958
Dec 20, 2021
Merged

Add unit test for ComposeClassStaticMethodAroundAdvice and ComposeConstructorAdvice (Issue #10958)#13958
terrymanu merged 7 commits into
apache:masterfrom
franco-h:Issue-#10958

Conversation

@franco-h

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

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

@franco-h ci build failed.

@franco-h

franco-h commented Dec 7, 2021

Copy link
Copy Markdown
Contributor Author

@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