Github Bot
Poster of Commits
Language Server - Locations - Function (#210)
* ValidScriptDataWithLocationTests
* helper method
* include xtext.xbase.lib during tests
not needed for the tests to succeed.
HOWEVER, if a test including a Location/Range/Position FAILS, it needs
xtext/xbase/lib/util/ToStringBuilder to print the error,
otherwise the error is a NoClassDefFoundError, making the failed test incomprehensible.
* give a toString to ScriptData
* tweak assertLocationEquals
Range.equals(Object) checks for the exact class, so we need to make sure
we don't submit it a Token
* spotless...
* Function locations
* Description of the location in the test
View on Github
* ValidScriptDataWithLocationTests
* helper method
* include xtext.xbase.lib during tests
not needed for the tests to succeed.
HOWEVER, if a test including a Location/Range/Position FAILS, it needs
xtext/xbase/lib/util/ToStringBuilder to print the error,
otherwise the error is a NoClassDefFoundError, making the failed test incomprehensible.
* give a toString to ScriptData
* tweak assertLocationEquals
Range.equals(Object) checks for the exact class, so we need to make sure
we don't submit it a Token
* spotless...
* Function locations
* Description of the location in the test
View on Github