use of org.eclipse.wst.sse.core.internal.text.CharSequenceReader in project webtools.sourceediting by eclipse.
the class TestCharSequenceReader method testStandardEnd.
public void testStandardEnd() {
CharSequenceReader reader = new CharSequenceReader(fStandardString, 4, 3);
char char1 = (char) reader.read();
assertTrue(char1 == '1');
char char2 = (char) reader.read();
assertTrue(char2 == '2');
char char3 = (char) reader.read();
assertTrue(char3 == '3');
int eof = reader.read();
assertTrue(eof == -1);
}
Aggregations