Skip to content

Make LargeInputTest run much faster by faking the scanner position#647

Merged
regisd merged 2 commits intojflex-de:masterfrom
regisd:LargeContentTest
Dec 3, 2019
Merged

Make LargeInputTest run much faster by faking the scanner position#647
regisd merged 2 commits intojflex-de:masterfrom
regisd:LargeContentTest

Conversation

@regisd
Copy link
Member

@regisd regisd commented Dec 3, 2019

Introduce a fakeRead() that changes yychar so that we can fakely jump to yychar just before Integer.MAX_VALUE and make the test run in a snap.

Follow-up of #603 and #605

Introduce a fakeRead() that changes `yychar` so that we can fakely jump to yychar just before Integer.MAX_VALUE and make the test run in a snap.

Follow-up of jflex-de#603 and jflex-de#605
@regisd regisd added the testing Adding tests or test infrastructure. label Dec 3, 2019
@regisd regisd requested a review from lsf37 as a code owner December 3, 2019 16:46
@regisd regisd self-assigned this Dec 3, 2019
@regisd regisd merged commit 4afcc74 into jflex-de:master Dec 3, 2019
@regisd regisd deleted the LargeContentTest branch December 3, 2019 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Adding tests or test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant