(String str)
| 11 | public class JSLexerTest { |
| 12 | |
| 13 | protected Token lex(String str) throws IOException { |
| 14 | StringReader reader = new StringReader(str); |
| 15 | CircularCharBuffer buf = new CircularCharBuffer(reader, 5); |
| 16 | Lexer lexer = new Lexer(buf); |
| 17 | Token t = lexer.nextToken(); |
| 18 | return t; |
| 19 | } |
| 20 | |
| 21 | @Test |
| 22 | public void testPunctuation() throws IOException { |
no test coverage detected