Searched refs:parseVersionPart (Results 1 – 3 of 3) sorted by relevance
11 assertEquals(13, VersionUtil.parseVersionPart("13")); in testVersionPartParsing()12 assertEquals(27, VersionUtil.parseVersionPart("27.8")); in testVersionPartParsing()13 assertEquals(0, VersionUtil.parseVersionPart("-3")); in testVersionPartParsing()
18 assertEquals(66, VersionUtil.parseVersionPart("66R")); in testParseVersionPartReturningPositive()
131 return new Version(parseVersionPart(parts[0]), in parseVersion()132 (parts.length > 1) ? parseVersionPart(parts[1]) : 0, in parseVersion()133 (parts.length > 2) ? parseVersionPart(parts[2]) : 0, in parseVersion()140 protected static int parseVersionPart(String s) { in parseVersionPart() method in VersionUtil