You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
Actually I'd say this is a rather bad idea. If the javac output itself changes on you, your tests will fail to show that anything is wrong (For example in linter-php I saw that PHP7 had fixed a bug in the output that I was unintentionally relying on to parse the output).
Absolutely true - i stumbled over that, too. On the other hand i'd like to be able to test against formal stderr-outputs.
To get around that problem i would add a stderr-log per every issued compiler-version. I mean we rely on the formal javac output since this plugin exists and nothing changed there, yet. I consider the risk as being low.
Additionally i could add a test which does run the compiler checks for version and bug-formatting.
The helper.exec()-function should be stubbed or mocked to remove the test-dependency on a installed java-env.
Edit:
Stderr-outputs for Mac javac_1.8.0_74 are already provided in the fixture-directory.
The text was updated successfully, but these errors were encountered: