Class AbstractTokenizerTest
- java.lang.Object
-
- net.sourceforge.pmd.testframework.AbstractTokenizerTest
-
public abstract class AbstractTokenizerTest extends Object
- Author:
- Romain PELISSE, [email protected]
-
-
Field Summary
Fields Modifier and Type Field Description protected int
expectedTokenCount
protected SourceCode
sourceCode
protected Tokenizer
tokenizer
-
Constructor Summary
Constructors Constructor Description AbstractTokenizerTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
buildTokenizer()
abstract String
getSampleCode()
protected void
tokenizeTest()
-
-
-
Field Detail
-
expectedTokenCount
protected int expectedTokenCount
-
tokenizer
protected Tokenizer tokenizer
-
sourceCode
protected SourceCode sourceCode
-
-
Method Detail
-
buildTokenizer
public abstract void buildTokenizer() throws IOException
- Throws:
IOException
-
getSampleCode
public abstract String getSampleCode() throws IOException
- Throws:
IOException
-
tokenizeTest
protected void tokenizeTest() throws IOException
- Throws:
IOException
-
-