junit protocol consistency (IDEA-97858)

This commit is contained in:
anna
2012-12-19 21:00:41 +01:00
parent 2e46bf4c2a
commit c5d85067d0
5 changed files with 23 additions and 18 deletions
@@ -62,6 +62,11 @@ public class SegmentReader {
return Integer.parseInt(intString);
}
public long readLong() {
final String longString = upTo(PoolOfDelimiters.INTEGER_DELIMITER);
return Long.parseLong(longString);
}
public char readChar() {
myPosition++;
return myChars[myPosition - 1];