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

review test: improve CtGenerationTest and CtScannerTest #1736

Merged
merged 2 commits into from
Nov 21, 2017

Conversation

surli
Copy link
Collaborator

@surli surli commented Nov 21, 2017

CtGenerationTest and CtScannerTest were buggy with the changes bring by adding roles in CtScanner: if no role were provided, the test were erroring with either a NPE (for CtScannerTest) or an OutOfBoundException (for CtGenerationTest).
This PR throws directly a RuntimeException with a proper message in CtGenerationTest and stack the problem in the list of problems in CtScannerTest.

@surli surli changed the title test: Improve CtGenerationTest by displaying a comprehensive message when role is missing in CtScanner review test: improve CtGenerationTest and CtScannerTest Nov 21, 2017
@pvojtechovsky pvojtechovsky merged commit 47483df into INRIA:master Nov 21, 2017
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.

2 participants