1 9 10 package org.netbeans.modules.ruby; 11 12 import org.netbeans.modules.ruby.lexer.RubyCommentTokenId; 13 import org.netbeans.junit.NbTestCase; 14 import org.netbeans.lib.lexer.test.LexerTestUtilities; 15 16 20 public class RubyCommentLexerTest extends NbTestCase { 21 22 public RubyCommentLexerTest(String testName) { 23 super(testName); 24 } 25 26 protected void setUp() throws java.lang.Exception { 27 LexerTestUtilities.setTesting(true); 29 } 30 31 protected void tearDown() throws java.lang.Exception { 32 } 33 34 public void test() throws Exception { 35 LexerTestUtilities.checkTokenDump(this, "testfiles/testComments.rb.txt", 36 RubyCommentTokenId.language()); 37 } 38 } 39 | Popular Tags |