Skip to content

Added PropertyCopier test case #3228

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

Merged

Conversation

tianchangxin
Copy link
Contributor

When I read the PropertyCopier class in the reflection package, I wanted to test, but there was no test class, so I added the corresponding test class

@tianchangxin
Copy link
Contributor Author

Added PropertyCopier test case

…' into ref_add_propertyCopier_test_case

# Conflicts:
#	src/test/java/org/apache/ibatis/reflection/property/PropertyCopierTest.java
#	src/test/java/org/apache/ibatis/reflection/property/SourceBeanTestClass.java
@hazendaz
Copy link
Member

@tianchangxin Can you rename the class file used for the test? I'd prefer 'Test' and 'Class' not be in the name. Not sure on a good naming otherwise but best not to repeat class or have test in it generally.

@hazendaz hazendaz self-assigned this Sep 13, 2024
@coveralls
Copy link

coveralls commented Sep 13, 2024

Coverage Status

coverage: 87.153% (-0.02%) from 87.175%
when pulling 2b24dfa on tianchangxin:ref_add_propertyCopier_test_case
into f064b71 on mybatis:master.

@tianchangxin
Copy link
Contributor Author

@tianchangxin Can you rename the class file used for the test? I'd prefer 'Test' and 'Class' not be in the name. Not sure on a good naming otherwise but best not to repeat class or have test in it generally.

Thank you for your reply. I will make some modifications

@tianchangxin
Copy link
Contributor Author

@hazendaz The naming has been modified, please help with the code review

@hazendaz hazendaz merged commit 42b7faf into mybatis:master Sep 14, 2024
19 checks passed
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.

3 participants