1 9 10 package org.netbeans.modules.ruby; 11 12 import org.netbeans.modules.ruby.lexer.RubyStringTokenId; 13 import org.netbeans.junit.NbTestCase; 14 import org.netbeans.lib.lexer.test.LexerTestUtilities; 15 16 20 public class RubyStringLexerTest extends NbTestCase { 21 22 public RubyStringLexerTest(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/testStrings.rb.txt", 36 RubyStringTokenId.languageDouble()); 37 } 38 } 39 | Popular Tags |