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 test cases for lyric/note related change handler. #1121

Merged

Conversation

andy840119
Copy link
Member

It's the first step of adding test cases for the change handlers.
Also fix the issue #1116.

for testing change handler behavior.
.
Base class inherit test scene is because change handler needs the DI.
Also, mark the base class as headless because we do not want this class appear into visual tests.

note:
do not use AddAssert() because it might be hard to get the expected and actual number.
also fix the relative errors.
also fix the relative errors.
.
notice that change handler does not care order in time-tag property.
just make sure that will re-sort the order in the serializer.
@andy840119 andy840119 added code quality Improve code quality. editor Karaoke ruleset's editor area labels Feb 13, 2022
@andy840119 andy840119 added this to the 2022.0312 milestone Feb 13, 2022
@andy840119 andy840119 merged commit 5df2006 into karaoke-dev:master Feb 13, 2022
@andy840119 andy840119 deleted the add-test-case-to-the-changre-handler branch February 13, 2022 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Improve code quality. editor Karaoke ruleset's editor area size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant