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

fix: add tts unit test #1122

Merged
merged 17 commits into from
Dec 13, 2023
Merged

fix: add tts unit test #1122

merged 17 commits into from
Dec 13, 2023

Conversation

jessielw
Copy link
Collaborator

fixes #1102

…o that this can be caused by the unit tests as well

refactor: added some variables to check if the queue is empty and the length of it
refactor: make _queue public queue
test/models/tts_test.dart Outdated Show resolved Hide resolved
test/models/tts_test.dart Outdated Show resolved Hide resolved
@SputNikPlop SputNikPlop changed the title TTS Unit test fix: add tts unit test Nov 28, 2023
pubspec.yaml Outdated Show resolved Hide resolved
pubspec.yaml Outdated Show resolved Hide resolved
test/models/tts_test.dart Outdated Show resolved Hide resolved
test/models/tts_test.dart Outdated Show resolved Hide resolved
jessielw and others added 3 commits November 30, 2023 13:35
Co-authored-by: Kevin Wang <kevmo314@gmail.com>
refactor: still a WIP (final test is still broken), cannot get last test to work properly or for the flutter test to interact with the method channel, it will never go into the handler.
@kevmo314
Copy link
Contributor

kevmo314 commented Dec 1, 2023

@jessielw
Copy link
Collaborator Author

jessielw commented Dec 1, 2023

Tests seem to fail on CI? https://github.com/muxable/rtchat/actions/runs/7051914298/job/19195849795?pr=1122

Yes, I'm going to try to sort that last test without the use of mockito today so that we're passing. The last push I did was broken.

@jessielw jessielw merged commit 962bc5f into main Dec 13, 2023
4 checks passed
@jessielw jessielw deleted the tts-unit-test branch December 13, 2023 15:09
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.

Add unit tests for the circular buffer
3 participants