StubClassConstantParserTest
class StubClassConstantParserTest extends TestCase (View source)
Tests for parsing class constants (not global constants).
Tests visibility modifiers (public/protected/private) and final flag. Uses StubClassParser which internally uses StubConstantParser.
Methods
void
setUp()
No description
testItReturnsCorrectInstance()
No description
testItCanParseConstantName()
No description
testItCanParsePublicVisibility()
No description
testItCanParseProtectedVisibility()
No description
testItCanParsePrivateVisibility()
No description
testItCanParseFinalModifier()
No description
testItParsesNonFinalByDefault()
No description
testItParsesPublicByDefaultForOldStyleConstants()
No description
testItParsesAllConstantsFromClass()
No description
testItParsesAllConstantsValuesFromClass()
No description
testItParsesVisibilityCorrectly()
No description
testItParsesCombinedModifiers()
No description
testItParsesNumericConstantValues()
No description
Details
protected void
setUp()
No description
testItReturnsCorrectInstance()
No description
testItCanParseConstantName()
No description
testItCanParsePublicVisibility()
No description
testItCanParseProtectedVisibility()
No description
testItCanParsePrivateVisibility()
No description
testItCanParseFinalModifier()
No description
testItParsesNonFinalByDefault()
No description
testItParsesPublicByDefaultForOldStyleConstants()
No description
testItParsesAllConstantsFromClass()
No description
testItParsesAllConstantsValuesFromClass()
No description
testItParsesVisibilityCorrectly()
No description
testItParsesCombinedModifiers()
No description
testItParsesNumericConstantValues()
No description