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