1 19 20 package org.netbeans.lib.java.lexer; 21 22 import org.netbeans.api.java.lexer.JavaTokenId; 23 import org.netbeans.junit.NbTestCase; 24 import org.netbeans.lib.lexer.test.LexerTestUtilities; 25 26 31 public class JavaTokenDumpTest extends NbTestCase { 32 33 public JavaTokenDumpTest(String testName) { 34 super(testName); 35 } 36 37 protected void setUp() throws java.lang.Exception { 38 LexerTestUtilities.setTesting(true); 40 } 41 42 protected void tearDown() throws java.lang.Exception { 43 } 44 45 public void test() throws Exception { 46 LexerTestUtilities.checkTokenDump(this, "testfiles/testInput.java.txt", 47 JavaTokenId.language()); 48 } 49 50 } 51 | Popular Tags |